initial commit

This commit is contained in:
Dominik Natter
2025-03-28 08:25:16 +01:00
parent d6bd5c27a0
commit 959286580d

View File

@@ -1,33 +1,23 @@
import type { Metadata } from "next"; import React from "react";
import { Geist, Geist_Mono } from "next/font/google";
import "./globals.css"; import "./globals.css";
const geistSans = Geist({
variable: "--font-geist-sans",
subsets: ["latin"],
});
const geistMono = Geist_Mono({ export const metadata = {
variable: "--font-geist-mono", description: "Diplomarbeiten - HTL Dornbirn",
subsets: ["latin"], title: "Diplomarbeiten - HTL Dornbirn",
});
export const metadata: Metadata = {
title: "Create Next App",
description: "Generated by create next app",
}; };
export default function RootLayout({ export default async function RootLayout(props: { children: React.ReactNode }) {
children, const { children } = props;
}: Readonly<{
children: React.ReactNode;
}>) {
return ( return (
<html lang="en"> <html lang="de-AT">
<body <body>
className={`${geistSans.variable} ${geistMono.variable} antialiased`} <div className="flex flex-col min-h-screen">
>
{children} <main className="grow">{children}</main>
</div>
</body> </body>
</html> </html>
); );