Match partner logo wall spacing and sizes to Figma on every breakpoint (CR-130).
Restore asset/Logo import casing so Turbopack can resolve the module, and align the site lockup gaps with the Figma Asset/Logo instances. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -72,6 +72,13 @@ describe("Logo (behavioral tests)", () => {
|
||||
expect(img).toHaveClass("brightness-0");
|
||||
});
|
||||
|
||||
it("uses the Figma 6px wordmark-to-mark gap at the default size", () => {
|
||||
const { container } = render(<Logo />);
|
||||
const row = container.querySelector("a > div");
|
||||
expect(row?.className).toContain("gap-[var(--spacing-scale-006)]");
|
||||
expect(row?.className).toContain("h-[var(--spacing-scale-040)]");
|
||||
});
|
||||
|
||||
it("renders with different size variants", () => {
|
||||
const { rerender } = render(<Logo size="default" />);
|
||||
expect(screen.getByRole("link")).toBeInTheDocument();
|
||||
|
||||
Reference in New Issue
Block a user