mirror of
https://github.com/soconnor0919/beenvoice.git
synced 2026-05-08 09:38:55 -04:00
0e46fdafb2
- Implemented `AdministrationContent` component for managing account roles. - Created `AdministrationPage` to serve as the main entry point for administration tasks. - Added PDF preview functionality with `PdfPreviewFrame` component for invoice generation. - Introduced `InputColor` component for advanced color selection with various formats. - Established color conversion utilities in `color-converter.ts` for handling color formats. - Defined appearance-related schemas and types in `appearance.ts` for consistent theme management.
47 lines
1.1 KiB
TypeScript
47 lines
1.1 KiB
TypeScript
import {
|
|
Settings,
|
|
LayoutDashboard,
|
|
Users,
|
|
FileText,
|
|
Building,
|
|
Receipt,
|
|
BarChart2,
|
|
Shield,
|
|
} from "lucide-react";
|
|
|
|
export interface NavLink {
|
|
name: string;
|
|
href: string;
|
|
icon: React.ComponentType<{ className?: string }>;
|
|
}
|
|
|
|
export interface NavSection {
|
|
title: string;
|
|
links: NavLink[];
|
|
}
|
|
|
|
export const navigationConfig: NavSection[] = [
|
|
{
|
|
title: "Main",
|
|
links: [
|
|
{ name: "Dashboard", href: "/dashboard", icon: LayoutDashboard },
|
|
{ name: "Clients", href: "/dashboard/clients", icon: Users },
|
|
{ name: "Businesses", href: "/dashboard/businesses", icon: Building },
|
|
{ name: "Invoices", href: "/dashboard/invoices", icon: FileText },
|
|
{ name: "Expenses", href: "/dashboard/expenses", icon: Receipt },
|
|
{ name: "Reports", href: "/dashboard/reports", icon: BarChart2 },
|
|
],
|
|
},
|
|
{
|
|
title: "Account",
|
|
links: [
|
|
{ name: "Settings", href: "/dashboard/settings", icon: Settings },
|
|
{
|
|
name: "Administration",
|
|
href: "/dashboard/administration",
|
|
icon: Shield,
|
|
},
|
|
],
|
|
},
|
|
];
|