Skip to content

Commit 0189e5b

Browse files
committed
next: Added Project Routes
1 parent a12a567 commit 0189e5b

File tree

2 files changed

+49
-1
lines changed

2 files changed

+49
-1
lines changed
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
import ClientConfig from 'lucide-svelte/icons/braces';
2+
import ApiKey from 'lucide-svelte/icons/key';
3+
import Integration from 'lucide-svelte/icons/plug-2';
4+
import Settings from 'lucide-svelte/icons/settings';
5+
import Webhook from 'lucide-svelte/icons/webhook';
6+
7+
import type { NavigationItem } from '../../routes';
8+
9+
export const routes: NavigationItem[] = [
10+
{
11+
group: 'Project Settings',
12+
href: '/next/project/[id]/manage',
13+
icon: Settings,
14+
title: 'General'
15+
},
16+
{
17+
group: 'Project Settings',
18+
href: '/next/project/[id]/manage/apikeys',
19+
icon: ApiKey,
20+
title: 'API Keys'
21+
},
22+
{
23+
group: 'Project Settings',
24+
href: '/next/project/[id]/manage/settings',
25+
icon: Settings,
26+
title: 'Settings'
27+
},
28+
{
29+
group: 'Project Settings',
30+
href: '/next/project/[id]/manage/config',
31+
icon: ClientConfig,
32+
title: 'Client Configuration'
33+
},
34+
{
35+
group: 'Project Settings',
36+
href: '/next/project/[id]/manage/webhooks',
37+
icon: Webhook,
38+
title: 'Webhooks'
39+
},
40+
{
41+
group: 'Project Settings',
42+
href: '/next/project/[id]/manage/integrations',
43+
icon: Integration,
44+
title: 'Integrations'
45+
}
46+
];

src/Exceptionless.Web/ClientApp/src/routes/(app)/routes.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import GitHub from 'lucide-svelte/icons/github';
99
import type { NavigationItem } from '../routes';
1010

1111
import { routes as accountRoutes } from './account/routes';
12+
import { routes as projectRoutes } from './project/routes';
1213

1314
export const routes: NavigationItem[] = [
1415
{
@@ -64,5 +65,6 @@ export const routes: NavigationItem[] = [
6465
openInNewTab: true,
6566
title: 'API'
6667
},
67-
...accountRoutes
68+
...accountRoutes,
69+
...projectRoutes
6870
];

0 commit comments

Comments
 (0)