feat: implement dashboard layout shell with responsive sidebar, global dark theme, and navigation pages

This commit is contained in:
Poyraz Avsever
2026-05-08 11:50:18 +03:00
parent 9adc34418e
commit 0233122b6d
13 changed files with 350 additions and 409 deletions
+70
View File
@@ -0,0 +1,70 @@
import {
Activity,
BarChart3,
BookOpenText,
Calendar,
CheckSquare2,
FileText,
FolderKanban,
MessageCircleHeart,
Sparkles,
Target,
Users,
Wallet,
Building2,
Tags,
} from "lucide-react";
export type SidebarNavItem = {
title: string;
href?: string;
icon?: any;
items?: SidebarNavItem[]; // For nested (accordion) links later
};
export type SidebarNavGroup = {
title: string;
items: SidebarNavItem[];
};
export const sidebarData: SidebarNavGroup[] = [
{
title: "GENEL BAKIŞ",
items: [
{ title: "Dashboard", href: "/", icon: Sparkles },
{ title: "Takvim", href: "/calendar", icon: Calendar },
{ title: "Analizler", href: "/analytics", icon: BarChart3 },
],
},
{
title: "YÖNETİM",
items: [
{ title: "Görevler", href: "/tasks", icon: CheckSquare2 },
{ title: "Projeler", href: "/projects", icon: FolderKanban },
{ title: "Dökümanlar", href: "/documents", icon: FileText },
{ title: "Finans", href: "/finance", icon: Wallet },
],
},
{
title: "KİŞİSEL",
items: [
{ title: "Günlük", href: "/journal", icon: BookOpenText },
{ title: "Alışkanlıklar", href: "/habits", icon: Activity },
{ title: "Hedefler", href: "/goals", icon: Target },
],
},
{
title: "ORGANİZASYON",
items: [
{ title: "Ekip", href: "/team", icon: Users },
{ title: "Müşteriler", href: "/clients", icon: Building2 },
{ title: "Etiketler", href: "/tags", icon: Tags },
],
},
{
title: "AI ASİSTAN",
items: [
{ title: "Sohbet", href: "/chat", icon: MessageCircleHeart },
],
},
];