Dashboard und Benutzerverwaltung

This commit is contained in:
Schubert Ferenc 2026-07-02 00:01:25 +02:00
parent c4d27a1187
commit 4cf671e32d
16 changed files with 684 additions and 79 deletions

View file

@ -1,20 +1,12 @@
import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google";
import "./globals.css";
const geistSans = Geist({
variable: "--font-geist-sans",
subsets: ["latin"],
});
const geistMono = Geist_Mono({
variable: "--font-geist-mono",
subsets: ["latin"],
});
import Sidebar from "@/components/Sidebar";
import Header from "@/components/Header";
export const metadata: Metadata = {
title: "Create Next App",
description: "Generated by create next app",
title: "Olympus ERP",
description: "Olympus ERP",
};
export default function RootLayout({
@ -23,11 +15,28 @@ export default function RootLayout({
children: React.ReactNode;
}>) {
return (
<html
lang="en"
className={`${geistSans.variable} ${geistMono.variable} h-full antialiased`}
>
<body className="min-h-full flex flex-col">{children}</body>
<html lang="de">
<body className="bg-slate-100">
<div className="flex h-screen">
<Sidebar />
<div className="flex flex-col flex-1">
<Header />
<main className="flex-1 overflow-auto p-8">
{children}
</main>
</div>
</div>
</body>
</html>
);
}
}