diff --git a/components/aboutUs/Head.js b/components/aboutUs/Head.js index dbe1b78..5c57d27 100644 --- a/components/aboutUs/Head.js +++ b/components/aboutUs/Head.js @@ -1,7 +1,10 @@ +import { getStateInfo } from "@/lib/getStateInfo"; import Image from "next/image"; import React from "react"; function Head() { + const { matchedCity } = getStateInfo(); + return (
logo

- درباره نوبت ۷۲۴ + درباره {matchedCity?.site_name}

); diff --git a/components/contactUs/ContentContact.js b/components/contactUs/ContentContact.js index 3c1efa3..bf67661 100644 --- a/components/contactUs/ContentContact.js +++ b/components/contactUs/ContentContact.js @@ -1,4 +1,4 @@ -function ContentContact({ text, children, url }) { +function ContentContact({ text, children, url, label }) { const openURL = (url) => window.open(url); return ( @@ -10,7 +10,7 @@ function ContentContact({ text, children, url }) { {children}

- {text} + {label}{text}

); diff --git a/components/contactUs/call/Call.js b/components/contactUs/call/Call.js index eb24cef..112cb1c 100644 --- a/components/contactUs/call/Call.js +++ b/components/contactUs/call/Call.js @@ -1,19 +1,16 @@ import Links from "./Links"; -function Call({ isDefault }) { +function Call({ matchedCity, isDefault }) { return (

تماس با ما

-

- سامانه نوبت 724 به مردم کمک می کند تا دسترسی آسان تر و سریع تری به خدمات - پزشکی و درمانی داشته باشند. -

- +

{matchedCity.footerDescription}

+
); } diff --git a/components/contactUs/call/Links.js b/components/contactUs/call/Links.js index 677dfda..04a5824 100644 --- a/components/contactUs/call/Links.js +++ b/components/contactUs/call/Links.js @@ -5,21 +5,23 @@ import EmailC from "../../icons/EmailC"; import WhatsappC from "../../icons/WhatsappC"; import ContentContact from "../ContentContact"; -function Links() { +function Links({ matchedCity }) { return (