From 55b03ad6f469a4773c9613c01b7ebd0bf4ff29e9 Mon Sep 17 00:00:00 2001 From: m7amedez5511 Date: Mon, 17 Aug 2026 16:24:58 +0300 Subject: [PATCH] update user page and logo to be link also update profile page --- app/components/layout/ConditionalNavbar.tsx | 2 +- app/components/layout/Sidebar.tsx | 2 +- .../system/ExtensionAttributeCleanup.tsx | 40 +++ app/dashboard/profile/page.tsx | 142 +++++----- app/dashboard/users/page.tsx | 5 + app/home/page.tsx | 18 +- app/layout.tsx | 4 + src/Components/User/Toast.tsx | 56 ---- src/Components/User/UserFormModal.tsx | 48 ++-- src/Components/auth/login.tsx | 263 ++++++++++++++++-- src/hooks/useEditFormSync.ts | 22 ++ src/utils/logo.tsx | 62 +++-- 12 files changed, 453 insertions(+), 211 deletions(-) create mode 100644 app/components/system/ExtensionAttributeCleanup.tsx delete mode 100644 src/Components/User/Toast.tsx create mode 100644 src/hooks/useEditFormSync.ts diff --git a/app/components/layout/ConditionalNavbar.tsx b/app/components/layout/ConditionalNavbar.tsx index a03aba9..468b29a 100644 --- a/app/components/layout/ConditionalNavbar.tsx +++ b/app/components/layout/ConditionalNavbar.tsx @@ -16,5 +16,5 @@ export default function ConditionalNavbar() { const isDashboardRoute = pathname?.startsWith("/dashboard"); if (user || isDashboardRoute) return null; - return ; + return ""; } \ No newline at end of file diff --git a/app/components/layout/Sidebar.tsx b/app/components/layout/Sidebar.tsx index e743219..9d2792a 100644 --- a/app/components/layout/Sidebar.tsx +++ b/app/components/layout/Sidebar.tsx @@ -325,7 +325,7 @@ function SidebarContent({ justifyContent: compact ? "center" : "flex-start", }} > - {compact ? : } + {compact ? : }