File size: 831 Bytes
8457d97
952569a
8457d97
 
952569a
8457d97
 
952569a
 
8457d97
 
8e723d7
d3ab8d1
8e723d7
8457d97
 
 
 
 
 
952569a
8e723d7
d3ab8d1
 
 
 
 
 
8e723d7
8457d97
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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>
  );
}