chore: update dependencies and add .dockerignore file
- Updated MUI packages to version 5.x and x-charts/x-date-pickers to 7.x - Downgraded React and React-DOM to version 18.3.1 - Added .dockerignore to exclude unnecessary files from Docker context
This commit is contained in:
@@ -10,7 +10,7 @@ function Call({ matchedCity, isDefault }) {
|
||||
>
|
||||
<h1 className="text-[#FAFAFA] text-[20px] font-bold">تماس با ما</h1>
|
||||
<h2 className="text-[#FAFAFA] leading-[26px] text-[14px] md:text-[16px] font-normal mt-6">
|
||||
{matchedCity.footerDescription}
|
||||
{matchedCity?.footerDescription || "برای ارتباط با ما از راه های زیر استفاده کنید"}
|
||||
</h2>
|
||||
<Links matchedCity={matchedCity} />
|
||||
</div>
|
||||
|
||||
@@ -11,20 +11,20 @@ function Links({ matchedCity }) {
|
||||
<ContentContact
|
||||
url="tel:900300400"
|
||||
label="تلفن تماس: "
|
||||
text={matchedCity.contactPhone}
|
||||
text={matchedCity?.contactPhone || "900300400"}
|
||||
>
|
||||
<CallC />
|
||||
</ContentContact>
|
||||
<ContentContact
|
||||
url="https://wa.me/09124568794"
|
||||
text={matchedCity.socialMedia.whatsapp}
|
||||
text={matchedCity?.socialMedia?.whatsapp || "09124568794"}
|
||||
label="واتساپ: "
|
||||
>
|
||||
<WhatsappC />
|
||||
</ContentContact>
|
||||
<ContentContact
|
||||
url="mailto:batome@gmail.com"
|
||||
text={matchedCity.email}
|
||||
text={matchedCity?.email || "info@nobat724.com"}
|
||||
label="ایمیل: "
|
||||
>
|
||||
<EmailC />
|
||||
|
||||
@@ -2,8 +2,8 @@ import { getStateInfo } from "@/lib/getStateInfo";
|
||||
import Call from "./call/Call";
|
||||
import Connect from "./Connect";
|
||||
|
||||
function ContactUsPage() {
|
||||
const { matchedCity } = getStateInfo();
|
||||
async function ContactUsPage() {
|
||||
const { matchedCity } = await getStateInfo();
|
||||
const isDefault = matchedCity?.id === "63";
|
||||
|
||||
return (
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import Image from "next/image";
|
||||
import Logo from "@/public/assets/images/logo.png";
|
||||
import Services from "./Services";
|
||||
import Address from "./Address";
|
||||
import Telefon from "./Telefon";
|
||||
@@ -11,7 +10,7 @@ function Poster({ data }) {
|
||||
<div className="bg-poster overflow-hidden !pt-[32px] p-[24px] relative flex justify-between items-start">
|
||||
<div>
|
||||
<div className="flex items-center justify-start gap-[5px]">
|
||||
<Image src={Logo} width={30} height={30} alt="logo" />
|
||||
<Image src="/assets/images/logo.png" width={30} height={30} alt="logo" />
|
||||
<p className="text-[#E7EEF6] text-[16px] font-bold !-translate-y-1">
|
||||
nobat724.com
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user