add state of page in url, add location and working_days on list in clinics page, fix update list clinic with page and limit value, hide pagination when list of clinic is empty, round image of doctor and appo in doctor item
This commit is contained in:
@@ -2,17 +2,17 @@ import TelefonPoster from "@/components/icons/TelefonPoster";
|
||||
|
||||
function Telefon({ data }) {
|
||||
return (
|
||||
<div className="flex flex-col items-start justify-start mt-[40px]">
|
||||
<div className={`flex-col items-start justify-start mt-[40px] ${data?.address[0]?.phone ? 'flex' : 'hidden'}`}>
|
||||
<div className="flex items-center justify-start gap-[6px]">
|
||||
<TelefonPoster />
|
||||
<p className="text-[#E7EEF6] text-[20px] font-semibold">تلفن:</p>
|
||||
</div>
|
||||
<p className="text-[#E7EEF6] text-[16px] font-normal mt-[16px]">
|
||||
{data?.phone}
|
||||
</p>
|
||||
<p className="text-[#E7EEF6] text-[16px] font-normal mt-[12px]">
|
||||
{data?.phone} - {data?.phone}
|
||||
{data?.address[0]?.phone}
|
||||
</p>
|
||||
{/* <p className="text-[#E7EEF6] text-[16px] font-normal mt-[12px]">
|
||||
{data?.address[0]?.phone} - {data?.address[0]?.phone}
|
||||
</p> */}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user