Switch to version 54: modified src/app/contact/page.tsx
This commit is contained in:
@@ -2,10 +2,9 @@
|
||||
|
||||
import ReactLenis from "lenis/react";
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import NavbarLayoutFloatingOverlay from "@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay";
|
||||
import ContactText from "@/components/sections/contact/ContactText";
|
||||
import FooterBaseReveal from "@/components/sections/footer/FooterBaseReveal";
|
||||
import { Mail, Phone, MapPin } from "lucide-react";
|
||||
import NavbarStyleApple from "@/components/navbar/NavbarStyleApple/NavbarStyleApple";
|
||||
import ContactSplit from "@/components/sections/contact/ContactSplit";
|
||||
import FooterMedia from "@/components/sections/footer/FooterMedia";
|
||||
|
||||
export default function ContactPage() {
|
||||
return (
|
||||
@@ -23,7 +22,7 @@ export default function ContactPage() {
|
||||
>
|
||||
<ReactLenis root>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarLayoutFloatingOverlay
|
||||
<NavbarStyleApple
|
||||
brandName="Switzerweb"
|
||||
navItems={[
|
||||
{ name: "Home", id: "/" },
|
||||
@@ -33,46 +32,25 @@ export default function ContactPage() {
|
||||
{ name: "Contact", id: "/contact" },
|
||||
{ name: "Tarifs", id: "pricing" }
|
||||
]}
|
||||
button={{ text: "Démarrer", href: "/contact" }}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div className="pt-32 pb-20">
|
||||
<div id="contact-intro" data-section="contact-intro">
|
||||
<ContactText
|
||||
text="Nous sommes ravis de vous accompagner dans vos projets digitaux. Contactez-nous pour toute demande d'information ou pour obtenir un devis personnalisé."
|
||||
background={{ variant: "canvas-reveal" }}
|
||||
<div id="contact-form" data-section="contact-form">
|
||||
<ContactSplit
|
||||
tag="Contact"
|
||||
title="Parlons de votre projet"
|
||||
description="Nous sommes à votre écoute pour concevoir la solution digitale qui correspond à vos ambitions."
|
||||
background={{ variant: "plain" }}
|
||||
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3B1CZ8wJvEJetEx867dlBUUa9fk/uploaded-1778867278663-8og1q5hx.png"
|
||||
mediaPosition="right"
|
||||
useInvertedBackground={false}
|
||||
buttons={[
|
||||
{ text: "Prendre rendez-vous", href: "#" },
|
||||
{ text: "Voir nos services", href: "/services" }
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div className="max-w-4xl mx-auto mt-20 px-6 grid md:grid-cols-3 gap-8">
|
||||
<div className="p-8 bg-card rounded-3xl border border-accent flex flex-col items-center text-center">
|
||||
<Mail className="w-10 h-10 mb-4" />
|
||||
<h3 className="text-xl font-semibold mb-2">Email</h3>
|
||||
<p>contact@switzerweb.ch</p>
|
||||
</div>
|
||||
<div className="p-8 bg-card rounded-3xl border border-accent flex flex-col items-center text-center">
|
||||
<Phone className="w-10 h-10 mb-4" />
|
||||
<h3 className="text-xl font-semibold mb-2">Téléphone</h3>
|
||||
<p>+41 21 000 00 00</p>
|
||||
</div>
|
||||
<div className="p-8 bg-card rounded-3xl border border-accent flex flex-col items-center text-center">
|
||||
<MapPin className="w-10 h-10 mb-4" />
|
||||
<h3 className="text-xl font-semibold mb-2">Localisation</h3>
|
||||
<p>Lausanne, Suisse</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterBaseReveal
|
||||
<FooterMedia
|
||||
logoText="Switzerweb"
|
||||
copyrightText="© 2026 | Switzerweb"
|
||||
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3B1CZ8wJvEJetEx867dlBUUa9fk/uploaded-1778866973153-laldct7r.png?_wi=2"
|
||||
columns={[
|
||||
{ title: "Entreprise", items: [{ label: "À Propos", href: "#about" }, { label: "Services", href: "#services" }, { label: "Contact", href: "/contact" }] },
|
||||
{ title: "Services", items: [{ label: "Dév Web", href: "#" }, { label: "SEO", href: "#" }] },
|
||||
@@ -82,4 +60,4 @@ export default function ContactPage() {
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user