Skip to content

fix(marketing): real hero image, centered content, aligned CTAs#104

Merged
f-amine merged 1 commit into
masterfrom
fix/hero-image-and-spacing
Jun 18, 2026
Merged

fix(marketing): real hero image, centered content, aligned CTAs#104
f-amine merged 1 commit into
masterfrom
fix/hero-image-and-spacing

Conversation

@f-amine

@f-amine f-amine commented Jun 18, 2026

Copy link
Copy Markdown
Owner

Addresses the two reported issues plus drops in the real art.

  • Hero image: uses the generated 16:9 PNG at public/hero.png (1672×941), replacing the SVG placeholder (removed).
  • Top whitespace: content was bottom-anchored, so tall viewports showed a big empty band under the nav. Now vertically centered (justify-center) — balanced spacing on every height.
  • CTA alignment: sm:items-stretch makes "Start building" and "Star on GitHub" equal height and keeps them on one line.

Verified via DOM measurement: hero.png loads, both CTAs 54px tall with identical top, content centered. Typecheck + biome clean.

Note: hero.png is 1.7MB; fine to ship but worth compressing to webp/jpg later for LCP.

🤖 Generated with Claude Code

- Use the generated 16:9 art at public/hero.png as the hero backdrop
  (replaces the SVG placeholder, which is removed).
- Vertically center the hero content instead of bottom-anchoring it, so
  tall viewports no longer show a large empty band under the nav.
- sm:items-stretch on the CTA row so "Start building" and "Star on
  GitHub" are equal height and sit on the same line.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@f-amine f-amine merged commit ab3b8c8 into master Jun 18, 2026
3 checks passed
@f-amine f-amine deleted the fix/hero-image-and-spacing branch June 18, 2026 14:16
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