import { Link, Outlet } from '@tanstack/react-router'; import { Moon, Sun, Trophy } from 'lucide-react'; import { useUiStore } from '@/stores/uiStore'; import { cn } from '@/lib/cn'; const NAV = [ { to: '/', label: 'Live', exact: true }, { to: '/groups', label: 'Groups', exact: false }, { to: '/bracket', label: 'Bracket', exact: false }, { to: '/predict', label: 'Predict', exact: false }, { to: '/story', label: 'Story', exact: false }, ] as const; function ThemeToggle() { const theme = useUiStore((s) => s.theme); const toggle = useUiStore((s) => s.toggleTheme); return ( ); } export function RootLayout() { return (