diff --git a/apps/hub/app/layout.tsx b/apps/hub/app/layout.tsx index fb573531..4d95903e 100644 --- a/apps/hub/app/layout.tsx +++ b/apps/hub/app/layout.tsx @@ -1,23 +1,25 @@ -import type { Metadata } from 'next'; -import { Geist, Geist_Mono } from 'next/font/google'; -import './globals.css'; -import { getServerSession } from 'next-auth'; -import { NextAuthSessionProvider } from './_components/AuthSessionProvider'; -import { options } from './api/auth/[...nextauth]/auth'; +import Link from "next/link"; +import type { Metadata } from "next"; +import { Geist, Geist_Mono } from "next/font/google"; +import "./globals.css"; +import { getServerSession } from "next-auth"; +import { NextAuthSessionProvider } from "./_components/AuthSessionProvider"; +import { options } from "./api/auth/[...nextauth]/auth"; +import { ExitIcon, DiscordLogoIcon, InstagramLogoIcon, ReaderIcon, HomeIcon, PersonIcon, GearIcon } from "@radix-ui/react-icons"; const geistSans = Geist({ - variable: '--font-geist-sans', - subsets: ['latin'], + variable: "--font-geist-sans", + subsets: ["latin"], }); const geistMono = Geist_Mono({ - variable: '--font-geist-mono', - subsets: ['latin'], + variable: "--font-geist-mono", + subsets: ["latin"], }); export const metadata: Metadata = { - title: 'Create Next App', - description: 'Generated by create next app', + title: "Create Next App", + description: "Generated by create next app", }; export default async function RootLayout({ @@ -32,7 +34,123 @@ export default async function RootLayout({ - {children} +
+
+ + {/* Card */} +
+
+ {/* Top Navbar */} +
+
+ + Virtual Air Rescue - HUB + +
+
+
    +
  • + + + +
  • +
  • + + + +
  • +
+
+
+ + {/* Hauptlayout: Sidebar + Content (nimmt Resthöhe ein) */} +
+ {/* Linke Sidebar */} +
+ +
+ + {/* Scrollbarer Content-Bereich */} +
+ {children} +
+
+ + {/* Footer */} + +
+
+
diff --git a/apps/hub/app/page.tsx b/apps/hub/app/page.tsx index ad80c330..f19145dd 100644 --- a/apps/hub/app/page.tsx +++ b/apps/hub/app/page.tsx @@ -1,6 +1,7 @@ import Link from 'next/link'; import { PaginatedTable } from './_components/PaginatedTable'; import { Header } from './_components/ui/Header'; +import { PrismaClient } from '@repo/db'; export default async function Home() { return ( @@ -29,6 +30,52 @@ export default async function Home() { }, ]} /> + gd +
+ gd +
+ gd +
+ gd +
+ gd +
+ gd +
+ gd +
+ gd +
+ gd +
+ gd +
+ gd +
+ gd +
+ gd +
+ gd +
+ gd +
+ gd +
+ gd +
+ gd +
+ gd +
+ gd +
+ gd +
+ gd +
+ gd +
); }