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
+2 -3
View File
@@ -5,12 +5,11 @@ import Connect from "./Connect";
function ContactUsPage() {
const { matchedCity } = getStateInfo();
const isDefault = matchedCity?.id === "63";
console.log(isDefault);
return (
<div className="w-full pt-[24px] sm:pt-[56px] md:pt-[88px] lg:pt-[120px] mt-[56px] padding-responsive flex flex-col lg:flex-row items-center justify-between h-fit">
<Call isDefault={isDefault} />
{isDefault && (
<Call matchedCity={matchedCity} isDefault={isDefault} />
{matchedCity?.id === "63" && (
<Connect />
)}
</div>