diff --git a/docs/src/components/layouts/home-layout.tsx b/docs/src/components/layouts/home-layout.tsx index 469d19f14..570d9d3a6 100644 --- a/docs/src/components/layouts/home-layout.tsx +++ b/docs/src/components/layouts/home-layout.tsx @@ -1,5 +1,6 @@ 'use client'; +import { UserButton } from '@stackframe/stack'; import { Github, Menu, Sparkles, X } from 'lucide-react'; import Link from 'next/link'; import { useEffect, useState, type ReactNode } from 'react'; @@ -95,7 +96,7 @@ function HomeNavbar() { <> {/* Full Navbar */}
-
+
{/* Left - Logo + Social Links */}
@@ -139,6 +140,9 @@ function HomeNavbar() { {/* Theme Toggle */} + {/* User Sign in */} + + {/* Mobile Search */}
-
- {/* Compact Logo */} - - - - - Stack Auth - - - {/* Compact Actions */} -
- {/* Compact Social Links */} +
+ {/* Left Side - Social Links and Search */} +
- + - + - + {/* Compact Search */} +
+ {/* Center - Much Larger Logo */} + + + + + + + {/* Right Side - Actions */} +
{/* Compact Theme Toggle */} {/* Compact AI Chat Toggle */} + + {/* Compact User Button */} +
diff --git a/docs/src/components/layouts/shared-header.tsx b/docs/src/components/layouts/shared-header.tsx index 359d00982..082a3b56d 100644 --- a/docs/src/components/layouts/shared-header.tsx +++ b/docs/src/components/layouts/shared-header.tsx @@ -3,6 +3,7 @@ import { CustomSearchDialog } from '@/components/layout/custom-search-dialog'; import { SearchInputToggle } from '@/components/layout/custom-search-toggle'; import Waves from '@/components/layouts/api/waves'; import { type NavLink } from '@/lib/navigation-utils'; +import { UserButton } from '@stackframe/stack'; import { Key, Menu, Sparkles, TableOfContents, X } from 'lucide-react'; import Link from 'next/link'; import { usePathname } from 'next/navigation'; @@ -342,6 +343,11 @@ export function SharedHeader({
+ {/* User Button */} +
+ +
+ {/* Mobile Hamburger Menu - Shown on mobile */}
+ {/* User Authentication */} +
+

Account

+
+ +
+
+ {/* Sidebar Content */} {sidebarContent && (