39 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			39 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| import type { Metadata } from "next";
 | |
| import { Overpass_Mono } from "next/font/google";
 | |
| import "./globals.css";
 | |
| import Header from "@/components/header";
 | |
| import Footer from "@/components/footer";
 | |
| import HeaderImage from "@/components/headerImage";
 | |
| import { ToastContainer } from "react-toastify";
 | |
| import 'react-toastify/dist/ReactToastify.css';
 | |
| import SideNav from "@/components/side-nav/side-nav";
 | |
| 
 | |
| const overpass_mono = Overpass_Mono({ subsets: ["latin"] });
 | |
| 
 | |
| export const metadata: Metadata = {
 | |
|   title: "Blueprint Sample",
 | |
|   description: "Blueprint Sample Application",
 | |
| };
 | |
| 
 | |
| export default function RootLayout({
 | |
|   children,
 | |
| }: Readonly<{
 | |
|   children: React.ReactNode;
 | |
| }>) {
 | |
|   return (
 | |
|     <html lang="en">
 | |
|       <body className={`flex ${overpass_mono.className}`}>
 | |
|         <SideNav></SideNav>
 | |
|         <div id="wrapper">
 | |
|           <Header></Header>
 | |
|           <main className="flex flex-col items-center justify-between">
 | |
|             {children}
 | |
|             <ToastContainer />
 | |
|           </main>
 | |
|           <Footer></Footer>
 | |
|         </div>
 | |
|       </body>
 | |
|     </html>
 | |
|   );
 | |
| }
 | 
