Add foundational UI components (sidebar, some basic navigation)

This commit is contained in:
2025-07-01 18:44:15 +09:00
parent 20314c64b2
commit b33b470e7b
16 changed files with 2427 additions and 19 deletions

View File

@@ -0,0 +1,7 @@
export default function Home() {
return (
<div>
apps
</div>
);
}

View File

@@ -0,0 +1,7 @@
export default function Home() {
return (
<div>
Kanzlei
</div>
);
}

View File

@@ -1,21 +1,13 @@
import type {Metadata} from "next";
import {Geist, Geist_Mono} from "next/font/google";
import "./globals.css";
import {ThemeProvider} from "@/components/theme-provider";
const geistSans = Geist({
variable: "--font-geist-sans",
subsets: ["latin"],
});
const geistMono = Geist_Mono({
variable: "--font-geist-mono",
subsets: ["latin"],
});
import {SidebarProvider, SidebarTrigger} from "@/components/ui/sidebar"
import {AppSidebar} from "@/components/app-sidebar"
import React from "react";
export const metadata: Metadata = {
title: "Create Next App",
description: "Generated by create next app",
title: "Internal | Rhein Software",
description: "Internal Tools for Rhein Software Development",
};
export default function RootLayout({
@@ -25,8 +17,7 @@ export default function RootLayout({
}>) {
return (
<html lang="en" suppressHydrationWarning>
<head/>
<html lang="de" suppressHydrationWarning>
<body>
<ThemeProvider
attribute="class"
@@ -34,7 +25,13 @@ export default function RootLayout({
enableSystem
disableTransitionOnChange
>
{children}
<SidebarProvider>
<AppSidebar/>
<main>
<SidebarTrigger/>
{children}
</main>
</SidebarProvider>
</ThemeProvider>
</body>
</html>