From 9d3d02c88a099a35e132c6bd45b1512ec6e1559c Mon Sep 17 00:00:00 2001 From: hamzaobed7 Date: Mon, 10 Aug 2026 22:27:28 +0300 Subject: [PATCH] fix icons --- app/components/BottomNav.js | 24 +++++++++++++----------- app/components/NotificationHandler.js | 6 +++--- app/utils/firebase.js | 3 +-- public/firebase-messaging-sw.js | 3 +++ 4 files changed, 20 insertions(+), 16 deletions(-) diff --git a/app/components/BottomNav.js b/app/components/BottomNav.js index 62475f1..5d39f76 100644 --- a/app/components/BottomNav.js +++ b/app/components/BottomNav.js @@ -2,7 +2,7 @@ import Link from "next/link"; import { usePathname } from "next/navigation"; -import { Home, Building, Calendar, CreditCard, Briefcase, BookOpen } from "lucide-react"; +import { Home, Building2, Building, CalendarCheck, CalendarDays, ClipboardList, CreditCard, BookOpenCheck } from "lucide-react"; import React, { useEffect, useState } from "react"; import { useTranslation } from "react-i18next"; import { label } from "framer-motion/client"; @@ -19,18 +19,20 @@ export default function BottomNav({ isOwner, isOwnerOrAgent }) { const items = [ { href: "/", label: t("home"), icon: Home }, - { href: "/properties", label: t("ourProperties"), icon: Building }, + { href: "/properties", label: t("ourProperties"), icon: Building2 }, + ...(isOwnerOrAgent ? [ - { href: "/owner/properties", label: t("myProperties"), icon: Briefcase }, - { href: "/owner/bookings", label: "عقاراتي المحجوزة", icon: Briefcase }, - { href: "/reservations", label: "حجوزاتي", icon: Calendar }, + { href: "/owner/properties", label: t("myProperties"), icon: Building }, + { href: "/owner/bookings", label: "عقاراتي المحجوزة", icon: CalendarCheck }, + { href: "/reservations", label: "حجوزاتي", icon: CalendarDays }, ] - : [{ href: "/booked-properties", label: "حجوزاتي", icon: Briefcase }]), - { href: bookingsHref, label: "طلبات الحجز", icon: Calendar }, + : [{ href: "/booked-properties", label: "حجوزاتي", icon: CalendarDays }]), + { href: bookingsHref, label: "طلبات الحجز", icon: ClipboardList }, { href: "/payments", label: t("payments"), icon: CreditCard }, - ...(isOwnerOrAgent ? [{ href: "/owner/account-book", label: t("accountBook"), icon: BookOpen }] : []), + + ...(isOwnerOrAgent ? [{ href: "/owner/account-book", label: t("accountBook"), icon: BookOpenCheck }] : []), ]; const isActive = (href) => { @@ -39,13 +41,13 @@ export default function BottomNav({ isOwner, isOwnerOrAgent }) { }; return ( -
+