diff --git a/apps/marketing/public/hero-bg.svg b/apps/marketing/public/hero-bg.svg deleted file mode 100644 index f912c01..0000000 --- a/apps/marketing/public/hero-bg.svg +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/apps/marketing/public/hero.png b/apps/marketing/public/hero.png new file mode 100644 index 0000000..3fc98f6 Binary files /dev/null and b/apps/marketing/public/hero.png differ diff --git a/apps/marketing/src/components/marketing/sections/hero.tsx b/apps/marketing/src/components/marketing/sections/hero.tsx index d39a663..46b4477 100644 --- a/apps/marketing/src/components/marketing/sections/hero.tsx +++ b/apps/marketing/src/components/marketing/sections/hero.tsx @@ -9,8 +9,9 @@ import { GithubMark } from "../github-mark"; // Full-viewport hero: a 16:9 backdrop image fills the section edge-to-edge, // a dimming gradient keeps foreground copy readable, and the content stack // is anchored to the lower-left. The site's fixed MarketingHeader is the top -// overlay (it sits above this on z). Swap public/hero-bg.svg for a generated -// raster (point the src at it) to rebrand the backdrop. +// overlay (it sits above this on z). Swap public/hero.png to rebrand the +// backdrop. Content is vertically centered so the backdrop reads on tall +// viewports without a large empty band under the nav. export function Hero({ stars }: { stars?: number | null }) { const root = useRef(null); @@ -34,12 +35,11 @@ export function Hero({ stars }: { stars?: number | null }) { return (
- {/* Background image — decorative. Replace /hero-bg.svg with your - generated 16:9 raster (e.g. /hero-bg.jpg) to rebrand. */} + {/* Background image — decorative. Swap public/hero.png to rebrand. */} {/* Bottom-anchored content stack */} -
+

— Built for vibe-coders in a hurry @@ -95,7 +95,7 @@ export function Hero({ stars }: { stars?: number | null }) { would rather move fast than wire boilerplate.

-
+