Update src/app/contact/page.tsx
This commit is contained in:
@@ -1,29 +1,34 @@
|
||||
"use client";
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
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
|
||||
defaultButtonVariant="hover-magnetic"
|
||||
defaultTextAnimation="entrance-slide"
|
||||
borderRadius="pill"
|
||||
contentWidth="medium"
|
||||
sizing="mediumLargeSizeLargeTitles"
|
||||
background="aurora"
|
||||
cardStyle="glass-elevated"
|
||||
primaryButtonStyle="gradient"
|
||||
secondaryButtonStyle="glass"
|
||||
headingFontWeight="semibold"
|
||||
>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarLayoutFloatingInline
|
||||
navItems={[{ name: "Home", id: "/" }, { name: "About", id: "/about" }, { name: "Contact", id: "/contact" }]}
|
||||
brandName="Company"
|
||||
button={{ text: "Get Started", href: "#" }}
|
||||
/>
|
||||
</div>
|
||||
<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