diff options
| author | MohamedBassem <me@mbassem.com> | 2024-04-26 10:35:36 +0100 |
|---|---|---|
| committer | MohamedBassem <me@mbassem.com> | 2024-04-26 10:35:36 +0100 |
| commit | 9dace185acff4002aec8265fc010db49d91c7d7f (patch) | |
| tree | 24ea7eaee7e99a689c6b51912e30993c74eb97dc /apps/web/components/dashboard/sidebar | |
| parent | d07f2c90065f53d36a3fc0e7db54c32d54a2a332 (diff) | |
| download | karakeep-9dace185acff4002aec8265fc010db49d91c7d7f.tar.zst | |
feature: A new cleanups page to suggest ways to tidy up your bookmarks
Diffstat (limited to 'apps/web/components/dashboard/sidebar')
| -rw-r--r-- | apps/web/components/dashboard/sidebar/SidebarProfileOptions.tsx | 8 |
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> |
