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
@@ -79,10 +79,18 @@ describe("Logo (behavioral tests)", () => {
|
||||
expect(row?.className).toContain("h-[var(--space-1000)]");
|
||||
});
|
||||
|
||||
it("shows the folder-top wordmark without a breakpoint hide", () => {
|
||||
it("hides the folder-top wordmark below md", () => {
|
||||
render(<Logo size="topNavFolderTop" wordmark />);
|
||||
const wordmark = screen.getByText("CommunityRule");
|
||||
expect(wordmark.className).not.toMatch(/\bhidden\b/);
|
||||
expect(wordmark.className).toMatch(/\bhidden\b/);
|
||||
expect(wordmark.className).toContain("md:block");
|
||||
});
|
||||
|
||||
it("hides the standard header wordmark below sm", () => {
|
||||
render(<Logo size="topNavHeader" wordmark />);
|
||||
const wordmark = screen.getByText("CommunityRule");
|
||||
expect(wordmark.className).toContain("hidden");
|
||||
expect(wordmark.className).toContain("sm:block");
|
||||
});
|
||||
|
||||
it("renders with different size variants", () => {
|
||||
|
||||
Reference in new issue
Block a user