+
-
+
{!isAuthenticated ? 'زائر' : isOwner ? 'مالك' : 'عميل'}
-
+
{isMounted && unreadCount > 0 && (
+
{theme === 'dark' ? : }
المفضلة
-
+
@@ -752,7 +752,7 @@ export default function ClientLayout({ children }) {
الإشعارات
-
{theme === 'dark' ? 'وضع نهاري' : 'وضع ليلي'}
diff --git a/app/components/BottomNav.js b/app/components/BottomNav.js
index 7b095d0..a1e74a5 100644
--- a/app/components/BottomNav.js
+++ b/app/components/BottomNav.js
@@ -29,8 +29,8 @@ export default function BottomNav({ isOwner, isOwnerOrAgent }) {
};
return (
-
-
+
+
{items.map((it) => {
const Icon = it.icon;
diff --git a/app/components/NavLinks.js b/app/components/NavLinks.js
index 2830a83..7574220 100644
--- a/app/components/NavLinks.js
+++ b/app/components/NavLinks.js
@@ -3,7 +3,7 @@ import { usePathname } from 'next/navigation';
import Link from 'next/link';
import { LogIn, UserPlus } from 'lucide-react';
-export function NavLink({ href, children }) {
+export function NavLink({ href, children, light }) {
const pathname = usePathname();
const isActive = pathname === href || pathname.startsWith(href + '/');
return (
@@ -11,19 +11,19 @@ export function NavLink({ href, children }) {
href={href}
className={`px-5 py-3 rounded-lg font-semibold transition-all duration-300 text-lg relative group ${
isActive
- ? 'text-amber-600 bg-amber-50'
- : 'text-gray-700 hover:text-amber-600 hover:bg-gray-100'
+ ? light ? 'text-amber-300 bg-white/10' : 'text-amber-600 bg-amber-50'
+ : light ? 'text-white/90 hover:text-amber-300 hover:bg-white/10' : 'text-gray-700 hover:text-amber-600 hover:bg-gray-100'
}`}
>
{children}
);
}
-export function MobileNavLink({ href, children, onClick }) {
+export function MobileNavLink({ href, children, onClick, light }) {
const pathname = usePathname();
const isActive = pathname === href || pathname.startsWith(href + '/');
return (
@@ -32,8 +32,8 @@ export function MobileNavLink({ href, children, onClick }) {
onClick={onClick}
className={`block px-3 py-2 rounded-md text-base font-medium transition-colors ${
isActive
- ? 'text-amber-600 bg-amber-50'
- : 'text-gray-700 hover:text-amber-600 hover:bg-gray-50'
+ ? light ? 'text-amber-300 bg-white/10' : 'text-amber-600 bg-amber-50'
+ : light ? 'text-white/80 hover:text-amber-300 hover:bg-white/10' : 'text-gray-700 hover:text-amber-600 hover:bg-gray-50'
}`}
>
{children}
diff --git a/app/page.js b/app/page.js
index ae1dc24..d4c79ea 100644
--- a/app/page.js
+++ b/app/page.js
@@ -275,7 +275,7 @@ export default function HomePage() {
return (
-
+