mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-16 23:01:06 +02:00
feat(settings): register Appearance tab in user-settings nav
This commit is contained in:
parent
b3999a754e
commit
e30a7afaf1
1 changed files with 8 additions and 0 deletions
|
|
@ -7,6 +7,7 @@ import {
|
||||||
Library,
|
Library,
|
||||||
MessageCircle,
|
MessageCircle,
|
||||||
Monitor,
|
Monitor,
|
||||||
|
Palette,
|
||||||
ReceiptText,
|
ReceiptText,
|
||||||
ShieldCheck,
|
ShieldCheck,
|
||||||
WandSparkles,
|
WandSparkles,
|
||||||
|
|
@ -20,6 +21,7 @@ import { usePlatform } from "@/hooks/use-platform";
|
||||||
|
|
||||||
export type UserSettingsTab =
|
export type UserSettingsTab =
|
||||||
| "profile"
|
| "profile"
|
||||||
|
| "appearance"
|
||||||
| "api-key"
|
| "api-key"
|
||||||
| "prompts"
|
| "prompts"
|
||||||
| "community-prompts"
|
| "community-prompts"
|
||||||
|
|
@ -49,6 +51,12 @@ export function UserSettingsLayoutShell({ workspaceId, children }: UserSettingsL
|
||||||
href: `/dashboard/${workspaceId}/user-settings/profile`,
|
href: `/dashboard/${workspaceId}/user-settings/profile`,
|
||||||
icon: <CircleUser className="h-4 w-4" />,
|
icon: <CircleUser className="h-4 w-4" />,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
value: "appearance" as const,
|
||||||
|
label: "Appearance",
|
||||||
|
href: `/dashboard/${workspaceId}/user-settings/appearance`,
|
||||||
|
icon: <Palette className="h-4 w-4" />,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
value: "api-key" as const,
|
value: "api-key" as const,
|
||||||
label: t("api_key_nav_label"),
|
label: t("api_key_nav_label"),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue