Update src/app/contact/page.tsx
This commit is contained in:
@@ -1,24 +1,34 @@
|
||||
"use client";
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import ContactSplit from '@/components/sections/contact/ContactSplit';
|
||||
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
|
||||
import ReactLenis from "lenis/react";
|
||||
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
|
||||
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
|
||||
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
|
||||
|
||||
export default function ContactPage() {
|
||||
const navLinks = [
|
||||
{ name: "الرئيسية", id: "/" },
|
||||
{ name: "المدونة", id: "/blog" },
|
||||
{ name: "سياسة الخصوصية", id: "/privacy-policy" },
|
||||
{ name: "تواصل معنا", id: "/contact" },
|
||||
];
|
||||
|
||||
return (
|
||||
<ThemeProvider>
|
||||
<ReactLenis root>
|
||||
<NavbarLayoutFloatingInline
|
||||
navItems={[{ name: "الرئيسية", id: "/" }, { name: "الأسئلة الشائعة", id: "/faq" }, { name: "حجز موعد", id: "/service-request" }, { name: "تواصل معنا", id: "/contact" }]}
|
||||
brandName="Aljoman Dental"
|
||||
/>
|
||||
<ContactSplit
|
||||
tag="اتصل بنا"
|
||||
title="تواصل معنا مباشرة"
|
||||
description="نحن دائماً جاهزون للرد على استفساراتكم عبر الهاتف أو البريد الإلكتروني."
|
||||
background={{ variant: "gradient-bars" }}
|
||||
/>
|
||||
</ReactLenis>
|
||||
<ThemeProvider borderRadius="pill" contentWidth="medium">
|
||||
<ReactLenis root>
|
||||
<NavbarLayoutFloatingInline navItems={navLinks} brandName="Aljoman Dental" />
|
||||
<ContactSplitForm
|
||||
title="تواصل معنا"
|
||||
description="نحن هنا للرد على استفساراتكم وحجز مواعيدكم."
|
||||
inputs={[{ name: "name", type: "text", placeholder: "الاسم الكامل", required: true }, { name: "email", type: "email", placeholder: "البريد الإلكتروني", required: true }]}
|
||||
textarea={{ name: "message", placeholder: "رسالتك" }}
|
||||
/>
|
||||
<FooterLogoEmphasis
|
||||
columns={[{ items: [{ label: "الرئيسية", href: "/" }, { label: "تواصل معنا", href: "/contact" }] }]}
|
||||
logoText="عيادات الجومان"
|
||||
/>
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user