aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/components/dashboard/sidebar
diff options
context:
space:
mode:
authorMohamedBassem <me@mbassem.com>2024-10-12 18:12:32 +0000
committerMohamedBassem <me@mbassem.com>2024-10-12 18:12:32 +0000
commitb36eea8c579ed542c88a914d0b44c52e9d92b0f5 (patch)
treeb7c5f2c25e7f778f7ee1896e7a2e8874ce784cb9 /apps/web/components/dashboard/sidebar
parent0d945061ba0f4ead668591d3e447789e36b115ab (diff)
downloadkarakeep-b36eea8c579ed542c88a914d0b44c52e9d92b0f5.tar.zst
feature(web): Implement a new profile options drop menu and move user and admin settings there
Diffstat (limited to 'apps/web/components/dashboard/sidebar')
-rw-r--r--apps/web/components/dashboard/sidebar/ModileSidebar.tsx5
-rw-r--r--apps/web/components/dashboard/sidebar/Sidebar.tsx2
2 files changed, 2 insertions, 5 deletions
diff --git a/apps/web/components/dashboard/sidebar/ModileSidebar.tsx b/apps/web/components/dashboard/sidebar/ModileSidebar.tsx
index 1117dd61..7ccf6b8d 100644
--- a/apps/web/components/dashboard/sidebar/ModileSidebar.tsx
+++ b/apps/web/components/dashboard/sidebar/ModileSidebar.tsx
@@ -1,6 +1,5 @@
-import ProfileOptions from "@/components/dashboard/header/ProfileOptions";
import HoarderLogoIcon from "@/public/icons/logo-icon.svg";
-import { ClipboardList, Search, Settings, Tag } from "lucide-react";
+import { ClipboardList, Search, Tag } from "lucide-react";
import MobileSidebarItem from "./ModileSidebarItem";
@@ -15,8 +14,6 @@ export default async function MobileSidebar() {
<MobileSidebarItem logo={<Search />} path="/dashboard/search" />
<MobileSidebarItem logo={<ClipboardList />} path="/dashboard/lists" />
<MobileSidebarItem logo={<Tag />} path="/dashboard/tags" />
- <MobileSidebarItem logo={<Settings />} path="/dashboard/settings" />
- <ProfileOptions />
</ul>
</aside>
);
diff --git a/apps/web/components/dashboard/sidebar/Sidebar.tsx b/apps/web/components/dashboard/sidebar/Sidebar.tsx
index 13260e07..14d019ff 100644
--- a/apps/web/components/dashboard/sidebar/Sidebar.tsx
+++ b/apps/web/components/dashboard/sidebar/Sidebar.tsx
@@ -66,7 +66,7 @@ export default async function Sidebar() {
</div>
<Separator />
<AllLists initialData={lists} />
- <div className="mt-auto flex items-center border-t pt-2">
+ <div className="mt-auto flex items-center border-t pt-2 text-sm text-gray-400">
Hoarder v{serverConfig.serverVersion}
</div>
</aside>