feat: Add sidebar navigation and update dashboard layout with branding

- Add Sidebar component import and render in root layout
- Update layout structure: replace flex-col with flex, add sidebar and main content areas
- Update metadata title from "Create Next App" to "Telecom Admin Dashboard"
- Update metadata description to "Sovereign Telecom-as-a-Service Platform Admin Dashboard"
- Format Inter font configuration for consistency
- Add overflow-auto to main content area for scrollable content
This commit is contained in:
nutcas3
2026-04-17 16:39:51 +03:00
parent 72ffd4744a
commit 824952a6a8
+8 -4
View File
@@ -2,8 +2,9 @@ import type { Metadata } from "next";
import { Geist, Geist_Mono, Inter } from "next/font/google";
import "./globals.css";
import { cn } from "@/lib/utils";
import { Sidebar } from "@/components/sidebar";
const inter = Inter({subsets:['latin'],variable:'--font-sans'});
const inter = Inter({ subsets: ["latin"], variable: "--font-sans" });
const geistSans = Geist({
variable: "--font-geist-sans",
@@ -16,8 +17,8 @@ const geistMono = Geist_Mono({
});
export const metadata: Metadata = {
title: "Create Next App",
description: "Generated by create next app",
title: "Telecom Admin Dashboard",
description: "Sovereign Telecom-as-a-Service Platform Admin Dashboard",
};
export default function RootLayout({
@@ -30,7 +31,10 @@ export default function RootLayout({
lang="en"
className={cn("h-full", "antialiased", geistSans.variable, geistMono.variable, "font-sans", inter.variable)}
>
<body className="min-h-full flex flex-col">{children}</body>
<body className="min-h-full flex">
<Sidebar />
<main className="flex-1 overflow-auto">{children}</main>
</body>
</html>
);
}