first working release

This commit is contained in:
2026-06-13 15:11:49 +02:00
parent b97d574697
commit 550adb5114
29 changed files with 4438 additions and 131 deletions

View File

@@ -1,33 +1,32 @@
import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google";
import { Inter } from "next/font/google";
import "./globals.css";
import Navigation from "@/components/Navigation";
const geistSans = Geist({
variable: "--font-geist-sans",
subsets: ["latin"],
});
const geistMono = Geist_Mono({
variable: "--font-geist-mono",
subsets: ["latin"],
});
const inter = Inter({ subsets: ["latin"] });
export const metadata: Metadata = {
title: "Create Next App",
description: "Generated by create next app",
title: "Kabel-Dokumentation",
description: "Dokumentation aller Netzwerk-, Strom- und Signalkabel im Haus",
};
export default function RootLayout({
children,
}: Readonly<{
}: {
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={`${inter.className} bg-slate-50 text-slate-900`}>
<div className="flex min-h-screen">
{/* Sidebar — fixed on desktop, slide-in overlay on mobile */}
<Navigation />
{/* Main content — offset by sidebar width on large screens */}
<main className="flex-1 lg:ml-64 p-6 md:p-8">
<div className="max-w-5xl mx-auto">{children}</div>
</main>
</div>
</body>
</html>
);
}
}