2024-08-26 13:11:47 +02:00
|
|
|
import MobileNav from "../_components/Mobilenav";
|
|
|
|
import Sidebar from "../_components/Sidebar";
|
2024-11-25 08:42:23 +01:00
|
|
|
import type { Metadata } from "next";
|
|
|
|
|
|
|
|
export const metadata: Metadata = {
|
|
|
|
title: "Admin"
|
|
|
|
};
|
2024-06-20 17:02:11 +02:00
|
|
|
|
2024-06-20 15:38:05 +02:00
|
|
|
export default function PageLayout({
|
2024-09-07 09:12:48 +02:00
|
|
|
children
|
2024-06-20 15:38:05 +02:00
|
|
|
}: {
|
2024-09-07 09:12:48 +02:00
|
|
|
children: React.ReactNode;
|
2024-06-20 15:38:05 +02:00
|
|
|
}) {
|
2024-09-07 09:12:48 +02:00
|
|
|
return (
|
|
|
|
<main className="flex flex-col min-h-screen root">
|
|
|
|
<Sidebar />
|
|
|
|
<MobileNav />
|
|
|
|
<div className="root-container lg:px-24">{children}</div>
|
|
|
|
</main>
|
|
|
|
);
|
2024-06-20 15:38:05 +02:00
|
|
|
}
|