diff --git a/src/app/page.tsx b/src/app/page.tsx index a2d81e9..c137866 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -9,14 +9,18 @@ import TestimonialCardSix from "@/components/sections/testimonial/TestimonialCar import TextSplitAbout from "@/components/sections/about/TextSplitAbout"; import ContactSplit from "@/components/sections/contact/ContactSplit"; import FooterBaseReveal from "@/components/sections/footer/FooterBaseReveal"; -import { Award, Zap, Smile, Star, Quote, Calendar, Phone } from "lucide-react"; +import { Award, Zap, Smile, Star, Quote, Calendar, Phone, MessageCircle, MapPin, Clock, Instagram, Facebook, Linkedin } from "lucide-react"; +import { useState } from "react"; export default function HomePage() { + const [formData, setFormData] = useState({ name: "", phone: "", message: "" }); + const [formSubmitted, setFormSubmitted] = useState(false); + const navItems = [ { name: "Home", id: "home" }, { name: "Services", id: "services" }, - { name: "About", id: "about" }, - { name: "Gallery", id: "gallery" }, + { name: "Why Us", id: "whyus" }, + { name: "Appointment", id: "appointment" }, { name: "Contact", id: "contact" }, ]; @@ -24,30 +28,45 @@ export default function HomePage() { { title: "Navigation", items: [ { label: "Home", href: "/" }, - { label: "Services", href: "/services" }, - { label: "About", href: "/about" }, - { label: "Gallery", href: "/gallery" }, - { label: "Contact", href: "/contact" }, + { label: "Services", href: "#services" }, + { label: "Why Us", href: "#whyus" }, + { label: "Appointment", href: "#appointment" }, + { label: "Contact", href: "#contact" }, ], }, { - title: "Nous Contacter", items: [ - { label: "Téléphone: 0636 27 38 89", href: "tel:0636273889" }, + title: "Contact Us", items: [ + { label: "Phone: 0636 27 38 89", href: "tel:0636273889" }, { label: "Email: contact@badrsmile.dz", href: "mailto:contact@badrsmile.dz" }, - { label: "Localisation: Wilaya Center", href: "#" }, - { label: "Lun-Sam: 8h-19h", href: "#" }, + { label: "Location: Wilaya Center", href: "#" }, + { label: "Mon-Sat: 8am-7pm", href: "#" }, ], }, { - title: "Suivez-Nous", items: [ + title: "Follow Us", items: [ { label: "Instagram", href: "https://instagram.com/badrsmilecenter" }, { label: "Facebook", href: "https://facebook.com/badrsmilecenter" }, - { label: "Politique de Confidentialité", href: "#" }, - { label: "Conditions d'Utilisation", href: "#" }, + { label: "Privacy Policy", href: "#" }, + { label: "Terms of Service", href: "#" }, ], }, ]; + const handleFormChange = (field, value) => { + setFormData(prev => ({ ...prev, [field]: value })); + }; + + const handleFormSubmit = () => { + if (formData.name && formData.phone && formData.message) { + console.log("Form submitted:", formData); + setFormSubmitted(true); + setTimeout(() => { + setFormData({ name: "", phone: "", message: "" }); + setFormSubmitted(false); + }, 2000); + } + }; + return (
-
+
-
+
- +
+
+
+ {/* Form Section */} +
+
+
+ + Book Now +
+

+ Schedule Your Consultation +

+

+ Free consultation with our experts. We'll recommend the best treatment for your needs. +

+
+ +
+
+ handleFormChange('name', e.target.value)} + className="w-full px-4 py-3 rounded-lg border border-gray-300 focus:outline-none focus:ring-2 transition-all duration-300" + style={{ + backgroundColor: "var(--card)", color: "var(--foreground)", borderColor: "var(--accent)" + }} + /> +
+
+ handleFormChange('phone', e.target.value)} + className="w-full px-4 py-3 rounded-lg border border-gray-300 focus:outline-none focus:ring-2 transition-all duration-300" + style={{ + backgroundColor: "var(--card)", color: "var(--foreground)", borderColor: "var(--accent)" + }} + /> +
+
+