Dorian Niemiec
7866a5c68f
Some checks failed
Deploy Next.js application / deploy (push) Has been cancelled
21 lines
466 B
TypeScript
21 lines
466 B
TypeScript
import MobileNav from "../_components/Mobilenav";
|
|
import Sidebar from "../_components/Sidebar";
|
|
import type { Metadata } from "next";
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Admin"
|
|
};
|
|
|
|
export default function PageLayout({
|
|
children
|
|
}: {
|
|
children: React.ReactNode;
|
|
}) {
|
|
return (
|
|
<main className="flex flex-col min-h-screen root">
|
|
<Sidebar />
|
|
<MobileNav />
|
|
<div className="root-container lg:px-24">{children}</div>
|
|
</main>
|
|
);
|
|
}
|