From f686063f0a961c2799c7e5bd7a2a65b1036ebf2c Mon Sep 17 00:00:00 2001 From: Usman Baig Date: Tue, 24 Mar 2026 21:51:15 +0100 Subject: [PATCH] feat: glassmorphism sidebar matching website header treatment - Sidebar body: bg-neutral-900/65 + backdrop-blur-3xl + saturate-150 - All borders changed to white/[0.08] and white/[0.06] dividers - Hover states use white/[0.06] for glass consistency - Site picker dropdown gets same glass treatment - Search input uses bg-white/[0.04] + border-white/[0.08] - Mobile sidebar matches desktop glass effect --- components/dashboard/Sidebar.tsx | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/components/dashboard/Sidebar.tsx b/components/dashboard/Sidebar.tsx index 1f9c111..39179d3 100644 --- a/components/dashboard/Sidebar.tsx +++ b/components/dashboard/Sidebar.tsx @@ -165,7 +165,7 @@ function SitePicker({ sites, siteId, collapsed, onExpand, onCollapse, wasCollaps setOpen(!open) } }} - className="w-full flex items-center gap-2.5 rounded-lg px-2.5 py-2 text-sm font-medium text-neutral-200 hover:bg-neutral-800 overflow-hidden" + className="w-full flex items-center gap-2.5 rounded-lg px-2.5 py-2 text-sm font-medium text-neutral-200 hover:bg-white/[0.06] overflow-hidden" > {faviconUrl && !faviconFailed ? ( @@ -194,7 +194,7 @@ function SitePicker({ sites, siteId, collapsed, onExpand, onCollapse, wasCollaps {open && ( -
+
@@ -220,7 +220,7 @@ function SitePicker({ sites, siteId, collapsed, onExpand, onCollapse, wasCollaps className={`w-full flex items-center gap-2.5 px-4 py-2 text-sm text-left ${ site.id === siteId ? 'bg-brand-orange/10 text-brand-orange font-medium' - : 'text-neutral-300 hover:bg-neutral-800' + : 'text-neutral-300 hover:bg-white/[0.06]' }`} > No sites found

}
-
- setOpen(false)} className="flex items-center gap-2 px-3 py-1.5 text-sm text-brand-orange hover:bg-neutral-800 rounded-lg"> +
+ setOpen(false)} className="flex items-center gap-2 px-3 py-1.5 text-sm text-brand-orange hover:bg-white/[0.06] rounded-lg"> Add new site @@ -270,7 +270,7 @@ function NavLink({ className={`flex items-center gap-2.5 rounded-lg px-2.5 py-2 text-sm font-medium overflow-hidden transition-all duration-150 ${ active ? 'bg-brand-orange/10 text-brand-orange' - : 'text-neutral-400 hover:text-white hover:bg-neutral-800 hover:translate-x-0.5' + : 'text-neutral-400 hover:text-white hover:bg-white/[0.06] hover:translate-x-0.5' }`} > @@ -348,7 +348,7 @@ function SidebarContent({ {NAV_GROUPS.map((group) => (
{c ? ( -
+
) : (

@@ -369,7 +369,7 @@ function SidebarContent({ {/* Bottom — utility items */} -

+
{/* Notifications, Profile — same layout as nav items */}
@@ -411,7 +411,7 @@ function SidebarContent({