| 1 | import Footer from "@/components/Footer"; |
| 2 | import Header from "@/components/Header"; |
| 3 | import type { Metadata } from "next"; |
| 4 | import localFont from "next/font/local"; |
| 5 | import { ToastContainer } from "react-toastify"; |
| 6 | import "react-toastify/dist/ReactToastify.css"; |
| 7 | import "./globals.css"; |
| 8 | |
| 9 | const pixellari = localFont({ |
| 10 | src: "./fonts/Pixellari.ttf", |
| 11 | variable: "--font-pixellari", |
| 12 | weight: "100 900", |
| 13 | }); |
| 14 | |
| 15 | export const metadata: Metadata = { |
| 16 | title: "Twench", |
| 17 | description: "Make it out the twench.", |
| 18 | }; |
| 19 | |
| 20 | export default function RootLayout({ |
| 21 | children, |
| 22 | }: Readonly<{ |
| 23 | children: React.ReactNode; |
| 24 | }>) { |
| 25 | return ( |
| 26 | <html lang="en"> |
| 27 | <body className={`${pixellari.className} antialiased`}> |
| 28 | <Header /> |
| 29 | {children} |
| 30 | <Footer /> |
| 31 | <ToastContainer className={"text-shadow-none w-[320px] text-[8px]"} /> |
| 32 | </body> |
| 33 | </html> |
| 34 | ); |
| 35 | } |