From 39d5c1f99c888b5d615b4796fff93d993a364922 Mon Sep 17 00:00:00 2001 From: bender Date: Sat, 7 Mar 2026 16:39:23 +0000 Subject: [PATCH] Update src/app/page.tsx --- src/app/page.tsx | 45 +++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 43 insertions(+), 2 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 73af309..fedc108 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -10,7 +10,7 @@ import TestimonialCardSix from "@/components/sections/testimonial/TestimonialCar import ContactSplit from "@/components/sections/contact/ContactSplit"; import FooterBase from "@/components/sections/footer/FooterBase"; import { Star, Sparkles, Award, Heart, Mail, Calendar, X, Clock, Users, CheckCircle } from "lucide-react"; -import { useState } from "react"; +import { useState, useEffect } from "react"; import React from "react"; interface TimeSlot { @@ -50,6 +50,47 @@ const TIME_SLOTS: TimeSlot[] = [ { time: '04:00 PM', available: true }, ]; +function FloatingDotsAnimation() { + return ( +
+ {Array.from({ length: 30 }).map((_, i) => { + const randomDelay = Math.random() * 2; + const randomDuration = 3 + Math.random() * 2; + const randomX = Math.random() * 100; + const randomY = Math.random() * 100; + const randomSize = 2 + Math.random() * 4; + + return ( +
+ ); + })} + +
+ ); +} + function BookingModal({ isOpen, onClose, onSubmit }: { isOpen: boolean; onClose: () => void; onSubmit: (data: any) => void }) { const [state, setState] = React.useState({ isOpen, @@ -358,7 +399,6 @@ export default function LandingPage() { const handleBookingSubmit = (data: any) => { console.log('Booking submitted:', data); - // Here you would typically send this to your backend alert(`Booking confirmed for ${data.name} on ${data.date} at ${data.time}`); }; @@ -375,6 +415,7 @@ export default function LandingPage() { secondaryButtonStyle="solid" headingFontWeight="light" > + setBookingOpen(false)} -- 2.49.1