add maps to contact page catalog_page added , email addres updated , remove page drop down
This commit is contained in:
@@ -3,13 +3,15 @@ import { Mail, MapPin, Phone } from "lucide-react";
|
||||
import ContactHeader from "./contactHeader";
|
||||
import Form from "./form";
|
||||
import { useTranslations } from "next-intl";
|
||||
import Maps from "./maps";
|
||||
import DotAnimatsiya from "@/components/dot/DotAnimatsiya";
|
||||
|
||||
export function Contact() {
|
||||
const t = useTranslations();
|
||||
const contactInfo = [
|
||||
{
|
||||
icon: Mail,
|
||||
title:t("contact.form.email"),
|
||||
title: t("contact.form.email"),
|
||||
detail: t("contact.form.emailAddress"),
|
||||
},
|
||||
{
|
||||
@@ -46,27 +48,40 @@ export function Contact() {
|
||||
</div>
|
||||
|
||||
{/* Content */}
|
||||
<div className="relative z-10 mx-auto max-w-4xl px-4 sm:px-6 lg:px-8">
|
||||
<ContactHeader />
|
||||
<div className="relative z-10 ">
|
||||
<div className="flex items-center justify-center w-full">
|
||||
<div className="mb-4 flex items-center justify-center gap-2">
|
||||
<DotAnimatsiya />
|
||||
<span className="font-almarai text-sm font-semibold tracking-wider text-white">
|
||||
{t("contact.banner.title")}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<Maps />
|
||||
<div className="relative z-10 mx-auto max-w-4xl px-4 sm:px-6 lg:px-8 space-y-5">
|
||||
<ContactHeader />
|
||||
|
||||
<Form />
|
||||
<Form />
|
||||
|
||||
{/* Contact Info */}
|
||||
<div className="mt-12 grid grid-cols-1 gap-8 md:grid-cols-3">
|
||||
{contactInfo.map((info) => (
|
||||
<div
|
||||
key={info.title}
|
||||
className="flex flex-col items-center text-center"
|
||||
>
|
||||
<div className="mb-3 flex h-14 w-14 items-center justify-center rounded-xl bg-[#2c2b2a]">
|
||||
<info.icon className="h-6 w-6 text-red-600" />
|
||||
{/* Contact Info */}
|
||||
<div className="mt-12 grid grid-cols-1 gap-8 md:grid-cols-3">
|
||||
{contactInfo.map((info) => (
|
||||
<div
|
||||
key={info.title}
|
||||
className="flex flex-col items-center text-center"
|
||||
>
|
||||
<div className="mb-3 flex h-14 w-14 items-center justify-center rounded-xl bg-[#2c2b2a]">
|
||||
<info.icon className="h-6 w-6 text-red-600" />
|
||||
</div>
|
||||
<h3 className="font-almarai text-sm font-bold tracking-wider text-white">
|
||||
{info.title}
|
||||
</h3>
|
||||
<p className="font-almarai mt-1 text-sm text-gray-400">
|
||||
{info.detail}
|
||||
</p>
|
||||
</div>
|
||||
<h3 className="font-almarai text-sm font-bold tracking-wider text-white">
|
||||
{info.title}
|
||||
</h3>
|
||||
<p className="font-almarai mt-1 text-sm text-gray-400">{info.detail}</p>
|
||||
</div>
|
||||
))}
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user