initial commit
This commit is contained in:
@@ -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>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user