aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/components/dashboard/header
diff options
context:
space:
mode:
authorMohamed Bassem <me@mbassem.com>2026-02-09 01:50:41 +0000
committerMohamed Bassem <me@mbassem.com>2026-02-09 01:50:50 +0000
commitd72788ffc1633fa5ff3da89ad3fa523afc6d594d (patch)
treea8c192f5c3a733eef4879c5ec9d547ce50c00e4b /apps/web/components/dashboard/header
parent36309aecbaab4ec94791fd1fce91676b30e6bd7c (diff)
downloadkarakeep-d72788ffc1633fa5ff3da89ad3fa523afc6d594d.tar.zst
feat: link to apps and extensions, docs and twitter in profile dropdown
Diffstat (limited to 'apps/web/components/dashboard/header')
-rw-r--r--apps/web/components/dashboard/header/ProfileOptions.tsx31
1 files changed, 30 insertions, 1 deletions
diff --git a/apps/web/components/dashboard/header/ProfileOptions.tsx b/apps/web/components/dashboard/header/ProfileOptions.tsx
index b09d276e..8a2b0165 100644
--- a/apps/web/components/dashboard/header/ProfileOptions.tsx
+++ b/apps/web/components/dashboard/header/ProfileOptions.tsx
@@ -15,7 +15,17 @@ import { Separator } from "@/components/ui/separator";
import { UserAvatar } from "@/components/ui/user-avatar";
import { useSession } from "@/lib/auth/client";
import { useTranslation } from "@/lib/i18n/client";
-import { LogOut, Moon, Paintbrush, Settings, Shield, Sun } from "lucide-react";
+import {
+ BookOpen,
+ LogOut,
+ Moon,
+ Paintbrush,
+ Puzzle,
+ Settings,
+ Shield,
+ Sun,
+ Twitter,
+} from "lucide-react";
import { useTheme } from "next-themes";
import { useWhoAmI } from "@karakeep/shared-react/hooks/users";
@@ -112,6 +122,25 @@ export default function SidebarProfileOptions() {
<DarkModeToggle />
</DropdownMenuItem>
<Separator className="my-2" />
+ <DropdownMenuItem asChild>
+ <a href="https://karakeep.app/apps" target="_blank" rel="noreferrer">
+ <Puzzle className="mr-2 size-4" />
+ {t("options.apps_extensions")}
+ </a>
+ </DropdownMenuItem>
+ <DropdownMenuItem asChild>
+ <a href="https://docs.karakeep.app" target="_blank" rel="noreferrer">
+ <BookOpen className="mr-2 size-4" />
+ {t("options.documentation")}
+ </a>
+ </DropdownMenuItem>
+ <DropdownMenuItem asChild>
+ <a href="https://x.com/karakeep_app" target="_blank" rel="noreferrer">
+ <Twitter className="mr-2 size-4" />
+ {t("options.follow_us_on_x")}
+ </a>
+ </DropdownMenuItem>
+ <Separator className="my-2" />
<DropdownMenuItem onClick={() => router.push("/logout")}>
<LogOut className="mr-2 size-4" />
<span>{t("actions.sign_out")}</span>