aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/components/dashboard/sidebar/SidebarProfileOptions.tsx
diff options
context:
space:
mode:
authorMohamedBassem <me@mbassem.com>2024-04-26 10:35:36 +0100
committerMohamedBassem <me@mbassem.com>2024-04-26 10:35:36 +0100
commit9dace185acff4002aec8265fc010db49d91c7d7f (patch)
tree24ea7eaee7e99a689c6b51912e30993c74eb97dc /apps/web/components/dashboard/sidebar/SidebarProfileOptions.tsx
parentd07f2c90065f53d36a3fc0e7db54c32d54a2a332 (diff)
downloadkarakeep-9dace185acff4002aec8265fc010db49d91c7d7f.tar.zst
feature: A new cleanups page to suggest ways to tidy up your bookmarks
Diffstat (limited to 'apps/web/components/dashboard/sidebar/SidebarProfileOptions.tsx')
-rw-r--r--apps/web/components/dashboard/sidebar/SidebarProfileOptions.tsx8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/web/components/dashboard/sidebar/SidebarProfileOptions.tsx b/apps/web/components/dashboard/sidebar/SidebarProfileOptions.tsx
index c75e292a..c2ae493a 100644
--- a/apps/web/components/dashboard/sidebar/SidebarProfileOptions.tsx
+++ b/apps/web/components/dashboard/sidebar/SidebarProfileOptions.tsx
@@ -1,5 +1,6 @@
"use client";
+import Link from "next/link";
import { useToggleTheme } from "@/components/theme-provider";
import { Button } from "@/components/ui/button";
import {
@@ -22,6 +23,7 @@ import {
LogOut,
Moon,
MoreHorizontal,
+ Paintbrush,
Sun,
} from "lucide-react";
import { signOut } from "next-auth/react";
@@ -98,6 +100,12 @@ export default function SidebarProfileOptions() {
</Button>
</DropdownMenuTrigger>
<DropdownMenuContent className="w-fit">
+ <DropdownMenuItem asChild>
+ <Link href="/dashboard/cleanups">
+ <Paintbrush className="mr-2 size-4" />
+ Cleanups
+ </Link>
+ </DropdownMenuItem>
<DropdownMenuItem onClick={toggleTheme}>
<DarkModeToggle />
</DropdownMenuItem>