42 lines
1.5 KiB
TypeScript
42 lines
1.5 KiB
TypeScript
import type { Metadata } from "next";
|
|
import { Inter, JetBrains_Mono } from "next/font/google";
|
|
import "./globals.css";
|
|
import Navbar from "@/components/Navbar";
|
|
import { ThemeProvider } from "@/components/theme-provider";
|
|
import PageTransition from "@/components/PageTransition";
|
|
|
|
const inter = Inter({ subsets: ["latin"], variable: "--font-inter" });
|
|
const jetbrainsMono = JetBrains_Mono({ subsets: ["latin"], variable: "--font-mono" });
|
|
|
|
export const metadata: Metadata = {
|
|
title: "BidWraith | AI Auction Intelligence",
|
|
description: "BidWraith is the smartest way to track global auction sites. Get real-time alerts and beat the competition.",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en" suppressHydrationWarning>
|
|
<body className={`${inter.className} ${jetbrainsMono.variable} bg-background text-foreground antialiased min-h-screen flex flex-col transition-colors duration-300`}>
|
|
<ThemeProvider
|
|
attribute="class"
|
|
defaultTheme="system"
|
|
enableSystem
|
|
disableTransitionOnChange
|
|
>
|
|
{/* Fun tech subtle background grid */}
|
|
<div className="fixed inset-0 tech-grid -z-10 pointer-events-none" />
|
|
<Navbar />
|
|
<main className="flex-1 w-full flex flex-col relative overflow-hidden">
|
|
<PageTransition>
|
|
{children}
|
|
</PageTransition>
|
|
</main>
|
|
</ThemeProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
} |