From cac3f6d3050f4f24bdaee8c772852bb8b9314fc1 Mon Sep 17 00:00:00 2001 From: Ferran Date: Thu, 23 Apr 2026 15:05:24 +0200 Subject: [PATCH] fix(navbar): align mobile sidebar typography for Solutions and Resources - Add font-sans, text-sm, font-medium, py-3 and correct hover styles to AccordionTrigger so Solutions/Resources match the static nav links - Set border-border/40 on AccordionItems to match navbarStatic border opacity - Bump navbarStatic padding to py-3 for consistent vertical rhythm Co-Authored-By: Claude Sonnet 4.6 --- components/Link.tsx | 2 +- components/Navbar.tsx | 24 ++++++++++++++---------- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/components/Link.tsx b/components/Link.tsx index f81f760..3168a89 100644 --- a/components/Link.tsx +++ b/components/Link.tsx @@ -13,7 +13,7 @@ const linkVariants = cva('transition-colors', { navbarItem: 'block select-none space-y-1 rounded-md p-3 leading-none no-underline outline-none transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground', navbarMobile: 'text-sm text-muted-foreground hover:text-foreground py-2 block', - navbarStatic: 'text-sm font-medium hover:text-primary transition-colors py-2 border-b border-border/40 block', + navbarStatic: 'text-sm font-medium hover:text-primary transition-colors py-3 border-b border-border/40 block', footerNav: 'text-sm text-muted-foreground hover:text-foreground transition-colors', footerLegal: 'text-muted-foreground hover:text-foreground transition-colors', heroBadge: diff --git a/components/Navbar.tsx b/components/Navbar.tsx index f00bc21..c5136e3 100644 --- a/components/Navbar.tsx +++ b/components/Navbar.tsx @@ -106,13 +106,13 @@ export function Navbar() { {/* Logo */}
-
{/* Desktop Navigation */} - + {/* Solutions (formerly Product) */} @@ -243,7 +243,7 @@ export function Navbar() {
{/* Mobile Menu Trigger */} -
+