svrjs-nextjs-website/app/(auth)/admin/layout.tsx
Dorian Niemiec 7866a5c68f
Some checks failed
Deploy Next.js application / deploy (push) Has been cancelled
fix: optimize the metadata
2024-11-25 08:42:23 +01:00

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>
);
}