diff --git a/components/LandingHowItWorks.tsx b/components/LandingHowItWorks.tsx index 5ad97ca3..3d18645d 100644 --- a/components/LandingHowItWorks.tsx +++ b/components/LandingHowItWorks.tsx @@ -70,7 +70,7 @@ export function LandingHowItWorks({ key={s.n} className="rounded-2xl border border-white/10 bg-gradient-to-br from-white/[0.05] to-black/40 p-4 shadow-[0_16px_40px_-28px_rgba(0,0,0,0.9)] sm:p-5" > - + {s.n}

{s.t}

diff --git a/scripts/generate-360-cta-smoke.mjs b/scripts/generate-360-cta-smoke.mjs index a1f03e47..1d921c2c 100644 --- a/scripts/generate-360-cta-smoke.mjs +++ b/scripts/generate-360-cta-smoke.mjs @@ -821,4 +821,22 @@ assert.match( "Explore page eyebrows/CTAs/path accents use --brand copper" ); +// AIT-611: LandingHowItWorks residual competitor lime → gallery-calm copper +const landingHowItWorksSrc = read("components/LandingHowItWorks.tsx"); +assert.doesNotMatch( + landingHowItWorksSrc, + /#c8ff3d|c8ff3d|200\s*,\s*255\s*,\s*61/i, + "LandingHowItWorks must not hard-code competitor lime (#c8ff3d / rgba 200,255,61)" +); +assert.match( + landingHowItWorksSrc, + /var\(--brand\)/, + "LandingHowItWorks step-number chrome uses --brand copper fill" +); +assert.match( + landingHowItWorksSrc, + /rgba\(196\s*,\s*165\s*,\s*116/, + "LandingHowItWorks step-number glow uses copper board rgba(196,165,116)" +); + console.log("generate-360-cta-smoke: ok"); diff --git a/scripts/product-proof-smoke.mjs b/scripts/product-proof-smoke.mjs index eaeb106e..d8a8b72a 100644 --- a/scripts/product-proof-smoke.mjs +++ b/scripts/product-proof-smoke.mjs @@ -307,6 +307,21 @@ assert( ); } +// AIT-611: LandingHowItWorks residual competitor lime → gallery-calm copper +{ + const lime = /#c8ff3d|c8ff3d|200\s*,\s*255\s*,\s*61/i; + const landingHow = read("components/LandingHowItWorks.tsx"); + assert( + !lime.test(landingHow), + "LandingHowItWorks must not hard-code competitor lime (#c8ff3d / rgba 200,255,61)" + ); + assert( + landingHow.includes("var(--brand)") && + /rgba\(196\s*,\s*165\s*,\s*116/.test(landingHow), + "LandingHowItWorks step chrome uses --brand + copper glow" + ); +} + console.log( `product-proof smoke passed: ${proofSlugs.length} proof recipes, static concepts, 1/2 autoplay budget` );