import { LayoutDashboardIcon, SparklesIcon } from 'lucide-react'; import type { ReactNode } from 'react'; import { Link, useLocation } from 'react-router'; import { cn } from '@/shared/lib/cn'; import { paths } from '@/shared/routing'; const NAV = [{ label: '대시보드', icon: LayoutDashboardIcon, to: paths.home }]; type DashboardShellProps = { title: string; description: string; actions?: ReactNode; children: ReactNode; }; export const DashboardShell = ({ title, description, actions, children, }: DashboardShellProps) => { const { pathname } = useLocation(); return (
{description}