Website: update homepage hero and header styles#45198
Conversation
There was a problem hiding this comment.
Claude Code Review
This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.
Tip: disable this comment in your organization's Code Review settings.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
WalkthroughThis PR adds a new LESS color variable 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Tip 💬 Introducing Slack Agent: The best way for teams to turn conversations into code.Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.
Built for teams:
One agent for your entire SDLC. Right inside Slack. 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 |
There was a problem hiding this comment.
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 `@website/assets/styles/pages/homepage.less`:
- Around line 1476-1478: The h1 font-size is inverted across breakpoints: the
base h1 rule (selector "h1") sets font-size: 24px, but a later media-breakpoint
rule that also targets "h1" increases it to 28px for narrower screens; update
the breakpoint rule so that h1 decreases (e.g., set the narrower-screen h1
font-size smaller than 24px) or refactor to a single responsive scale (adjust
the media query selector that currently overrides h1 to use a smaller value or
remove the override) to ensure headings get smaller on smaller devices.
🪄 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: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: ca1f9d9d-fc45-4cf8-ba6d-451a974ff050
📒 Files selected for processing (4)
website/assets/styles/layout.lesswebsite/assets/styles/mixins-and-variables/colors.lesswebsite/assets/styles/pages/homepage.lesswebsite/views/pages/homepage.ejs
There was a problem hiding this comment.
Pull request overview
Updates the marketing website homepage hero area and global header styling to align with updated wireframes/design system, including moving the testimonial quote out of the hero and adjusting masthead borders.
Changes:
- Moved the homepage hero quote into a new “quote + statistics” section below the logo carousel.
- Refined homepage hero layout and responsive styles (spacing, typography, background image sizing, hero height).
- Replaced header box-shadow with a 1px bottom border using a new shared color token.
Reviewed changes
Copilot reviewed 1 out of 4 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| website/views/pages/homepage.ejs | Restructures hero content and relocates quote + statistics into homepage content section. |
| website/assets/styles/pages/homepage.less | Updates hero visuals, adds quote/stats layout styles, and adjusts responsive behavior across breakpoints. |
| website/assets/styles/mixins-and-variables/colors.less | Adds @core-fleet-black-5 color variable for design-system consistency. |
| website/assets/styles/layout.less | Updates masthead styling to use a bottom border instead of box-shadow. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Closes: #45126
Closes: #45128
Changes:
@core-fleet-black-5Summary by CodeRabbit