Skip to content

[codex] Polish landing page design#661

Open
riderx wants to merge 5 commits into
mainfrom
codex/landing-design-polish
Open

[codex] Polish landing page design#661
riderx wants to merge 5 commits into
mainfrom
codex/landing-design-polish

Conversation

@riderx
Copy link
Copy Markdown
Member

@riderx riderx commented May 10, 2026

Summary

  • Tighten homepage outcome card spacing, icon treatment, and text measure.
  • Polish blog listing cards, article header spacing, and related-post grid rhythm.
  • Polish plugin directory/detail cards and mobile app feature cards.
  • Fix plugin docs slug initialization so plugin pages render at runtime.

Screenshot

Landing design polish

Validation

  • bunx prettier --write apps/web/src/components/Hero.astro apps/web/src/components/Blog.astro apps/web/src/components/BlogListing.astro 'apps/web/src/pages/blog/[slug].astro' apps/web/src/pages/plugins.astro 'apps/web/src/pages/plugins/[slug].astro' apps/web/src/pages/app_mobile.astro apps/web/src/services/pluginDocs.ts
  • bun run check
  • Headless browser sanity on /, /app_mobile/, /plugins/, /plugins/capacitor-updater/, and /blog/ at mobile and desktop widths; no horizontal overflow.

Summary by CodeRabbit

  • Style
    • Updated blog cards, listing, and post layouts with refreshed spacing, typography, badges, and hover effects
    • Redesigned hero Features Bar and feature tiles with new gradients, icon treatments, and tighter spacing
    • Restyled plugins directory and feature grid cards to a lighter glass-style aesthetic with improved hover/border behavior
  • Copy
    • Revised several hero and site copy lines, including the blog description and outcome messaging

Review Change Stack

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 10, 2026

Warning

Rate limit exceeded

@riderx has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 9 minutes and 9 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 1950f341-3445-4f50-b095-ed50de5837b5

📥 Commits

Reviewing files that changed from the base of the PR and between 3c108bd and dbc2695.

📒 Files selected for processing (2)
  • apps/shared/copy/messages.ts
  • apps/web/src/components/BlogListing.astro
📝 Walkthrough

Walkthrough

This PR updates Tailwind classes and layout across many site components and pages: blog cards/listing, hero and features bar, feature tiles, blog post pages, plugin directory/detail pages, shared copy, and small service reordering. No functional APIs or exported typings changed.

Changes

Website Design System Refresh

Layer / File(s) Summary
Copy & Config
apps/shared/copy/messages.ts, apps/web/src/config/app.ts
Static copy entries updated and blogDescription value shortened; these feed runtime config and structured data.
Blog Card & Listing
apps/web/src/components/Blog.astro, apps/web/src/components/BlogListing.astro
Blog card wrapper, image, tag badge, date/title typography updated; listing container padding, filter pill styling, and grid gap adjusted.
Hero & Features Bar
apps/web/src/components/Hero.astro
Hero padding/subtitle/CTA spacing changed; Features Bar wrapper and three feature items restyled (gradient, shadow, icon containers, typography).
ProblemSolution Component
apps/web/src/components/ProblemSolution.astro
Section padding reduced; card radii and internal timeline/chat vertical spacing tightened.
App Mobile Feature Tiles
apps/web/src/pages/app_mobile.astro
Six feature tiles restyled from dark theme to glass-style (border-white/10 bg-white/[0.04]), hover/transition behavior and typography standardized.
Blog Post Page
apps/web/src/pages/blog/[slug].astro
Header/tag chip/time/title/description typography adjusted; main grid spacing, blog image aspect/border, and article container classes updated; related-posts gap increased.
Plugin Directory & Detail Pages
apps/web/src/pages/plugins.astro, apps/web/src/pages/plugins/[slug].astro
Plugin cards and action links restyled; docs/github button variants changed; h1 and stats sizing updated; corner radii normalized to rounded-2xl.
Services (reorder)
apps/web/src/services/pluginDocs.ts
pluginDocsIndexPromise and getPackageSegment moved within file with no logic change.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

Poem

A rabbit hops through styles so bright,
Rounding corners, spacing tight,
Glass tiles glint and badges gleam,
Typography finds its theme—
The site now dances in moonlight. 🐰✨

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The pull request title '[codex] Polish landing page design' directly matches the main objective of the changeset, which involves polishing and refining the visual design of landing page components, blog listings, plugin cards, and related styling updates across multiple pages.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/landing-design-polish

Comment @coderabbitai help to get the list of available commands and usage tips.

@riderx riderx marked this pull request as ready for review May 10, 2026 14:39
@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@riderx
Copy link
Copy Markdown
Member Author

riderx commented May 10, 2026

@coderabbitai review

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 10, 2026

✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (2)
apps/web/src/pages/plugins.astro (1)

278-287: ⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Add aria-hidden to decorative stat SVGs.

The npm/star glyphs next to numeric text are decorative and should be hidden from screen readers.

♿ Suggested patch
-<svg class="mr-1 h-4 w-4" fill="none" viewBox="0 0 24 24" stroke="currentColor">
+<svg aria-hidden="true" class="mr-1 h-4 w-4" fill="none" viewBox="0 0 24 24" stroke="currentColor">
@@
-<svg class="mr-1 h-4 w-4" fill="currentColor" viewBox="0 0 20 20">
+<svg aria-hidden="true" class="mr-1 h-4 w-4" fill="currentColor" viewBox="0 0 20 20">

As per coding guidelines, "Decorative SVGs must have aria-hidden=\"true\"."

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@apps/web/src/pages/plugins.astro` around lines 278 - 287, The two decorative
SVG icons next to numeric stats (the npm/downloads glyph rendered alongside
{formatCount(item.npmDownloads)}/w and the star SVG below it) are missing
aria-hidden and should be hidden from screen readers; update the SVG elements in
the plugins.astro snippet (the SVG with class "mr-1 h-4 w-4" and the following
star SVG with class "mr-1 h-4 w-4") to include aria-hidden="true" (and
optionally role="img" if not needed remove it) so they are treated as decorative
by assistive tech.
apps/web/src/pages/app_mobile.astro (1)

86-180: ⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Mark feature-card SVG icons as decorative.

In this updated grid, the card icons are decorative and should include aria-hidden="true" (and optionally focusable="false") to avoid noisy screen-reader output.

As per coding guidelines, "Decorative SVGs must have aria-hidden=\"true\"."

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@apps/web/src/pages/app_mobile.astro` around lines 86 - 180, The SVG icons
inside each feature card (the inline <svg> elements used in the cards for
test_releases_instantly, manage_channels, deploy_with_confidence,
real_time_statistics, team_collaboration, instant_rollback, etc.) are
decorative; update each <svg> to include aria-hidden="true" (and add
focusable="false" for IE/Edge compatibility) so screen readers ignore them and
they no longer produce noisy output.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Outside diff comments:
In `@apps/web/src/pages/app_mobile.astro`:
- Around line 86-180: The SVG icons inside each feature card (the inline <svg>
elements used in the cards for test_releases_instantly, manage_channels,
deploy_with_confidence, real_time_statistics, team_collaboration,
instant_rollback, etc.) are decorative; update each <svg> to include
aria-hidden="true" (and add focusable="false" for IE/Edge compatibility) so
screen readers ignore them and they no longer produce noisy output.

In `@apps/web/src/pages/plugins.astro`:
- Around line 278-287: The two decorative SVG icons next to numeric stats (the
npm/downloads glyph rendered alongside {formatCount(item.npmDownloads)}/w and
the star SVG below it) are missing aria-hidden and should be hidden from screen
readers; update the SVG elements in the plugins.astro snippet (the SVG with
class "mr-1 h-4 w-4" and the following star SVG with class "mr-1 h-4 w-4") to
include aria-hidden="true" (and optionally role="img" if not needed remove it)
so they are treated as decorative by assistive tech.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 991cb477-9411-402c-8916-d7a43af731ff

📥 Commits

Reviewing files that changed from the base of the PR and between 65e99ce and 8ceba00.

⛔ Files ignored due to path filters (1)
  • .github/pr-screenshots/landing-design-polish.png is excluded by !**/*.png
📒 Files selected for processing (8)
  • apps/web/src/components/Blog.astro
  • apps/web/src/components/BlogListing.astro
  • apps/web/src/components/Hero.astro
  • apps/web/src/pages/app_mobile.astro
  • apps/web/src/pages/blog/[slug].astro
  • apps/web/src/pages/plugins.astro
  • apps/web/src/pages/plugins/[slug].astro
  • apps/web/src/services/pluginDocs.ts

@riderx
Copy link
Copy Markdown
Member Author

riderx commented May 10, 2026

Addressed CodeRabbit outside-diff accessibility comments in 02ebad2 by marking the decorative SVG icons as hidden from assistive tech. CI is green after the update.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@apps/web/src/components/BlogListing.astro`:
- Around line 35-46: The filter pill links ("All" anchor using
getRelativeLocaleUrl and the mapped anchors inside uniqueTags that use slugify)
currently only define hover styles; add explicit keyboard focus styles (e.g.,
focus-visible:outline-none + focus-visible:ring-2 and
focus-visible:ring-offset-2 with a clear contrast color or focus-visible:border
color) to both the standalone "All" <a> and the mapped tag <a> so keyboard users
get a visible focus ring; update the class attribute on those anchors to include
these focus-visible utility classes so the focus state matches the hover
affordance and meets the "Focus states must be visible" guideline.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: b3d73a0c-ad2c-48ca-a044-5cc20d401bb6

📥 Commits

Reviewing files that changed from the base of the PR and between 8ceba00 and 3c108bd.

⛔ Files ignored due to path filters (1)
  • .github/pr-screenshots/landing-design-polish.png is excluded by !**/*.png
📒 Files selected for processing (8)
  • apps/shared/copy/messages.ts
  • apps/web/src/components/BlogListing.astro
  • apps/web/src/components/Hero.astro
  • apps/web/src/components/ProblemSolution.astro
  • apps/web/src/config/app.ts
  • apps/web/src/pages/app_mobile.astro
  • apps/web/src/pages/blog/[slug].astro
  • apps/web/src/pages/plugins.astro
✅ Files skipped from review due to trivial changes (4)
  • apps/shared/copy/messages.ts
  • apps/web/src/pages/blog/[slug].astro
  • apps/web/src/components/ProblemSolution.astro
  • apps/web/src/pages/app_mobile.astro
🚧 Files skipped from review as they are similar to previous changes (1)
  • apps/web/src/pages/plugins.astro

Comment thread apps/web/src/components/BlogListing.astro
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant