Add Oudelaa dashboard API integration
فشلت بعض الفحوصات
Deploy To Ghaymah / deploy (push) Has been cancelled
فشلت بعض الفحوصات
Deploy To Ghaymah / deploy (push) Has been cancelled
هذا الالتزام موجود في:
21
oudelaa_dashboard/app/(dashboard)/layout.tsx
Normal file
21
oudelaa_dashboard/app/(dashboard)/layout.tsx
Normal file
@@ -0,0 +1,21 @@
|
||||
import type { ReactNode } from "react";
|
||||
|
||||
import { MobileNav } from "@/components/dashboard/mobile-nav";
|
||||
import { DashboardSidebar } from "@/components/dashboard/sidebar";
|
||||
import { DashboardTopbar } from "@/components/dashboard/topbar";
|
||||
import { AuthGuard } from "@/components/auth/auth-guard";
|
||||
|
||||
export default function DashboardLayout({ children }: { children: ReactNode }) {
|
||||
return (
|
||||
<AuthGuard>
|
||||
<div className="mx-auto flex max-w-[1500px] gap-4 p-4">
|
||||
<DashboardSidebar />
|
||||
<main className="min-h-screen flex-1">
|
||||
<DashboardTopbar />
|
||||
<MobileNav />
|
||||
{children}
|
||||
</main>
|
||||
</div>
|
||||
</AuthGuard>
|
||||
);
|
||||
}
|
||||
المرجع في مشكلة جديدة
حظر مستخدم