Skip to content

fix(home): align the newsletter signup with the page container - #1525

Merged
manudeli merged 2 commits into
mainfrom
fix/homepage-newsletter-layout
Nov 22, 2026
Merged

manudeli merged 2 commits into
mainfrom
fix/homepage-newsletter-layout

Conversation

@manudeli

@manudeli manudeli commented Nov 22, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Match the newsletter card’s horizontal gutters and max width to the Core Maintainers section.
  • Align the heading, description, and signup action along the same left edge.
  • Move the envelope into a decorative panel on the right at larger widths and beside the heading on mobile.
  • Remove the newsletter eyebrow and the email note beneath the signup button.

Verification

  • oxfmt --check on HomeNewsletterSection.tsx and git diff --check passed.
  • TypeScript checks passed and lint reported zero errors in the local checkout.
  • Rendered the signed-out and subscribed states with the compiled Tailwind styles and verified the card copy.
  • The local sandbox blocked the browser preview and the IPC socket required by the unit-test runner.

Summary by CodeRabbit

  • Style
    • Updated the newsletter section to use a responsive two-column layout on larger screens, with the signup content in one column and the decorative icon in the other.
    • On smaller screens, the content spans the full width. The section’s width and padding have also been adjusted for a revised layout.

@changeset-bot

changeset-bot Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 9c377de

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

@coderabbitai

coderabbitai Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The newsletter section changes from a single-column card to a responsive two-column grid. The decorative icon moves to the second column, while the label, heading, description, and signup form share a responsive content column.

Changes: Newsletter section layout

Layer / File(s) Summary
Responsive newsletter grid
src/components/home/HomeNewsletterSection.tsx
The section uses a responsive grid. The decorative icon sits in the second column, and the newsletter content and signup form share the content column. On narrow screens, the content spans both columns.

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

Change: Bug fix

Suggested reviewers: abeuty, tannerlinsley

Merge Risk: Minimal · up to 1f553

This updates the newsletter card's layout so it lines up with the page container. It has no functional impact on signup, and the risk of merging is minimal.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the fix type and scope (home page) and the main change: aligning the newsletter signup with the page container. The raw summary confirms the HomeNewsletterSection layout changed to a t…
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 fix type and scope (home page) and the main change: aligning the newsletter signup with the page container. The raw summary confirms the HomeNewsletterSection layout changed to a two-column grid with new width and padding classes. The objectives state the goal is to match the card's gutters and max width to the Core Maintainers section. The title is specific and matches the changeset.

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: de06d75a-8136-4b11-b7e0-b866ddc3fd9b
Commits

Reviewing files that changed from the base of the PR and between af6ec4f and 1f553a1.

Files selected for processing: 1

  • src/components/home/HomeNewsletterSection.tsx

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

@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 9c377de Commit Preview URL

Branch Preview URL
Nov 22 2026, 05:18 AM

@manudeli
manudeli merged commit b014efc into main Nov 22, 2026
8 checks passed
@manudeli
manudeli deleted the fix/homepage-newsletter-layout branch November 22, 2026 05:21
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