Match the marketing homepage and About page to the latest Figma: black hero CTA, spaces in word-split headings, redesigned feature grid, and cited About statistics.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -57,10 +57,11 @@ describe("HeroBanner (behavioral tests)", () => {
|
||||
).toBeInTheDocument();
|
||||
});
|
||||
|
||||
it("renders CTA link when provided", () => {
|
||||
it("renders CTA with the inverse (black) filled palette", () => {
|
||||
render(<HeroBanner title="Test" ctaText="Get Started" ctaHref="/start" />);
|
||||
expect(
|
||||
screen.getAllByRole("link", { name: "Get Started" }).length,
|
||||
).toBeGreaterThan(0);
|
||||
const cta = screen.getAllByRole("link", { name: "Get Started" })[0];
|
||||
expect(cta?.className).toContain(
|
||||
"bg-[var(--color-surface-default-primary)]",
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user