diff --git a/src/components/hero/Hero.astro b/src/components/hero/Hero.astro index 78e6cdc06..68cf76d64 100644 --- a/src/components/hero/Hero.astro +++ b/src/components/hero/Hero.astro @@ -74,6 +74,10 @@ const sectionClasses = cn( // Floored bottom slot (e.g. the homepage tech-stack marquee): flex column so the // slot floats to the floor with a guaranteed minimum gap above it. isFlooredBottom && 'flex flex-col gap-[var(--hero-floor-gap,4rem)]', + // Marks the heroes that draw a grid. `showHeroHalo` gates both grid layers + // below, so it already names exactly the heroes whose badge needs an opaque + // fill; the rule is at the foot of this file. + showHeroHalo && 'hero-gridded', className ); @@ -150,7 +154,7 @@ const gridClasses = cn(
{/* Badge Slot */} {hasBadgeSlot && ( -
+
)} @@ -216,6 +220,35 @@ const gridClasses = cn(