diff --git a/app/component/Logo.js b/app/component/Logo.js index 9928a04..7817d3d 100644 --- a/app/component/Logo.js +++ b/app/component/Logo.js @@ -3,19 +3,27 @@ import Link from "next/link"; import React from "react"; function Logo({ isAbsolute, matchedCity }) { + const siteName = + matchedCity?.site_name || + (matchedCity?.name ? `${matchedCity.name} نوبت` : "نوبت ۷۲۴"); return ( - +
logo

- {matchedCity?.site_name || - (matchedCity?.name ? `${matchedCity.name} نوبت` : "نوبت ۷۲۴")} + {siteName}

diff --git a/app/component/ProfressDetail.js b/app/component/ProfressDetail.js index 0e0a5d5..7955681 100644 --- a/app/component/ProfressDetail.js +++ b/app/component/ProfressDetail.js @@ -21,6 +21,7 @@ function ProgressDetail({ data, idx }) { diff --git a/components/doctor/detailDoctor/Title.js b/components/doctor/detailDoctor/Title.js index 1c4267b..70c6d45 100644 --- a/components/doctor/detailDoctor/Title.js +++ b/components/doctor/detailDoctor/Title.js @@ -39,13 +39,13 @@ function Title({ doctor }) { -

+

تخصص: {doctor?.specialties?.map( (item, idx) => `${item.name} ${doctor.specialties.length === idx + 1 ? "" : "|"} ` )} -

+
@@ -92,6 +92,7 @@ function Title({ doctor }) { href={url} target="_blank" rel="noopener noreferrer" + aria-label={key} className="flex items-center justify-center p-1.5 rounded-full bg-[#F8F8FF]" > diff --git a/components/doctor/poster/QrImg.js b/components/doctor/poster/QrImg.js index 5e30d61..57a5b94 100644 --- a/components/doctor/poster/QrImg.js +++ b/components/doctor/poster/QrImg.js @@ -21,7 +21,7 @@ export default function QrImg() { return (
{qrCodeData ? ( - + کد QR پروفایل پزشک ) : (

در حال بارگذاری...

)} diff --git a/components/layout/header/list/col/ButtonMenu.js b/components/layout/header/list/col/ButtonMenu.js index 3ee939d..a8f997c 100644 --- a/components/layout/header/list/col/ButtonMenu.js +++ b/components/layout/header/list/col/ButtonMenu.js @@ -4,6 +4,7 @@ function ButtonMenu({ isActive, setIsActive }) { return (