arkitel / frontend /src /app /layout.tsx
CBV01
fix(dashboard): eliminate horizontal scrollbar across dashboard and layout containers
902a16c
Raw History Blame Contribute Delete
1.21 kB
import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google";
import { ThemeProvider } from "@/components/theme-provider";
import { Sidebar } from "@/components/Sidebar";
import "./globals.css";
const geistSans = Geist({
variable: "--font-geist-sans",
subsets: ["latin"],
});
const geistMono = Geist_Mono({
variable: "--font-geist-mono",
subsets: ["latin"],
});
export const metadata: Metadata = {
title: "ArkiTel Automation",
description: "Advanced Telegram automation platform",
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en" suppressHydrationWarning className="dark">
<body
className={`${geistSans.variable} ${geistMono.variable} antialiased selection:bg-blue-500/30 font-sans min-h-screen bg-background text-foreground overflow-x-hidden`}
>
<ThemeProvider
attribute="class"
defaultTheme="dark"
forcedTheme="dark"
enableSystem={false}
disableTransitionOnChange
>
<Sidebar>
{children}
</Sidebar>
</ThemeProvider>
</body>
</html>
);
}