diff --git a/apps/hub/app/layout.tsx b/apps/hub/app/layout.tsx index 5d3dea17..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({ @@ -36,13 +38,116 @@ export default async function RootLayout({ className="hero min-h-screen" style={{ backgroundImage: - 'url(https://img.daisyui.com/images/stock/photo-1507358522600-9f71e620c44e.webp)', + "url(https://img.daisyui.com/images/stock/photo-1507358522600-9f71e620c44e.webp)", }} >
-
-
- {children} + + {/* Card */} +
+
+ {/* Top Navbar */} +
+ +
+
    +
  • + + + +
  • +
  • + + + +
  • +
+
+
+ + {/* 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 bc16e11f..4ced77b5 100644 --- a/apps/hub/app/page.tsx +++ b/apps/hub/app/page.tsx @@ -1,143 +1,57 @@ -import Link from 'next/link'; -import { PrismaClient } from '@repo/db'; -import { PaginatedTable } from './_components/PaginatedTable'; -import { ExitIcon } from "@radix-ui/react-icons" +import { PrismaClient } from "@repo/db"; +import { PaginatedTable } from "./_components/PaginatedTable"; export default async function Home() { const prisma = new PrismaClient(); return ( -
-
-
- Virtual Air Rescue - HUB -
-
-
    -
  • -
  • -
-
-
-
- - - -
- +
+ gd +
+ gd +
+ gd +
+ gd +
+ gd +
+ gd +
+ gd +
+ gd +
+ gd +
+ gd +
+ gd +
+ gd +
+ gd +
+ gd +
+ gd +
+ gd +
+ gd +
+ gd +
+ gd +
+ gd +
+ gd +
+ gd +
+ gd +
); }