From 6e1b94ae320a68eb90be1c271515d83b0463846a Mon Sep 17 00:00:00 2001 From: psiddharthdesign <107192927+psiddharthdesign@users.noreply.github.com> Date: Wed, 7 Aug 2024 19:04:36 +0530 Subject: [PATCH] fix / user nav dropdown styling changes --- .../@sidebar/default.tsx | 2 +- .../NavigationMenu/UserNav/UserNav.tsx | 3 +- .../NavigationMenu/UserNav/UserNavPopover.tsx | 2 +- .../UserNav/UserSidebarMenu.tsx | 90 ++++++++++--------- 4 files changed, 53 insertions(+), 44 deletions(-) diff --git a/src/app/(dynamic-pages)/(authenticated-pages)/(application-pages)/org/[organizationId]/(specific-organization-pages)/@sidebar/default.tsx b/src/app/(dynamic-pages)/(authenticated-pages)/(application-pages)/org/[organizationId]/(specific-organization-pages)/@sidebar/default.tsx index dd3cf001..77670a16 100644 --- a/src/app/(dynamic-pages)/(authenticated-pages)/(application-pages)/org/[organizationId]/(specific-organization-pages)/@sidebar/default.tsx +++ b/src/app/(dynamic-pages)/(authenticated-pages)/(application-pages)/org/[organizationId]/(specific-organization-pages)/@sidebar/default.tsx @@ -22,7 +22,7 @@ async function OrganizationSidebarInternal({
diff --git a/src/components/NavigationMenu/UserNav/UserNav.tsx b/src/components/NavigationMenu/UserNav/UserNav.tsx index f1e115b3..dd8ac824 100644 --- a/src/components/NavigationMenu/UserNav/UserNav.tsx +++ b/src/components/NavigationMenu/UserNav/UserNav.tsx @@ -1,3 +1,4 @@ +import { AppAdminSidebarLink } from '@/components/AppAdminSidebarLink'; import { Notifications } from '@/components/NavigationMenu/Notifications'; import { ThemeToggle } from '@/components/ThemeToggle'; import { getUserProfile } from '@/data/user/user'; @@ -31,7 +32,7 @@ export async function UserNav() { appAdminSidebarLink={
- {/* */} + } /> diff --git a/src/components/NavigationMenu/UserNav/UserNavPopover.tsx b/src/components/NavigationMenu/UserNav/UserNavPopover.tsx index a624c575..91236048 100644 --- a/src/components/NavigationMenu/UserNav/UserNavPopover.tsx +++ b/src/components/NavigationMenu/UserNav/UserNavPopover.tsx @@ -46,7 +46,7 @@ export const UserNavPopover = ({ />
- + +
-
+
-
+
{userFullName}
@@ -50,17 +51,19 @@ export function UserSidebarMenu({
-
- - Account settings - - {/* +
+ + + Account settings + + {/* Developer Settings */} - - Security Settings - + + Security Settings + - {/* {appAdminSidebarLink} */} -
- {/* + {/* {appAdminSidebarLink} */} + {/*
*/} - {/*
*/} - - - Log out - + {/*
*/} + +
+ +
+ + + Log out + +
+
); }