diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index ef4e612..2551bd8 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -296,7 +296,7 @@ export default function Layout() { {/* Mobile menu */} {mobileMenuOpen && (
{events.map((e, i) => ( ))} +
)} diff --git a/src/pages/sections/home/HeroStage.tsx b/src/pages/sections/home/HeroStage.tsx index dc4c039..dd5363f 100644 --- a/src/pages/sections/home/HeroStage.tsx +++ b/src/pages/sections/home/HeroStage.tsx @@ -74,7 +74,9 @@ export default function HeroStage({ hero }: { hero: Hero | null }) { return (
{backdrop === 'photos' ? ( @@ -157,8 +159,8 @@ function Words({ hero, feature }: { hero: Hero; feature: HeroFeature }) { about two lines. */}

{hero.headline} @@ -186,12 +188,13 @@ function Words({ hero, feature }: { hero: Hero; feature: HeroFeature }) { Both set: one cell in two halves, the primary filled on the left and the secondary clear on the right, split by a slash (the filled half's slanted edge, which the clear half tucks under). - One set: that one alone, in its own style. */ + On a phone the halves stack instead, filled on top, since two + labels side by side don't fit; the slash starts at sm (home.css, + .hp-split). One set: that one alone, in its own style. */ -const SLANT = '1.75rem' const PRIMARY_FILL = '#f0bd4f' const PRIMARY_TEXT = '#001011' -const HALF = 'relative flex items-center gap-2 px-8 py-4 text-lg transition-colors duration-200 focus-visible:outline-offset-[-6px]' +const HALF = 'relative flex items-center justify-center gap-2 px-8 py-4 text-lg transition-colors duration-200 focus-visible:outline-offset-[-6px]' type HeroLink = Hero['primary'] @@ -200,24 +203,15 @@ function HeroActions({ primary, secondary }: { primary: HeroLink; secondary: Her if (primary && secondary) { return ( -
+
{primary.label} - + {secondary.label} {arrow}
@@ -323,8 +317,8 @@ function PhotoBackdrop({ slides, seconds }: { slides: HeroSlide[]; seconds: numb )} {slides.length > 1 && ( -
-
+
+
{slides.map((slide, i) => ( ))}
@@ -348,7 +345,7 @@ function PhotoBackdrop({ slides, seconds }: { slides: HeroSlide[]; seconds: numb type="button" onClick={() => setPaused((p) => !p)} aria-label={paused ? 'Play slideshow' : 'Pause slideshow'} - className="flex h-8 w-8 items-center justify-center btn border border-white/40 text-xs text-white hover:bg-white/10" + className="ml-2 flex h-10 w-10 items-center justify-center btn border border-white/40 text-xs text-white hover:bg-white/10" > {paused ?