fixed payment ,colors , add Mosque distance and fixed some elemnent
All checks were successful
Build frontend / build (push) Successful in 1m7s
All checks were successful
Build frontend / build (push) Successful in 1m7s
This commit is contained in:
@ -24,12 +24,12 @@ export default function BottomNav({ isOwner, isOwnerOrAgent }) {
|
||||
...(isOwnerOrAgent
|
||||
? [
|
||||
{ href: "/owner/properties", label: t("myProperties"), icon: Building },
|
||||
{ href: "/owner/bookings", label: "عقاراتي المحجوزة", icon: CalendarCheck },
|
||||
{ href: "/reservations", label: "حجوزاتي", icon: CalendarDays },
|
||||
{ href: "/owner/bookings", label: t("Myseizedproperties"), icon: CalendarCheck },
|
||||
{ href: "/reservations", label: t("Mybookings"), icon: CalendarDays },
|
||||
]
|
||||
: [{ href: "/booked-properties", label: "حجوزاتي", icon: CalendarDays }]),
|
||||
: [{ href: "/booked-properties", label: t("Mybookings"), icon: CalendarDays }]),
|
||||
|
||||
{ href: bookingsHref, label: "طلبات الحجز", icon: ClipboardList },
|
||||
{ href: bookingsHref, label: t("Orders"), icon: ClipboardList },
|
||||
{ href: "/payments", label: t("payments"), icon: CreditCard },
|
||||
|
||||
...(isOwnerOrAgent ? [{ href: "/owner/account-book", label: t("accountBook"), icon: BookOpenCheck }] : []),
|
||||
@ -61,20 +61,16 @@ export default function BottomNav({ isOwner, isOwnerOrAgent }) {
|
||||
<Link
|
||||
key={it.href}
|
||||
href={it.href}
|
||||
style={{ padding: "3px", width: "100px" }}
|
||||
style={{ padding: "3px", width: "115px" }}
|
||||
className={`
|
||||
|
||||
flex
|
||||
flex-col
|
||||
items-center
|
||||
justify-center
|
||||
rounded-xl
|
||||
|
||||
transition-all
|
||||
duration-200
|
||||
ease-out
|
||||
|
||||
|
||||
${active ? "bg-white shadow-sm text-amber-600" : "text-gray-700 hover:bg-white/80 hover:text-amber-600 hover:shadow-md"}
|
||||
`}
|
||||
>
|
||||
@ -99,7 +95,7 @@ export default function BottomNav({ isOwner, isOwnerOrAgent }) {
|
||||
)}
|
||||
</div>
|
||||
|
||||
<div className="mt-0.5 text-[10px] sm:mt-1 sm:text-xs">{it.label}</div>
|
||||
<div className="mt-0.5 text-[10px] sm:mt-1 text-center sm:text-xs">{it.label}</div>
|
||||
</Link>
|
||||
);
|
||||
})}
|
||||
|
||||
Reference in New Issue
Block a user