Add src/app/contact/page.tsx
This commit is contained in:
63
src/app/contact/page.tsx
Normal file
63
src/app/contact/page.tsx
Normal file
@@ -0,0 +1,63 @@
|
||||
"use client";
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import ReactLenis from "lenis/react";
|
||||
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
|
||||
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
|
||||
import FooterBase from '@/components/sections/footer/FooterBase';
|
||||
|
||||
export default function ContactPage() {
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="hover-bubble"
|
||||
defaultTextAnimation="background-highlight"
|
||||
borderRadius="soft"
|
||||
contentWidth="medium"
|
||||
sizing="largeSmallSizeMediumTitles"
|
||||
background="noise"
|
||||
cardStyle="solid"
|
||||
primaryButtonStyle="radial-glow"
|
||||
secondaryButtonStyle="layered"
|
||||
headingFontWeight="semibold"
|
||||
>
|
||||
<ReactLenis root>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarStyleApple
|
||||
navItems={[
|
||||
{ name: "Accueil", id: "/" },
|
||||
{ name: "Atelier", id: "/#about" },
|
||||
{ name: "Services", id: "/#services" },
|
||||
{ name: "Contact", id: "/contact" },
|
||||
]}
|
||||
brandName="Dyez Motor"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="contact" data-section="contact">
|
||||
<ContactSplitForm
|
||||
useInvertedBackground={false}
|
||||
title="Contactez-nous"
|
||||
description="Nous sommes à votre écoute pour toute demande concernant l'entretien ou la personnalisation de votre moto."
|
||||
inputs={[
|
||||
{ name: "name", type: "text", placeholder: "Nom", required: true },
|
||||
{ name: "email", type: "email", placeholder: "Email", required: true },
|
||||
{ name: "moto", type: "text", placeholder: "Modèle de moto" },
|
||||
]}
|
||||
textarea={{ name: "msg", placeholder: "Votre message", rows: 5, required: true }}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/auto-repair-man-writing-notes-while-his-customer-is-pointing-problematic-spot-vehicle-hood-workshop_637285-7704.jpg"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterBase
|
||||
columns={[
|
||||
{ title: "Atelier", items: [{ label: "Services", href: "/#services" }, { label: "Contact", href: "/contact" }] },
|
||||
{ title: "Légal", items: [{ label: "Mentions Légales", href: "#" }, { label: "CGV", href: "#" }] },
|
||||
]}
|
||||
logoText="Dyez Motor"
|
||||
/>
|
||||
</div>
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user