2025-10-17 20:22:21 +02:00
|
|
|
import type { Metadata } from "next";
|
|
|
|
|
import { Geist, Geist_Mono } from "next/font/google";
|
|
|
|
|
import "./globals.css";
|
2025-10-18 22:37:07 +02:00
|
|
|
import Navbar from "./navbar";
|
|
|
|
|
import FootBar from "./footbar";
|
2025-10-17 20:22:21 +02:00
|
|
|
|
|
|
|
|
const geistSans = Geist({
|
|
|
|
|
variable: "--font-geist-sans",
|
|
|
|
|
subsets: ["latin"],
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
const geistMono = Geist_Mono({
|
|
|
|
|
variable: "--font-geist-mono",
|
|
|
|
|
subsets: ["latin"],
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
export const metadata: Metadata = {
|
2025-10-18 22:37:07 +02:00
|
|
|
title: "Welcome - Mike Karl",
|
|
|
|
|
description: "Personal website of Mike Karl",
|
2025-10-17 20:22:21 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default function RootLayout({
|
|
|
|
|
children,
|
|
|
|
|
}: Readonly<{
|
|
|
|
|
children: React.ReactNode;
|
|
|
|
|
}>) {
|
|
|
|
|
return (
|
|
|
|
|
<html lang="en">
|
|
|
|
|
<body
|
|
|
|
|
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
|
|
|
|
|
>
|
2025-10-18 22:37:07 +02:00
|
|
|
<Navbar />
|
2025-10-17 20:22:21 +02:00
|
|
|
{children}
|
2025-10-18 22:37:07 +02:00
|
|
|
<FootBar />
|
2025-10-17 20:22:21 +02:00
|
|
|
</body>
|
|
|
|
|
</html>
|
|
|
|
|
);
|
|
|
|
|
}
|