All checks were successful
Trigger Cloudarix Deploy / call-webhook (push) Successful in 1s
- 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
18 lines
601 B
TypeScript
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[] = [];
|