Rewrite homepage hero copy + add CTA#2417
Conversation
New headline / subtitle / body, plus a "Learn where AI is headed" CTA to /courses/future-of-ai. Snapshot updated. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
Warning Rate limit exceeded
To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the 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 configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Greptile SummaryThis PR rewrites the homepage hero copy with a new H1, adds a subtitle paragraph, updates the body text, and introduces a primary CTA button linking to
Confidence Score: 4/5Safe to merge — changes are isolated to hero copy and a new CTA button, with no logic, data, or auth paths affected. The only structural change beyond text is the new CTA anchor. Using a plain apps/website/src/components/homepage/HomeHeroContent.tsx — the new Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[HomeHeroContent] --> B[Nav]
A --> C[Hero Container]
C --> D["H1 — slide-up-fade-in animation"]
C --> E["Subtitle p — no animation class"]
C --> F[Body p]
C --> G["CTA anchor /courses/future-of-ai"]
C --> H[GraduateSection]
G -->|"full-page reload via plain a tag"| I["Future of AI course page"]
Reviews (1): Last reviewed commit: "[chore] PR #2417: screenshots" | Re-trigger Greptile |
|
@claude review |
| <p | ||
| // eslint-disable-next-line @bluedot/custom/no-arbitrary-text-size -- subtitle ramp pairs with the bespoke H1 ramp above | ||
| className="w-full text-[24px] bd-md:max-[1023px]:text-[32px] min-[1024px]:max-[1279px]:text-[36px] min-[1280px]:max-[1439px]:text-[40px] min-[1440px]:text-[40px] leading-[125%] font-normal tracking-[-0.5px] text-white/90" | ||
| > | ||
| And not enough people work on making it go well. | ||
| </p> |
There was a problem hiding this comment.
Missing animation on subtitle paragraph
The H1 carries the slide-up-fade-in class, but the new subtitle <p> ("And not enough people…") has no animation class. On page load the H1 will animate in while the subtitle appears instantly beside it, which may look jarring since the two lines are visually paired as a single thought. If the animation is intentional only on the H1 that's fine, but worth confirming.
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
| <a | ||
| href="/courses/future-of-ai" | ||
| className="inline-flex items-center gap-2 px-6 py-3.5 rounded-md bg-bluedot-normal text-white text-size-sm bd-md:text-size-md font-medium hover:bg-bluedot-dark transition-colors duration-200 mt-2" | ||
| > | ||
| Learn where AI is headed | ||
| <span aria-hidden="true">→</span> | ||
| </a> |
There was a problem hiding this comment.
The CTA uses a plain
<a> tag for an internal route, which triggers a full-page reload in Next.js instead of a client-side transition. Other files in this codebase that need client-side navigation import Link from next/link. Given that course lander pages can be heavy (images, fonts, data fetching), the full-page reload is noticeably slower than a soft navigation.
| <a | |
| href="/courses/future-of-ai" | |
| className="inline-flex items-center gap-2 px-6 py-3.5 rounded-md bg-bluedot-normal text-white text-size-sm bd-md:text-size-md font-medium hover:bg-bluedot-dark transition-colors duration-200 mt-2" | |
| > | |
| Learn where AI is headed | |
| <span aria-hidden="true">→</span> | |
| </a> | |
| <Link | |
| href="/courses/future-of-ai" | |
| className="inline-flex items-center gap-2 px-6 py-3.5 rounded-md bg-bluedot-normal text-white text-size-sm bd-md:text-size-md font-medium hover:bg-bluedot-dark transition-colors duration-200 mt-2" | |
| > | |
| Learn where AI is headed | |
| <span aria-hidden="true">→</span> | |
| </Link> |
|
Claude finished @dewierwan's task —— View job Reviewing PR: Homepage hero copy rewrite + CTAReview Tasks:
Code Review FeedbackOverall, this is a clean implementation that successfully updates the homepage hero copy and adds a CTA button. The copy changes are well executed, and the code follows most of the existing patterns. However, there are two technical improvements to consider: 🔍 Issues Found1. Navigation Pattern Inconsistency ( <a
href="/courses/future-of-ai"
className="inline-flex items-center gap-2 px-6 py-3.5 rounded-md bg-bluedot-normal text-white text-size-sm bd-md:text-size-md font-medium hover:bg-bluedot-dark transition-colors duration-200 mt-2"
>The CTA uses a plain Recommendation: Import and use import Link from 'next/link';
<Link
href="/courses/future-of-ai"
className="inline-flex items-center gap-2 px-6 py-3.5 rounded-md bg-bluedot-normal text-white text-size-sm bd-md:text-size-md font-medium hover:bg-bluedot-dark transition-colors duration-200 mt-2"
>
Learn where AI is headed
<span aria-hidden="true">→</span>
</Link>2. Animation Inconsistency ( <p
className="w-full text-[24px] bd-md:max-[1023px]:text-[32px] min-[1024px]:max-[1279px]:text-[36px] min-[1280px]:max-[1439px]:text-[40px] min-[1440px]:text-[40px] leading-[125%] font-normal tracking-[-0.5px] text-white/90"
>
And not enough people work on making it go well.
</p>The subtitle paragraph lacks the Recommendation: Add animation class to subtitle or consider if this is intentional for design reasons. ✅ Strengths
🎯 Minor Considerations
Final AssessmentThis is a solid implementation with well-crafted copy that improves the homepage messaging. The technical issues are minor but worth addressing for consistency with Next.js best practices and the existing codebase patterns. The animation consistency question could be intentional from a design perspective. Recommendation: Approve with the navigation fix implemented. The animation issue can be addressed based on design intent. |
- Use next/link Link for the CTA so the navigation is client-side - Add slide-up-fade-in to the subtitle so it animates with the H1 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
Addressed Greptile's two P2 findings in d4690a6:
CodeRabbit was rate-limited; will let it re-run on its own clock. |
|
@Will-Howard thanks for noting this! Still working on this, I agree the design doesn't quite work yet. Consider this to still be in "draft" mode. |
|
Would you mind converting it to a proper draft? If you do, you can trigger the AI reviews with (dots removed) @.coderabbitai review / @.greptileai review as needed |


Summary
HomeHeroContent.tsx)/courses/future-of-aiCopy
Screenshots
Test plan
npm testinapps/website(102 files, 622 tests pass)Notes
StorySectioncopy that still reference "trajectory of AI" — those were out of scope for this PR.🤖 Generated with Claude Code