From 3d8a1ab6778dcc9c5cb4b6c635eeba5667e1668c Mon Sep 17 00:00:00 2001 From: Mathis Date: Thu, 6 Jun 2024 14:10:31 +0200 Subject: [PATCH] feat: add layout and home page components The commit includes a new layout component that contains the basic structure of the application, including Header, Footer, and ThemeProvider. Also, a new Home page component has been created including a basic "Hello World" greeting. --- src/app/layout.tsx | 37 +++++++++++++++++++++++++++++++++++++ src/app/page.tsx | 9 +++++++++ 2 files changed, 46 insertions(+) create mode 100644 src/app/layout.tsx create mode 100644 src/app/page.tsx diff --git a/src/app/layout.tsx b/src/app/layout.tsx new file mode 100644 index 0000000..5fa9053 --- /dev/null +++ b/src/app/layout.tsx @@ -0,0 +1,37 @@ +import type { Metadata } from "next"; +import '@fontsource-variable/kode-mono'; +import "./globals.css"; +import {ThemeProvider} from "@/components/providers/theme-provider"; +import type React from "react"; +import {Footer} from "@/components/footer"; +import {Header} from "@/components/header"; + +export const metadata: Metadata = { + title: "YeloBit", + description: "Generated by create next app", + icons: "yellow-bit.svg"}; + +export default function RootLayout({ + children, +}: Readonly<{ + children: React.ReactNode; +}>) { + return ( + + + + + + +
+ {children} +