Add foundational UI components (sidebar, some basic navigation)
This commit is contained in:
7
internal_frontend/app/apps/page.tsx
Normal file
7
internal_frontend/app/apps/page.tsx
Normal file
@@ -0,0 +1,7 @@
|
||||
export default function Home() {
|
||||
return (
|
||||
<div>
|
||||
apps
|
||||
</div>
|
||||
);
|
||||
}
|
||||
7
internal_frontend/app/kanzlei/page.tsx
Normal file
7
internal_frontend/app/kanzlei/page.tsx
Normal file
@@ -0,0 +1,7 @@
|
||||
export default function Home() {
|
||||
return (
|
||||
<div>
|
||||
Kanzlei
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user