From 8536ad8204c47f01d1f7f930b10dba2c1c18812c Mon Sep 17 00:00:00 2001 From: Lucas Oliveira Date: Fri, 26 Apr 2024 01:37:51 +0200 Subject: [PATCH] Added more settings options --- src/frontend/src/pages/SettingsPage/index.tsx | 42 ++++++++++++++++++- src/frontend/src/utils/styleUtils.ts | 6 +++ 2 files changed, 47 insertions(+), 1 deletion(-) diff --git a/src/frontend/src/pages/SettingsPage/index.tsx b/src/frontend/src/pages/SettingsPage/index.tsx index 0bf50a46e..48941fd06 100644 --- a/src/frontend/src/pages/SettingsPage/index.tsx +++ b/src/frontend/src/pages/SettingsPage/index.tsx @@ -15,6 +15,46 @@ export default function SettingsPage(): JSX.Element { }, [pathname]); const sidebarNavItems = [ + { + title: "General", + href: "/settings/general", + icon: ( + + ), + }, + { + title: "Theme", + href: "/settings/theme", + icon: ( + + ), + }, + { + title: "Bundles", + href: "/settings/bundles", + icon: ( + + ), + }, + { + title: "Integrations", + href: "/settings/integrations", + icon: ( + + ), + }, { title: "Global Variables", href: "/settings/global-variables", @@ -26,7 +66,7 @@ export default function SettingsPage(): JSX.Element { ), }, { - title: "Keyboard Shortcuts", + title: "Shortcuts", href: "/settings/shortcuts", icon: ( diff --git a/src/frontend/src/utils/styleUtils.ts b/src/frontend/src/utils/styleUtils.ts index ea646109c..25e5ec4fb 100644 --- a/src/frontend/src/utils/styleUtils.ts +++ b/src/frontend/src/utils/styleUtils.ts @@ -5,6 +5,7 @@ import { ArrowUpToLine, Bell, Binary, + Blocks, BookMarked, BookmarkPlus, Bot, @@ -87,6 +88,7 @@ import { MoreHorizontal, Network, Package2, + Palette, Paperclip, Pencil, PencilLine, @@ -109,6 +111,7 @@ import { Share2, Shield, Sliders, + SlidersHorizontal, Snowflake, Sparkles, Square, @@ -414,6 +417,9 @@ export const nodeIconsLucide: iconsType = { MoonIcon, Bell, ChevronLeft, + SlidersHorizontal, + Palette, + Blocks, ChevronDown, ArrowLeft, Shield,