Restore the folder header to Figma layout without cloning the nav, and page-center inner-page links with the home cluster.

Park the skip link in the Tailwind sheet so it cannot sit in document flow and push the yellow tab down.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
adilallo
2026-09-09 21:39:39 -06:00
co-authored by Cursor
parent b42716c262
commit 4bd9fa6dc6
7 changed files with 110 additions and 43 deletions
+6
View File
@@ -79,6 +79,12 @@ describe("Logo (behavioral tests)", () => {
expect(row?.className).toContain("h-[var(--spacing-scale-040)]");
});
it("shows the folder-top wordmark without a breakpoint hide", () => {
render(<Logo size="topNavFolderTop" wordmark />);
const wordmark = screen.getByText("CommunityRule");
expect(wordmark.className).not.toMatch(/\bhidden\b/);
});
it("renders with different size variants", () => {
const { rerender } = render(<Logo size="default" />);
expect(screen.getByRole("link")).toBeInTheDocument();