diff --git a/app/dashboard/settings/SettingsPage.tsx b/app/dashboard/settings/SettingsPage.tsx index b284f1d..e5a738e 100644 --- a/app/dashboard/settings/SettingsPage.tsx +++ b/app/dashboard/settings/SettingsPage.tsx @@ -70,7 +70,7 @@ export default function SettingsPage({ username, name, email }: SettingsPageProp
-
+

Profile Settings

Manage your profile settings

@@ -89,7 +89,7 @@ export default function SettingsPage({ username, name, email }: SettingsPageProp
-
+

Password Settings

Manage your password

diff --git a/components/Sidebar.tsx b/components/Sidebar.tsx index 0f05e9d..4e41ead 100644 --- a/components/Sidebar.tsx +++ b/components/Sidebar.tsx @@ -5,6 +5,7 @@ import Breadcrumbs from "./Breadcrumbs" import { useState } from "react" import Link from "next/link" +import { usePathname } from "next/navigation" import { Home, Globe, @@ -31,6 +32,7 @@ interface SidebarProps { export default function Sidebar({ children, username, fullName, breadcrumbPath }: SidebarProps) { const router = useRouter() + const pathname = usePathname() const [isProfileOpen, setIsProfileOpen] = useState(false) const [isMobileMenuOpen, setIsMobileMenuOpen] = useState(false) @@ -87,7 +89,10 @@ export default function Sidebar({ children, username, fullName, breadcrumbPath }
  • - + Home @@ -97,25 +102,37 @@ export default function Sidebar({ children, username, fullName, breadcrumbPath } Resources
  • - + Sites
  • - + Servers
  • - + Applications
  • - + Uptime Pages @@ -125,13 +142,19 @@ export default function Sidebar({ children, username, fullName, breadcrumbPath } System
  • - + Maintenance
  • - + Settings