46 lines
1.2 KiB
TypeScript
46 lines
1.2 KiB
TypeScript
import type { Metadata } from "next"
|
|
import { Geist, Geist_Mono } from "next/font/google"
|
|
import "./globals.css"
|
|
import { SiteHeader } from "@/components/layout/site-header"
|
|
import { SportsSidebar } from "@/components/layout/sports-sidebar"
|
|
import { RightPanel } from "@/components/layout/right-panel"
|
|
|
|
const geistSans = Geist({
|
|
variable: "--font-geist-sans",
|
|
subsets: ["latin"],
|
|
})
|
|
|
|
const geistMono = Geist_Mono({
|
|
variable: "--font-geist-mono",
|
|
subsets: ["latin"],
|
|
})
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Harifsport",
|
|
description: "Harifsport-style sportsbook interface built with Next.js",
|
|
}
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode
|
|
}>) {
|
|
return (
|
|
<html lang="en" className="dark">
|
|
<body
|
|
className={`${geistSans.variable} ${geistMono.variable} bg-background text-foreground antialiased`}
|
|
>
|
|
<div className="flex min-h-screen flex-col bg-background">
|
|
<SiteHeader />
|
|
<div className="mx-auto flex w-full max-w-6xl flex-1 gap-0 px-2 py-3 lg:px-4">
|
|
<SportsSidebar />
|
|
<main className="flex-1 px-1 lg:px-3">{children}</main>
|
|
<RightPanel />
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|
|
)
|
|
}
|
|
|