Skip to content

Align homepage stats and hero actions with mobile gutters - #1528

Merged
manudeli merged 1 commit into
mainfrom
manudeli/align-homepage-stats-gutters
Nov 22, 2026
Merged

manudeli merged 1 commit into
mainfrom
manudeli/align-homepage-stats-gutters

Conversation

@manudeli

@manudeli manudeli commented Nov 22, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Align the stats icons and values with the 16px page gutters used by the lower homepage sections below md.
  • Align the left edge of the Browse the Stack / Start with a prompt button group to that same gutter.
  • Account for the hero frame’s 12px inset from sm onward and keep the desktop layout as before.
Width Before After
Below sm Stats 10px, actions 24px Both 16px from the page edge
sm to md Stats 22px, actions 52px Both 16px from the page edge

The stats inset applies to both sides. The actions inset applies to the left edge of the group.

Verification

  • Checked the generated Tailwind CSS at mobile widths from 320px to 767px, including both sides of the sm breakpoint. The three page insets resolve to 16px throughout.
  • Compared the padding and margins at and above md against the previous revision.
  • Formatting and lint passed for the changed route.

Summary by CodeRabbit

  • Style
    • Adjusted homepage spacing around the hero call-to-action and stats section across screen sizes.

@changeset-bot

changeset-bot Bot commented Nov 22, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 80176d8

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
tanstack-com 80176d8 Commit Preview URL

Branch Preview URL
Nov 22 2026, 07:13 AM

@coderabbitai

coderabbitai Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The homepage hero CTA container gains responsive left margins. The stats section wrapper receives updated horizontal padding at default, small, and medium breakpoints.

Changes: Homepage spacing

Layer / File(s) Summary
Responsive spacing
src/routes/index.tsx
The hero CTA container adds negative left margins at default and small breakpoints, then resets its margin at medium widths. The stats wrapper changes to px-4, with sm:px-1 and md:px-2.5 overrides.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Bug fix

Possibly related PRs

Suggested reviewers: abeuty, tannerlinsley

Merge Risk: Minimal · up to 80176

This change adjusts homepage stats and hero button spacing on mobile and small screens. It is a presentation-only update with a negligible chance of production impact, and it is ready to merge.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: homepage stats and hero actions are aligned to the mobile page gutters. The raw summary shows changes to the hero CTA negative margins and the stats wrapper padding in…
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.
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Full details: Title check

Explanation

The title names the main change: homepage stats and hero actions are aligned to the mobile page gutters. The raw summary shows changes to the hero CTA negative margins and the stats wrapper padding in src/routes/index.tsx, which matches the title. The title is specific and concise.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: a9eded8b-1425-41c1-ba49-13855737beac
Commits

Reviewing files that changed from the base of the PR and between db06fbb and 80176d8.

Files selected for processing: 1

  • src/routes/index.tsx

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 2 remain after this review.

@manudeli
manudeli merged commit 709676c into main Nov 22, 2026
8 checks passed
@manudeli
manudeli deleted the manudeli/align-homepage-stats-gutters branch November 22, 2026 07:17
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