Skip to content

Commit 3760d49

Browse files
committed
refactor: enhance link styling in AuthenticatedUserMenu for better UI consistency
1 parent 056c7d7 commit 3760d49

File tree

1 file changed

+24
-5
lines changed

1 file changed

+24
-5
lines changed

src/components/Navbar/AuthenticatedUserMenu.tsx

Lines changed: 24 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,35 @@ const AuthenticatedUserMenu = () => {
3939
</DropdownMenuTrigger>
4040
<DropdownMenuContent>
4141
<DropdownMenuItem asChild>
42-
<Link href={`/@${authSession?.user?.username}`}>
42+
<Link
43+
className="text-foreground cursor-pointer"
44+
href={`/@${authSession?.user?.username}`}
45+
>
4346
{_t("My profile")}
4447
</Link>
4548
</DropdownMenuItem>
4649
<DropdownMenuItem asChild>
47-
<Link href="/dashboard">{_t("Dashboard")}</Link>
50+
<Link className="text-foreground cursor-pointer" href="/dashboard">
51+
{_t("Dashboard")}
52+
</Link>
53+
</DropdownMenuItem>
54+
<DropdownMenuItem asChild>
55+
<Link
56+
className="text-foreground cursor-pointer"
57+
href="/dashboard/bookmarks"
58+
>
59+
{_t("Bookmarks")}
60+
</Link>
61+
</DropdownMenuItem>
62+
<DropdownMenuItem>
63+
<Link
64+
className="text-foreground cursor-pointer"
65+
href="/dashboard/settings"
66+
>
67+
{_t("Settings")}
68+
</Link>
4869
</DropdownMenuItem>
49-
<DropdownMenuItem>{_t("Bookmarks")}</DropdownMenuItem>
50-
<DropdownMenuItem>{_t("Settings")}</DropdownMenuItem>
51-
<DropdownMenuItem onClick={handleLogout}>
70+
<DropdownMenuItem className="cursor-pointer" onClick={handleLogout}>
5271
{_t("Logout")}
5372
</DropdownMenuItem>
5473
</DropdownMenuContent>

0 commit comments

Comments
 (0)