aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/components/settings/sidebar/items.tsx
diff options
context:
space:
mode:
authorMohamed Bassem <me@mbassem.com>2024-10-27 12:03:14 +0000
committerMohamed Bassem <me@mbassem.com>2024-10-27 12:03:14 +0000
commiteb7da996a7c2d617d276f296cac07a6fd5648664 (patch)
tree4711de55b6f5fed3ac0cf3539099a9c0f115647e /apps/web/components/settings/sidebar/items.tsx
parent801ba36af5900c84af5a88dea37aa7d2f793fed9 (diff)
downloadkarakeep-eb7da996a7c2d617d276f296cac07a6fd5648664.tar.zst
ui: Redesign the settings page and move it to its own layout
Diffstat (limited to 'apps/web/components/settings/sidebar/items.tsx')
-rw-r--r--apps/web/components/settings/sidebar/items.tsx34
1 files changed, 34 insertions, 0 deletions
diff --git a/apps/web/components/settings/sidebar/items.tsx b/apps/web/components/settings/sidebar/items.tsx
new file mode 100644
index 00000000..999825db
--- /dev/null
+++ b/apps/web/components/settings/sidebar/items.tsx
@@ -0,0 +1,34 @@
+import React from "react";
+import { ArrowLeft, Download, KeyRound, Sparkles, User } from "lucide-react";
+
+export const settingsSidebarItems: {
+ name: string;
+ icon: JSX.Element;
+ path: string;
+}[] = [
+ {
+ name: "Back To App",
+ icon: <ArrowLeft size={18} />,
+ path: "/dashboard/bookmarks",
+ },
+ {
+ name: "User Info",
+ icon: <User size={18} />,
+ path: "/settings/info",
+ },
+ {
+ name: "AI Settings",
+ icon: <Sparkles size={18} />,
+ path: "/settings/ai",
+ },
+ {
+ name: "Import / Export",
+ icon: <Download size={18} />,
+ path: "/settings/import",
+ },
+ {
+ name: "API Keys",
+ icon: <KeyRound size={18} />,
+ path: "/settings/api-keys",
+ },
+];