first commit
This commit is contained in:
33
dashboard/app/layout.tsx
Normal file
33
dashboard/app/layout.tsx
Normal file
@@ -0,0 +1,33 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Inter, Outfit } from "next/font/google";
|
||||
import "./globals.css";
|
||||
|
||||
import { Toaster } from "@/components/ui/sonner";
|
||||
import { AuthProvider } from "@/components/auth-provider";
|
||||
|
||||
const inter = Inter({ subsets: ["latin"], variable: "--font-inter" });
|
||||
const outfit = Outfit({ subsets: ["latin"], variable: "--font-outfit" });
|
||||
|
||||
const brandName = process.env.NEXT_PUBLIC_BRAND_NAME || "Zyrox";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: `${brandName} - Ultimate Discord Bot`,
|
||||
description: "Advanced Discord community management and security.",
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
return (
|
||||
<html lang="en" className={`${inter.variable} ${outfit.variable}`}>
|
||||
<body className="font-sans antialiased text-slate-200">
|
||||
<AuthProvider>
|
||||
{children}
|
||||
<Toaster />
|
||||
</AuthProvider>
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user