'use client'; import Image from 'next/image'; import Link from 'next/link'; import { usePathname } from 'next/navigation'; interface NavItem { label: string; href: string; icon: string; } const navItems: NavItem[] = [ { label: 'Profile Settings', href: '/agent/settings', icon: '/assets/icons/settings-profile-icon.svg', }, { label: 'Password Security', href: '/agent/settings/password', icon: '/assets/icons/settings-lock-icon.svg', }, { label: 'Notifications', href: '/agent/settings/notifications', icon: '/assets/icons/settings-bell-icon.svg', }, { label: 'Privacy', href: '/agent/settings/privacy', icon: '/assets/icons/settings-privacy-icon.svg', }, ]; interface SettingsSidebarProps { profileImage?: string; name?: string; title?: string; } export function SettingsSidebar({ profileImage = '/assets/icons/user-placeholder-icon.svg', name = 'Brain Neeland', title = 'Top Real Estate Agent', }: SettingsSidebarProps) { const pathname = usePathname(); return (
{title}