diff --git a/src/app/page.tsx b/src/app/page.tsx index de27e59..a146fc7 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,7 +1,6 @@ "use client"; import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; -import ReactLenis from "lenis/react"; import ContactCTA from '@/components/sections/contact/ContactCTA'; import FaqDouble from '@/components/sections/faq/FaqDouble'; import FeatureCardTwentyEight from '@/components/sections/feature/FeatureCardTwentyEight'; @@ -15,6 +14,13 @@ import TestimonialCardTwelve from '@/components/sections/testimonial/Testimonial import { Coffee } from "lucide-react"; export default function LandingPage() { + const scrollToSection = (id: string) => { + const element = document.getElementById(id); + if (element) { + element.scrollIntoView({ behavior: "smooth" }); + } + }; + return ( - - + -
- -
+
+ scrollToSection("contact") }, + { text: "Voir le menu", onClick: () => scrollToSection("menu") }, + ]} + slides={[ + { imageSrc: "http://img.b2bpic.net/free-photo/cute-cat-doing-human-activity_23-2151876397.jpg", imageAlt: "Salon de thé cozy avec des chats" }, + { imageSrc: "http://img.b2bpic.net/free-photo/cat-enjoying-breakfast-with-coffee-cake_23-2151982933.jpg", imageAlt: "Un chat dans notre salon" }, + { imageSrc: "http://img.b2bpic.net/free-photo/full-shot-woman-playing-with-hairless-cat_23-2149078381.jpg", imageAlt: "Ambiance chaleureuse" }, + { imageSrc: "http://img.b2bpic.net/free-photo/sleeping-cat-sunlight_23-2151936748.jpg", imageAlt: "Thé et chat" }, + { imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-beautiful-cat_23-2149214365.jpg", imageAlt: "Détails premium" }, + ]} + /> +
-
- -
+
+ +
-
- -
+
+ +
- + - + -
- -
+
+ +
-
- "}, - { - id: "f2", title: "Luxembourg", content: "📍 45 Grand Rue, L-1661 Luxembourg. "}, - ]} - title="Nos Adresses" - description="Retrouvez-nous à Metz et Luxembourg." - faqsAnimation="blur-reveal" - /> -
+
+ +
-
- alert("Réservation confirmée ! Vous recevrez une confirmation par e-mail.") } - ]} - /> -
+
+ alert("Réservation confirmée !") }]} + /> +
- -
+
); -} +} \ No newline at end of file