tenantpilot/config/nav.ts
Ahmed Darrazi 2592b89bc6
All checks were successful
Trigger Cloudarix Deploy / call-webhook (push) Successful in 1s
feat: Add settings overview page with getAllPolicySettings
- Add new /settings-overview route displaying all policy settings in table
- Implement getAllPolicySettings() server action with tenant isolation
- Add 'All Settings' navigation item with Database icon
- Use date-fns for relative time display (lastSyncedAt)
- Server-side rendering for optimal performance
2025-12-07 01:50:34 +01:00

18 lines
601 B
TypeScript

import { SidebarLink } from "@/components/SidebarItems";
import { Cog, Globe, User, HomeIcon, Search, Database } from "lucide-react";
type AdditionalLinks = {
title: string;
links: SidebarLink[];
};
export const defaultLinks: SidebarLink[] = [
{ href: "/dashboard", title: "Home", icon: HomeIcon },
{ href: "/search", title: "Search", icon: Search },
{ href: "/settings-overview", title: "All Settings", icon: Database },
{ href: "/account", title: "Account", icon: User },
{ href: "/settings", title: "Settings", icon: Cog },
];
export const additionalLinks: AdditionalLinks[] = [];