NEXUS / app /layout.tsx
dimensionalpulsar's picture
Upload 34 files
d3ab8d1 verified
raw
history blame contribute delete
831 Bytes
import type { Metadata } from "next";
import { Inter } from "next/font/google";
import "./globals.css";
const inter = Inter({ subsets: ["latin"] });
export const metadata: Metadata = {
title: "ERP Premium | Next Generation Control Panel",
description: "Modern Enterprise Resource Planning system powered by Firebase",
};
import Sidebar from "@/components/Sidebar";
import AuthGuard from "@/components/AuthGuard";
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="es">
<body className={`${inter.className} bg-[#0f172a] text-white selection:bg-blue-500/30`}>
<AuthGuard>
<Sidebar />
<main className="ml-72 min-h-screen">
{children}
</main>
</AuthGuard>
</body>
</html>
);
}