[重构] 前端改造v2

This commit is contained in:
ryan
2026-03-11 13:56:44 +08:00
parent 7a1abe008c
commit 5713ee2b44
25 changed files with 1135 additions and 30 deletions
+6 -1
View File
@@ -1,11 +1,16 @@
import type { ReactNode } from 'react';
import { DashboardShell } from '@/components/layout/dashboard-shell';
import { DashboardAuthGuard } from '@/features/auth/components/dashboard-auth-guard';
interface DashboardLayoutProps {
children: ReactNode;
}
export default function DashboardLayout({ children }: DashboardLayoutProps) {
return <DashboardShell>{children}</DashboardShell>;
return (
<DashboardAuthGuard>
<DashboardShell>{children}</DashboardShell>
</DashboardAuthGuard>
);
}