From ba1a5342e5ab5bec3e695b9d3189fa5436c3e47a Mon Sep 17 00:00:00 2001 From: Radhe Krishna singh <48623037+rakrisi@users.noreply.github.com> Date: Fri, 27 Dec 2024 15:06:53 +0530 Subject: [PATCH] feat: nav links added in profile dropdown (#68) * feat: navigation link * feat: clean up navigation link formatting * fix: update billing link to correct settings path * fix: update billing link to correct settings path * fix: update profile-dropdown links wrapping --------- Co-authored-by: satnaing --- src/components/layout/nav-user.tsx | 25 ++++++++++++++++--------- src/components/profile-dropdown.tsx | 25 ++++++++++++++++--------- 2 files changed, 32 insertions(+), 18 deletions(-) diff --git a/src/components/layout/nav-user.tsx b/src/components/layout/nav-user.tsx index f4e950ad..6391f33b 100644 --- a/src/components/layout/nav-user.tsx +++ b/src/components/layout/nav-user.tsx @@ -1,3 +1,4 @@ +import { Link } from '@tanstack/react-router' import { BadgeCheck, Bell, @@ -81,17 +82,23 @@ export function NavUser({ - - - Account + + + + Account + - - - Billing + + + + Billing + - - - Notifications + + + + Notifications + diff --git a/src/components/profile-dropdown.tsx b/src/components/profile-dropdown.tsx index 845c46bd..8686bbf5 100644 --- a/src/components/profile-dropdown.tsx +++ b/src/components/profile-dropdown.tsx @@ -1,3 +1,4 @@ +import { Link } from '@tanstack/react-router' import { Avatar, AvatarFallback, AvatarImage } from '@/components/ui/avatar' import { Button } from '@/components/ui/button' import { @@ -33,17 +34,23 @@ export function ProfileDropdown() { - - Profile - ⇧⌘P + + + Profile + ⇧⌘P + - - Billing - ⌘B + + + Billing + ⌘B + - - Settings - ⌘S + + + Settings + ⌘S + New Team