fix: move SpaceSwitcher next to AppSwitcher on the left, matching rApp header pattern

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Jeff Emmett 2026-02-24 22:18:34 -08:00
parent 08bda9a76b
commit c31e440edf
1 changed files with 3 additions and 3 deletions

View File

@ -83,9 +83,10 @@ export default async function RootLayout({
{/* ── Sticky Nav ──────────────────────────────────── */} {/* ── Sticky Nav ──────────────────────────────────── */}
<header className="border-b sticky top-0 z-50 bg-background/90 backdrop-blur-sm"> <header className="border-b sticky top-0 z-50 bg-background/90 backdrop-blur-sm">
<div className="max-w-6xl mx-auto px-4 py-2.5 flex items-center justify-between gap-3"> <div className="max-w-6xl mx-auto px-4 py-2.5 flex items-center justify-between gap-3">
{/* Left: App switcher + Logo */} {/* Left: App switcher + Spaces + Logo */}
<div className="flex items-center gap-3"> <div className="flex items-center gap-3">
<AppSwitcher current="swag" /> <AppSwitcher current="swag" />
<SpaceSwitcher />
<div className="w-px h-5 bg-white/10 hidden sm:block" /> <div className="w-px h-5 bg-white/10 hidden sm:block" />
<Link <Link
href="/" href="/"
@ -127,9 +128,8 @@ export default async function RootLayout({
</Link> </Link>
</nav> </nav>
{/* Right: Space switcher + Cart */} {/* Right: Cart */}
<div className="flex items-center gap-2"> <div className="flex items-center gap-2">
<SpaceSwitcher />
<Link <Link
href="/cart" href="/cart"
className="text-slate-300 hover:text-white transition-colors p-2 rounded-md hover:bg-white/[0.06]" className="text-slate-300 hover:text-white transition-colors p-2 rounded-md hover:bg-white/[0.06]"