project setup
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
import type { Metadata } from "next";
|
||||
|
||||
import favicon from "@/public/assets/Logo_Pin_-_with_no_background.ico";
|
||||
import Navbar from "@/components/navigation/Navbar";
|
||||
import Footer from "@/components/Footer";
|
||||
import ToastProvider from "@/components/providers/ToastProvider";
|
||||
|
||||
import "./globals.css";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Lan Codes",
|
||||
description: "Lan Codes",
|
||||
icons: {
|
||||
icon: favicon.src,
|
||||
},
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
return (
|
||||
<html lang="en">
|
||||
<body className="bg-[var(--color-1)] min-h-screen flex flex-col overflow-x-hidden">
|
||||
<Navbar />
|
||||
<main className="flex-1">{children}</main>
|
||||
<Footer />
|
||||
<ToastProvider />
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user