diff --git a/src/app/appointments/page.tsx b/src/app/appointments/page.tsx index b67c31e..1d5c084 100644 --- a/src/app/appointments/page.tsx +++ b/src/app/appointments/page.tsx @@ -1,15 +1,42 @@ "use client"; +import { useState } from 'react'; import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; import ReactLenis from "lenis/react"; -import ContactCTA from '@/components/sections/contact/ContactCTA'; -import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia'; -import FeatureCardTen from '@/components/sections/feature/FeatureCardTen'; -import FooterBase from '@/components/sections/footer/FooterBase'; import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple'; -import { Clock, Globe, Lock, Server, Shield } from "lucide-react"; +import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal'; +import ButtonTextStagger from '@/components/button/ButtonTextStagger/ButtonTextStagger'; +import Textarea from '@/components/form/Textarea'; +import { CalendarDays, Clock, User, Mail, Phone, MessageSquare } from 'lucide-react'; + +export default function AppointmentsPage() { + const [formData, setFormData] = useState({ + name: '', + email: '', + phone: '', + date: '', + time: '', + message: '' + }); + const [bookingConfirmed, setBookingConfirmed] = useState(false); + const [bookingNumber, setBookingNumber] = useState(''); + + const handleChange = (e: React.ChangeEvent) => { + const { name, value } = e.target; + setFormData(prev => ({ ...prev, [name]: value })); + }; + + const handleSubmit = (e: React.FormEvent) => { + e.preventDefault(); + // Simulate booking confirmation + const uniqueNum = 'BOOK-' + Math.random().toString(36).substr(2, 9).toUpperCase(); + setBookingNumber(uniqueNum); + setBookingConfirmed(true); + // In a real application, you'd send this data to a backend + console.log('Booking data:', formData); + console.log('Sending SMS/WhatsApp notification to +212 662-862436 for booking:', uniqueNum); + }; -export default function LandingPage() { return ( - + -
- -
+
+
+

حجز موعد

+ {bookingConfirmed ? ( +
+

تم تأكيد موعدكم بنجاح!

+

رقم الحجز الخاص بكم: {bookingNumber}

+

سيتم إرسال تأكيد إلى بريدكم الإلكتروني ورسالة عبر SMS/WhatsApp إلى رقم الهاتف المقدم.

+

نحن بانتظاركم في Complexe Éducatif Lixus.

+ +
+ ) : ( +
+
+
+ +
+ + +
+
+
+ +
+ + +
+
+
-
- -
+
+
+ +
+ + +
+
+
+ +
+ + +
+
+
-
- -
+
+ +
+ + +
+
- +
+ +
+ +