import type { Metadata } from "next"; import "./globals.css"; import { HeroUIProvider } from "@heroui/system"; import React from "react"; import Footer from "./Footer"; import Header from "./Header"; import Main from "./Main"; export const metadata: Metadata = { title: "Create Next App", description: "Generated by create next app", }; export interface SiteLink { text: string; href: string; admin?: boolean; } export default function RootLayout({ children, }: Readonly<{ children: React.ReactNode; }>) { const headerSites: SiteLink[] = [ { text: "Overview", href: "/", }, { text: "Events", href: "/events", }, { text: "Assignments", href: "/assignments", admin: true, }, { text: "Admin", href: "/admin", admin: true, }, ]; const footerSites: SiteLink[] = [ { text: "Impressum", href: "/impressum", }, { text: "Datenschutz", href: "/datenschutz", }, ]; return (