/** * EPD Application Layout * * Layout for the EPD application with sidebar navigation and header. * Requires authentication via middleware. */ import type { ReactNode } from 'react'; import { EPDSidebar } from './components/epd-sidebar'; import { EPDHeader } from './components/epd-header'; import { getUser } from '@/lib/auth/server'; interface EPDLayoutProps { children: ReactNode; } export default async function EPDLayout({ children }: EPDLayoutProps) { // Get authenticated user const user = await getUser(); return (
{/* Sidebar - Fixed 240px width on desktop */} {/* Main Content Area */}
{/* Header - Fixed 60px height */} {/* Page Content - Scrollable */}
{children}
); }