import { ReactNode } from 'react' import { Link, useLocation } from 'react-router-dom' import { useAuthStore } from '../../store/authStore' import { useThemeStore } from '../../store/themeStore' export default function AppLayout({ children }: { children: ReactNode }) { const { username, logout } = useAuthStore() const { theme, toggle } = useThemeStore() const location = useLocation() return (
{/* Header */}
Cyrene
Cyrene
{/* Content */}
{children}
) }