check lighthous
This commit is contained in:
@@ -11,7 +11,7 @@ import ClockD from "@/components/icons/ClockD";
|
||||
import LikeD from "@/components/icons/LikeD";
|
||||
import PointD from "@/components/icons/PointD";
|
||||
|
||||
function ItemDoctor({ doctor, loading, setDoctors }) {
|
||||
function ItemDoctor({ doctor, loading, setDoctors, priority = false }) {
|
||||
const handleLoading = () => {
|
||||
setDoctors((prevDoctors) =>
|
||||
prevDoctors.map((item) =>
|
||||
@@ -33,6 +33,7 @@ function ItemDoctor({ doctor, loading, setDoctors }) {
|
||||
alt="image-doctor"
|
||||
src={doctor?.img?.[0]?.url || "/assets/images/user.png"}
|
||||
className="object-contain rounded-full w-[64px] md:w-[68px] lg:w-[72px] h-[64px] md:h-[68px] lg:h-[72px]"
|
||||
priority={priority}
|
||||
/>
|
||||
</CircularLoading>
|
||||
<div className="flex flex-col items-start justify-center gap-2">
|
||||
|
||||
@@ -13,7 +13,7 @@ function Logo({ isAbsolute, matchedCity }) {
|
||||
height={30}
|
||||
alt="logo"
|
||||
/>
|
||||
<p className="text-[#526CAC] text-[14px] lg:text-[16px] font-bold font-kalame">
|
||||
<p className="text-[#526CAC] text-[14px] lg:text-[16px] font-bold">
|
||||
{matchedCity?.site_name || "نوبت ۷۲۴"}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
+12
-64
@@ -2,116 +2,69 @@
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
|
||||
/* Font Kalame */
|
||||
|
||||
@font-face {
|
||||
font-family: kalame;
|
||||
src: url(../public/fonts/kalame/StandardFonts/TTF/Kalameh-Thin.ttf);
|
||||
font-weight: 100;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: kalame;
|
||||
src: url(../public/fonts/kalame/StandardFonts/TTF/Kalameh-ExtraLight.ttf);
|
||||
font-weight: 200;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: kalame;
|
||||
src: url(../public/fonts/kalame/StandardFonts/TTF/Kalameh-Light.ttf);
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: kalame;
|
||||
src: url(../public/fonts/kalame/StandardFonts/TTF/Kalameh-Regular.ttf);
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: kalame;
|
||||
src: url(../public/fonts/kalame/StandardFonts/TTF/Kalameh-Medium.ttf);
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: kalame;
|
||||
src: url(../public/fonts/kalame/StandardFonts/TTF/Kalameh-SemiBold.ttf);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: kalame;
|
||||
src: url(../public/fonts/kalame/StandardFonts/TTF/Kalameh-Bold.ttf);
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: kalame;
|
||||
src: url(../public/fonts/kalame/StandardFonts/TTF/Kalameh-ExtraBold.ttf);
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: kalame;
|
||||
src: url(../public/fonts/kalame/StandardFonts/TTF/Kalameh-Black.ttf);
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
/* Font Vazir */
|
||||
|
||||
@font-face {
|
||||
font-family: vazir;
|
||||
src: url(../public/fonts/vazir/Vazirmatn-RD-FD-Thin.ttf);
|
||||
font-weight: 100;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: vazir;
|
||||
src: url(../public/fonts/vazir/Vazirmatn-RD-FD-ExtraLight.ttf);
|
||||
font-weight: 200;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: vazir;
|
||||
src: url(../public/fonts/vazir/Vazirmatn-RD-FD-Light.ttf);
|
||||
font-weight: 300;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: vazir;
|
||||
src: url(../public/fonts/vazir/Vazirmatn-RD-FD-Regular.ttf);
|
||||
font-weight: 400;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: vazir;
|
||||
src: url(../public/fonts/vazir/Vazirmatn-RD-FD-Medium.ttf);
|
||||
font-weight: 500;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: vazir;
|
||||
src: url(../public/fonts/vazir/Vazirmatn-RD-FD-SemiBold.ttf);
|
||||
font-weight: 600;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: vazir;
|
||||
src: url(../public/fonts/vazir/Vazirmatn-RD-FD-Bold.ttf);
|
||||
font-weight: 700;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: vazir;
|
||||
src: url(../public/fonts/vazir/Vazirmatn-RD-FD-ExtraBold.ttf);
|
||||
font-weight: 800;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: vazir;
|
||||
src: url(../public/fonts/vazir/Vazirmatn-RD-FD-Black.ttf);
|
||||
font-weight: 900;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
body {
|
||||
@@ -121,7 +74,9 @@ body {
|
||||
background: #fafafa;
|
||||
}
|
||||
|
||||
body * {
|
||||
/* transition-colors only on theme-sensitive elements, not every DOM node */
|
||||
.dark,
|
||||
[data-theme] {
|
||||
@apply transition-colors duration-500;
|
||||
}
|
||||
|
||||
@@ -147,9 +102,6 @@ html {
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
||||
.font-kalame {
|
||||
font-family: kalame;
|
||||
}
|
||||
|
||||
.auto-complete-selector .MuiInputBase-root svg path {
|
||||
stroke: #525252 !important;
|
||||
@@ -164,7 +116,6 @@ html {
|
||||
}
|
||||
|
||||
.bg-banner-home {
|
||||
background: url(../public/assets/images/banner-home.png);
|
||||
position: relative;
|
||||
}
|
||||
|
||||
@@ -292,9 +243,6 @@ html {
|
||||
border-radius: 8px !important;
|
||||
}
|
||||
|
||||
.MuiModal-root div:nth-child(3) {
|
||||
/* border-radius: 0 !important; */
|
||||
}
|
||||
}
|
||||
|
||||
/* Hidden Scroll */
|
||||
|
||||
+2
-4
@@ -16,9 +16,7 @@ export async function generateMetadata() {
|
||||
|
||||
const baseMetadata = {
|
||||
title: matchedCity ? matchedCity.title : "نوبت724",
|
||||
description: matchedCity
|
||||
? matchedCity.description
|
||||
: "نوبت 724 - سیستم آنلاین نوبتدهی برای پزشکان و کلینیکها. با استفاده از نوبت 724، به راحتی نوبت پزشکی خود را به صورت آنلاین رزرو کنید و از خدمات سریع و کارآمد ما بهرهمند شوید",
|
||||
description: matchedCity?.description || "نوبت 724 - سیستم آنلاین نوبتدهی برای پزشکان و کلینیکها. با استفاده از نوبت 724، به راحتی نوبت پزشکی خود را به صورت آنلاین رزرو کنید و از خدمات سریع و کارآمد ما بهرهمند شوید",
|
||||
keywords: matchedCity
|
||||
? matchedCity.keywords
|
||||
: "نوبت 724, نوبت دهی, رزرو نوبت, پزشک, پزشکی, کلینیک, بیمارستان, نوبت آنلاین, سیستم نوبت دهی, سیستم نوبت دهی آنلاین, سیستم نوبت دهی پزشکی, سیستم نوبت دهی کلینیک, سیستم نوبت دهی بیمارستان, سیستم نوبت دهی آنلاین پزشکی, سیستم نوبت دهی آنلاین کلینیک, سیستم نوبت دهی آنلاین بیمارستان",
|
||||
@@ -62,7 +60,7 @@ export default function RootLayout({ children }) {
|
||||
<head>
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width,initial-scale=1,maximum-scale=1"
|
||||
content="width=device-width,initial-scale=1"
|
||||
/>
|
||||
</head>
|
||||
<ThemeRegistry>
|
||||
|
||||
Reference in New Issue
Block a user