first commit
This commit is contained in:
32
app/layout.tsx
Normal file
32
app/layout.tsx
Normal file
@@ -0,0 +1,32 @@
|
||||
import type { Metadata } from "next";
|
||||
import "./globals.css";
|
||||
import Providers from "./providers";
|
||||
import NavBar from "../components/NavBar";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Vereinskalender",
|
||||
description: "Kalenderapp fuer Vereine"
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
children
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}) {
|
||||
return (
|
||||
<html lang="de">
|
||||
<head>
|
||||
<link rel="stylesheet" href="/vendor/fullcalendar/fullcalendar-core.css" />
|
||||
<link rel="stylesheet" href="/vendor/fullcalendar/fullcalendar-daygrid.css" />
|
||||
<link rel="stylesheet" href="/vendor/fullcalendar/fullcalendar-timegrid.css" />
|
||||
<link rel="stylesheet" href="/vendor/fullcalendar/fullcalendar-list.css" />
|
||||
</head>
|
||||
<body>
|
||||
<Providers>
|
||||
<NavBar />
|
||||
<main className="mx-auto max-w-6xl px-4 py-8">{children}</main>
|
||||
</Providers>
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user