handle data and change design page about-us and contact-us

This commit is contained in:
Ehsan
2025-05-12 22:33:18 +03:30
parent 51396dc02b
commit 405c66d100
7 changed files with 52 additions and 19 deletions
+5 -8
View File
@@ -1,19 +1,16 @@
import Links from "./Links";
function Call({ isDefault }) {
function Call({ matchedCity, isDefault }) {
return (
<div
className={`lg:min-w-[calc(50%_+_70px)] bg-banner-about !bg-center !bg-no-repeat !bg-cover lg:pl-[18%] h-fit pt-[16px] sm:pt-[29px] md:pt-[42px] lg:pt-[55px]
className={`lg:min-w-[calc(50%_+_70px)] bg-banner-about !bg-center !bg-no-repeat !bg-cover h-fit pt-[16px] sm:pt-[29px] md:pt-[42px] lg:pt-[55px]
bg-contact rounded-[8px] pb-[30px] sm:pb-[42px] md:pb-[55px]
overflow-hidden lg:pb-[171px] px-[16px] sm:px-[27px] md:px-[39px] lg:px-[48px]
${!isDefault && 'w-full'}`}
${isDefault ? 'lg:pl-[18%]' : 'w-full'}`}
>
<p className="text-[#FAFAFA] text-[20px] font-bold">تماس با ما</p>
<p className="text-[#FAFAFA] leading-[26px] text-[14px] md:text-[16px] font-normal mt-6">
سامانه نوبت 724 به مردم کمک می کند تا دسترسی آسان تر و سریع تری به خدمات
پزشکی و درمانی داشته باشند.
</p>
<Links />
<p className="text-[#FAFAFA] leading-[26px] text-[14px] md:text-[16px] font-normal mt-6">{matchedCity.footerDescription}</p>
<Links matchedCity={matchedCity} />
</div>
);
}