Match Home, top nav, hero, and logo wall to the current marketing frames.
Puts Workshops in the header, pairs the hero with a static rule card and breakpoint CTAs, and shows the three pilot marks with no wall label. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
e12e06f7ce
commit
33cdaf135c
47 files changed
+728
-527
No files matched your search
@@ -38,9 +38,9 @@ componentTestSuite<FeatureGridProps>(config);
|
||||
describe("FeatureGrid (behavioral tests)", () => {
|
||||
it("renders title and subtitle", () => {
|
||||
render(<FeatureGrid title="Test Title" subtitle="Test Subtitle" />);
|
||||
expect(
|
||||
screen.getByRole("heading", { name: "Test Title" }),
|
||||
).toBeInTheDocument();
|
||||
const title = screen.getByRole("heading", { name: "Test Title" });
|
||||
expect(title).toBeInTheDocument();
|
||||
expect(title.tagName).toBe("H2");
|
||||
expect(screen.getByText("Test Subtitle")).toBeInTheDocument();
|
||||
expect(
|
||||
screen.queryByRole("heading", { name: "Test Subtitle" }),
|
||||
@@ -58,10 +58,10 @@ describe("FeatureGrid (behavioral tests)", () => {
|
||||
).not.toBeInTheDocument();
|
||||
});
|
||||
|
||||
it("sends Explore the toolkit to the Learn page", () => {
|
||||
it("sends Explore the patterns to the Learn page", () => {
|
||||
render(<FeatureGrid title="Test" subtitle="Test" />);
|
||||
expect(
|
||||
screen.getByRole("link", { name: "Explore the toolkit" }),
|
||||
screen.getByRole("link", { name: "Explore the patterns" }),
|
||||
).toHaveAttribute("href", "/learn");
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user