Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/LandingHowItWorks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
>
<span className="grid h-8 w-8 place-items-center rounded-full bg-[var(--mint)] text-sm font-black text-black shadow-[0_0_16px_rgba(200,255,61,0.3)]">
<span className="grid h-8 w-8 place-items-center rounded-full bg-[var(--brand)] text-sm font-black text-[var(--primary-foreground)] shadow-[0_0_16px_rgba(196,165,116,0.3)]">
{s.n}
</span>
<h3 className="mt-3 font-semibold text-white">{s.t}</h3>
Expand Down
18 changes: 18 additions & 0 deletions scripts/generate-360-cta-smoke.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
15 changes: 15 additions & 0 deletions scripts/product-proof-smoke.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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`
);
Loading