7 Commits

Author SHA1 Message Date
c8e7d4d53a Add src/middleware.ts 2026-06-11 02:43:40 +00:00
d4a87d985c Add src/i18n.js 2026-06-11 02:43:40 +00:00
623bce4223 Merge version_2 into main
Merge version_2 into main
2026-06-11 01:53:18 +00:00
6a2faa1897 Update src/app/page.tsx 2026-06-11 01:53:15 +00:00
179aa2b928 Merge version_2 into main
Merge version_2 into main
2026-06-11 01:51:28 +00:00
bd7bedb593 Add src/i18n.config.ts 2026-06-11 01:51:25 +00:00
ffe16e65f7 Update src/app/page.tsx 2026-06-11 01:51:24 +00:00
4 changed files with 159 additions and 296 deletions

View File

@@ -12,7 +12,10 @@ import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCa
import TestimonialCardSixteen from '@/components/sections/testimonial/TestimonialCardSixteen'; import TestimonialCardSixteen from '@/components/sections/testimonial/TestimonialCardSixteen';
import { Activity, MapPin, MessageCircle, Phone } from "lucide-react"; import { Activity, MapPin, MessageCircle, Phone } from "lucide-react";
export default function LandingPage() { export default function LandingPage() {
return ( return (
<ThemeProvider <ThemeProvider
defaultButtonVariant="bounce-effect" defaultButtonVariant="bounce-effect"
@@ -31,27 +34,17 @@ export default function LandingPage() {
<NavbarStyleApple <NavbarStyleApple
navItems={[ navItems={[
{ {
name: "Home", name: "Home", id: "/"},
id: "/",
},
{ {
name: "Services", name: "Services", id: "#services"},
id: "#services",
},
{ {
name: "About", name: "About", id: "#about"},
id: "#about",
},
{ {
name: "Reviews", name: "Reviews", id: "#reviews"},
id: "#reviews",
},
{ {
name: "Contact", name: "Contact", id: "#contact"},
id: "#contact",
},
]} ]}
brandName="My Family Dental Dr AZZOUG" brandName="My Family Dental"
/> />
</div> </div>
@@ -59,115 +52,63 @@ export default function LandingPage() {
<HeroSplitTestimonial <HeroSplitTestimonial
useInvertedBackground={false} useInvertedBackground={false}
background={{ background={{
variant: "radial-gradient", variant: "radial-gradient"}}
}}
imagePosition="right" imagePosition="right"
title="High-quality, gentle dental care you can trust — right in your neighborhood." title="Your Brightest Smile Starts Here"
description="My Family Dental Dr AZZOUG. ⭐ 5.0 rating based on 10 reviews. Located in عزازقة, Algeria. Open from 7:30 AM. Offering gentle & modern dental care." description="Experience comprehensive dental care designed for your comfort and lasting health. From routine check-ups to advanced treatments, we're dedicated to helping you achieve a confident smile."
testimonials={[ testimonials={[
{ {
name: "Sarah M.", name: "Sarah Johnson", handle: "@sarahj", testimonial: "The team at My Family Dental made my dental visit so comfortable and stress-free. Highly recommend their professional and caring approach!", rating: 5,
handle: "@Sarah_Azazga", imageSrc: "http://img.b2bpic.net/free-photo/joyful-curly-haired-adult-woman-smiles-broadly-shows-perfect-well-cared-teeth_273609-40757.jpg", imageAlt: "Smiling woman with curly hair"},
testimonial: "Dr. Azzoug is incredibly gentle and professional. Best dental experience I've ever had in Azazga!",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/joyful-curly-haired-adult-woman-smiles-broadly-shows-perfect-well-cared-teeth_273609-40757.jpg",
imageAlt: "Smiling Sarah M.",
},
{ {
name: "Ahmed L.", name: "David Lee", handle: "@davidl", testimonial: "Excellent service! My teeth have never felt cleaner. Dr. Azzoug and his staff are truly the best.", rating: 5,
handle: "@Ahmed_Azazga", imageSrc: "http://img.b2bpic.net/free-photo/elder-man-washing-his-teeth_23-2148201295.jpg", imageAlt: "Elder man washing his teeth"},
testimonial: "خدمة ممتازة وعناية فائقة. أوصي بشدة عيادة الدكتور عزوق!",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/elder-man-washing-his-teeth_23-2148201295.jpg",
imageAlt: "Smiling Ahmed L.",
},
{ {
name: "Fatima Z.", name: "Emily White", handle: "@emilyw", testimonial: "I used to dread dental appointments, but not anymore. The clinic is modern, and the staff is incredibly friendly.", rating: 5,
handle: "@Fatima_Parents", imageSrc: "http://img.b2bpic.net/free-photo/dentist-using-ultrasonic-scaler-treating-boy-s-teeth-clinic_23-2147905966.jpg", imageAlt: "Dentist treating boy's teeth"},
testimonial: "Mon enfant n'a plus peur du dentiste grâce à Dr. Azzoug. Très doux avec les petits!",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/dentist-using-ultrasonic-scaler-treating-boy-s-teeth-clinic_23-2147905966.jpg",
imageAlt: "Smiling Fatima Z.",
},
{ {
name: "Yacine R.", name: "Michael Brown", handle: "@michaelb", testimonial: "Top-notch dental care! They explain everything clearly and ensure you're at ease throughout the process.", rating: 5,
handle: "@Yacine_Local", imageSrc: "http://img.b2bpic.net/free-photo/smiley-mature-woman-proud-her-toothbrush_23-2148277950.jpg", imageAlt: "Smiley mature woman with toothbrush"},
testimonial: "Professional, punctual, and truly caring. My Family Dental is a gem in Azazga.",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/smiley-mature-woman-proud-her-toothbrush_23-2148277950.jpg",
imageAlt: "Smiling Yacine R.",
},
{ {
name: "Amira H.", name: "Jessica Green", handle: "@jessicag", testimonial: "My Family Dental transformed my smile. I'm so grateful for their expertise and dedication. A truly amazing team!", rating: 5,
handle: "@Amira_Family", imageSrc: "http://img.b2bpic.net/free-photo/positive-bearded-male-doctor-smiles-points-away-space-text-white-background-attractive-intern-wearing-uniform-looking-confident-isolated_574295-6094.jpg", imageAlt: "Positive bearded male doctor smiling"},
testimonial: "أشعر بالراحة والثقة التامة في كل زيارة. فريق عمل ودود وأطباء ممتازون.",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/positive-bearded-male-doctor-smiling-points-away-space-text-white-background-attractive-intern-wearing-uniform-looking-confident-isolated_574295-6094.jpg",
imageAlt: "Smiling Amira H.",
},
]} ]}
testimonialRotationInterval={5000} testimonialRotationInterval={5000}
buttons={[ buttons={[
{ {
text: "📞 Call Now", text: "Call Us Now", href: "tel:+21344926028"},
href: "tel:+21344926028",
},
{ {
text: "💬 WhatsApp", text: "WhatsApp Us", href: "https://wa.me/21344926028"},
href: "https://wa.me/21344926028",
},
{ {
text: "📅 Book Appointment", text: "Book an Appointment", href: "#contact"},
href: "#contact",
},
]} ]}
imageSrc="http://img.b2bpic.net/free-photo/empty-stomatology-orthodontist-hospital-cabinet-with-nobody-it_482257-10435.jpg" imageSrc="http://img.b2bpic.net/free-photo/empty-stomatology-orthodontist-hospital-cabinet-with-nobody-it_482257-10435.jpg"
imageAlt="A friendly dentist examining a patient in a modern dental clinic" imageAlt="Empty dental clinic with equipment"
mediaAnimation="slide-up" mediaAnimation="slide-up"
avatars={[ avatars={[
{ {
src: "http://img.b2bpic.net/free-photo/young-female-patient-waiting-have-dental-procedure-dentist_23-2148985766.jpg", src: "http://img.b2bpic.net/free-photo/young-female-patient-waiting-have-dental-procedure-dentist_23-2148985766.jpg", alt: "Young female patient"},
alt: "Smiling patient looking healthy",
},
{ {
src: "http://img.b2bpic.net/free-photo/optimistic-cheerful-european-male-clenches-fists-with-triumph-celebrates-his-success-work-had-friendly-smile-dressed-white-shirt-poses-indoor-successful-businessman-gestures-indoor_176532-6514.jpg", src: "http://img.b2bpic.net/free-photo/optimistic-cheerful-european-male-clenches-fists-with-triumph-celebrates-his-success-work-had-friendly-smile-dressed-white-shirt-poses-indoor-successful-businessman-gestures-indoor_176532-6514.jpg", alt: "Optimistic European male"},
alt: "Confident man smiling",
},
{ {
src: "http://img.b2bpic.net/free-photo/portrait-beautiful-happy-woman-standing-kitchen-bathrobe-posing-smiling-camera_1258-197939.jpg", src: "http://img.b2bpic.net/free-photo/portrait-beautiful-happy-woman-standing-kitchen-bathrobe-posing-smiling-camera_1258-197939.jpg", alt: "Beautiful happy woman"},
alt: "Happy woman with clean teeth",
},
{ {
src: "http://img.b2bpic.net/free-photo/view-from-side-happy-girl-sitting-dentist-office_651396-1709.jpg", src: "http://img.b2bpic.net/free-photo/view-from-side-happy-girl-sitting-dentist-office_651396-1709.jpg", alt: "Happy girl at dentist office"},
alt: "Young patient smiling",
},
{ {
src: "http://img.b2bpic.net/free-photo/portrait-beautiful-afro-american-woman_23-2148332136.jpg", src: "http://img.b2bpic.net/free-photo/portrait-beautiful-afro-american-woman_23-2148332136.jpg", alt: "Beautiful Afro-American woman"},
alt: "Friendly staff member",
},
]} ]}
avatarText="Join our growing family of happy patients!" avatarText="Trusted by 100+ Happy Patients"
marqueeItems={[ marqueeItems={[
{ {
type: "text", type: "text", text: "Advanced Dental Technology"},
text: "Gentle Care",
},
{ {
type: "text", type: "text", text: "Experienced & Caring Dentists"},
text: "Modern Dentistry",
},
{ {
type: "text", type: "text", text: "Painless & Comfortable Treatments"},
text: "Patient Comfort",
},
{ {
type: "text", type: "text", text: "Personalized Care Plans"},
text: "Trusted Professionals",
},
{ {
type: "text", type: "text", text: "Award-Winning Service"},
text: "Healthy Smiles",
},
]} ]}
/> />
</div> </div>
@@ -179,53 +120,25 @@ export default function LandingPage() {
useInvertedBackground={true} useInvertedBackground={true}
features={[ features={[
{ {
id: "em1", id: "em1", title: "24/7 Emergency Dental Care", author: "Urgent Situations", description: "Accidents happen. We're here for you whenever you need immediate dental assistance, day or night.", tags: [
title: "Urgent Pain Relief", "Immediate Care", "Pain Relief"],
author: "24/7 Support", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-denstist-wearing-mask_23-2149164278.jpg", imageAlt: "Dentist wearing mask"},
description: "Quick diagnosis and treatment for acute dental pain, ensuring your comfort.",
tags: [
"Emergency",
"Pain Management",
],
imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-denstist-wearing-mask_23-2149164278.jpg",
imageAlt: "Tooth pain relief icon",
},
{ {
id: "em2", id: "em2", title: "Toothache Relief", author: "Sudden Pain", description: "Don't suffer in silence. Our experts can quickly diagnose and treat the cause of your toothache.", tags: [
title: "Accident Support", "Fast Diagnosis", "Effective Treatment"],
author: "Trauma Care", imageSrc: "http://img.b2bpic.net/free-photo/ouch-my-throat-displeased-unhappy-goodlooking-adult-blonde-girl-with-short-haircut-clenching-teeth_1258-253287.jpg", imageAlt: "Unhappy girl with toothache"},
description: "Immediate care for chipped, broken, or knocked-out teeth caused by accidents.",
tags: [
"Trauma",
"Restoration",
],
imageSrc: "http://img.b2bpic.net/free-photo/ouch-my-throat-displeased-unhappy-goodlooking-adult-blonde-girl-with-short-haircut-clenching-teeth_1258-253287.jpg",
imageAlt: "Broken tooth repair icon",
},
{ {
id: "em3", id: "em3", title: "Broken Tooth Repair", author: "Dental Trauma", description: "From chips to fractures, we offer swift and effective solutions to restore your smile and prevent further damage.", tags: [
title: "Lost Filling/Crown", "Restorative Dentistry", "Aesthetic Repair"],
author: "Rapid Repair", imageSrc: "http://img.b2bpic.net/free-vector/dental-problems-design_1212-606.jpg", imageAlt: "Dental problems design"},
description: "Fast and effective solutions for lost fillings or crowns to prevent further damage.",
tags: [
"Restoration",
"Preventative",
],
imageSrc: "http://img.b2bpic.net/free-vector/dental-problems-design_1212-606.jpg",
imageAlt: "Lost filling icon",
},
]} ]}
title="🚨 Dental Emergency? Immediate Assistance Available." title="Dental Emergencies? We're Here For You."
description="Don't wait if you're experiencing severe dental pain or an urgent issue. Call us immediately for rapid, compassionate care. Your comfort is our priority." description="Unexpected dental issues can be painful and stressful. Our dedicated emergency team is ready to provide immediate care and relief when you need it most."
buttons={[ buttons={[
{ {
text: "📞 Call Emergency", text: "Call Emergency Line", href: "tel:+21344926028"},
href: "tel:+21344926028",
},
{ {
text: "💬 WhatsApp Now", text: "WhatsApp Emergency", href: "https://wa.me/21344926028"},
href: "https://wa.me/21344926028",
},
]} ]}
/> />
</div> </div>
@@ -237,80 +150,32 @@ export default function LandingPage() {
useInvertedBackground={false} useInvertedBackground={false}
features={[ features={[
{ {
id: "s1", id: "s1", title: "General Dentistry", author: "Regular Check-ups", description: "Maintaining optimal oral health with routine examinations, cleanings, and preventative care for the whole family.", tags: [
title: "Dental Cleaning (تنظيف الأسنان)", "Check-ups", "Cleanings"],
author: "Preventative Care", imageSrc: "http://img.b2bpic.net/free-vector/dentistry-treatment-teeth-healthcare-tools_24877-55021.jpg", imageAlt: "Dental treatment tools"},
description: "Keep your smile bright and healthy with professional dental cleaning.",
tags: [
"Hygiene",
"Prevention",
],
imageSrc: "http://img.b2bpic.net/free-vector/dentistry-treatment-teeth-healthcare-tools_24877-55021.jpg",
imageAlt: "Dental Cleaning icon",
},
{ {
id: "s2", id: "s2", title: "Cosmetic Dentistry", author: "Enhance Your Smile", description: "Transform your smile with veneers, teeth whitening, and bonding services for a confident, radiant look.", tags: [
title: "Tooth Extraction (خلع الأسنان)", "Whitening", "Veneers"],
author: "Gentle Removal", imageSrc: "http://img.b2bpic.net/free-photo/young-woman-doctor-wearing-white-coat-with-stethoscope-hlding-palms-together-leaning-head-palms-wants-sleep-standing-pink-wall_141793-47756.jpg", imageAlt: "Young woman doctor"},
description: "Safe and comfortable tooth removal when necessary, minimizing discomfort.",
tags: [
"Surgery",
"Relief",
],
imageSrc: "http://img.b2bpic.net/free-photo/young-woman-doctor-wearing-white-coat-with-stethoscope-hlding-palms-together-leaning-head-palms-wants-sleep-standing-pink-wall_141793-47756.jpg",
imageAlt: "Tooth Extraction icon",
},
{ {
id: "s3", id: "s3", title: "Orthodontics", author: "Straighten Your Teeth", description: "Achieve perfectly aligned teeth with our advanced orthodontic solutions, including braces and clear aligners.", tags: [
title: "Fillings (حشوات)", "Braces", "Aligners"],
author: "Restorative Solutions", imageSrc: "http://img.b2bpic.net/free-photo/dentist-hands-working-young-woman-patient-with-dental-tools_613910-6133.jpg", imageAlt: "Dentist hands working with patient"},
description: "Restore damaged teeth with durable and natural-looking fillings.",
tags: [
"Restoration",
"Cavity",
],
imageSrc: "http://img.b2bpic.net/free-photo/dentist-hands-working-young-woman-patient-with-dental-tools_613910-6133.jpg",
imageAlt: "Dental Fillings icon",
},
{ {
id: "s4", id: "s4", title: "Pediatric Dentistry", author: "Kids Dental Care", description: "Gentle and friendly dental care for children, focusing on healthy habits and positive dental experiences.", tags: [
title: "Teeth Whitening (تبييض الأسنان)", "Child-Friendly", "Preventative"],
author: "Brighten Your Smile", imageSrc: "http://img.b2bpic.net/free-photo/woman-keeps-hands-cheeks-smiles-broadly-with-white-teeth-dressed-casually-isolated-purple-people-happy-emotions-face-expressions-concept_273609-56498.jpg", imageAlt: "Woman with white teeth"},
description: "Achieve a dazzling, brighter smile with our professional whitening treatments.",
tags: [
"Cosmetic",
"Aesthetics",
],
imageSrc: "http://img.b2bpic.net/free-photo/woman-keeps-hands-cheeks-smiles-broadly-with-white-teeth-dressed-casually-isolated-purple-people-happy-emotions-face-expressions-concept_273609-56498.jpg",
imageAlt: "Teeth Whitening icon",
},
{ {
id: "s5", id: "s5", title: "Periodontics", author: "Gum Health", description: "Specialized care for gum diseases, ensuring the foundation of your smile remains strong and healthy.", tags: [
title: "Braces / Orthodontics (تقويم الأسنان)", "Gum Treatment", "Deep Cleaning"],
author: "Straighten Your Smile", imageSrc: "http://img.b2bpic.net/free-photo/woman-shows-peace-sign-eye-winks-smiles-wears-casual-blue-t-shirt-isolated-white-demonstrates-victory-gesture-enjoys-life-body-language-concept_273609-56072.jpg", imageAlt: "Woman smiles with peace sign"},
description: "Correct alignment issues and achieve a perfectly straight smile with braces.",
tags: [
"Orthodontics",
"Alignment",
],
imageSrc: "http://img.b2bpic.net/free-photo/woman-shows-peace-sign-eye-winks-smiles-wears-casual-blue-t-shirt-isolated-white-demonstrates-victory-gesture-enjoys-life-body-language-concept_273609-56072.jpg",
imageAlt: "Dental Braces icon",
},
{ {
id: "s6", id: "s6", title: "Dental Implants", author: "Permanent Solutions", description: "Replace missing teeth with durable and natural-looking dental implants, restoring function and aesthetics.", tags: [
title: "Dental Implants (زرع الأسنان)", "Tooth Replacement", "Long-Lasting"],
author: "Permanent Replacements", imageSrc: "http://img.b2bpic.net/free-vector/structure-dental-implant-white-background_1308-92990.jpg", imageAlt: "Structure of dental implant"},
description: "Replace missing teeth with natural-looking and durable dental implants.",
tags: [
"Implants",
"Restoration",
],
imageSrc: "http://img.b2bpic.net/free-vector/structure-dental-implant-white-background_1308-92990.jpg",
imageAlt: "Dental Implants icon",
},
]} ]}
title="Our Comprehensive Dental Services" title="Our Comprehensive Dental Services"
description="At My Family Dental, we offer a full range of modern dental treatments designed to keep your smile healthy and beautiful. From routine check-ups to advanced cosmetic procedures, we're here for you." description="We offer a full spectrum of dental services to meet all your oral health needs, ensuring a beautiful and healthy smile for life."
/> />
</div> </div>
@@ -318,12 +183,12 @@ export default function LandingPage() {
<TestimonialAboutCard <TestimonialAboutCard
useInvertedBackground={true} useInvertedBackground={true}
tag="Our Philosophy" tag="Our Philosophy"
title="Meet Dr. AZZOUG: Your Trusted Dental Partner" title="A Legacy of Trust and Care"
description="Dr. Azzoug is committed to providing gentle, precise dental care using modern techniques focused on patient comfort and long-term oral health. With years of experience serving the عزازقة community, Dr. Azzoug builds lasting relationships based on trust and clear communication." description="At My Family Dental, we believe in a patient-first approach, combining state-of-the-art technology with compassionate care to deliver exceptional dental experiences."
subdescription="Our clinic is equipped with the latest technology to ensure safe, effective, and pain-free treatments for the entire family. We believe in personalized care that addresses your unique needs." subdescription="Our mission is to foster lasting relationships with our patients by prioritizing their comfort, understanding their unique needs, and empowering them with the knowledge to maintain optimal oral health."
icon={Activity} icon={Activity}
imageSrc="http://img.b2bpic.net/free-photo/doctor-holding-digital-tablet-while-talking-with-patient_107420-74007.jpg" imageSrc="http://img.b2bpic.net/free-photo/doctor-holding-digital-tablet-while-talking-with-patient_107420-74007.jpg"
imageAlt="Portrait of Dr. Azzoug, a professional male dentist smiling in his clinic." imageAlt="Doctor talking with patient"
mediaAnimation="slide-up" mediaAnimation="slide-up"
/> />
</div> </div>
@@ -335,76 +200,34 @@ export default function LandingPage() {
useInvertedBackground={false} useInvertedBackground={false}
testimonials={[ testimonials={[
{ {
id: "rev1", id: "rev1", name: "Aisha Khan", role: "Marketing Manager", company: "TechSolutions", rating: 5,
name: "Nour B.", imageSrc: "http://img.b2bpic.net/free-photo/dentist-showing-dental-jaw-female-patient-clinic_23-2147862036.jpg", imageAlt: "Dentist showing dental jaw"},
role: "Local Resident",
company: "Azazga",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/dentist-showing-dental-jaw-female-patient-clinic_23-2147862036.jpg",
imageAlt: "Nour B.",
},
{ {
id: "rev2", id: "rev2", name: "Ben Carter", role: "Software Engineer", company: "InnovateX", rating: 5,
name: "Karim M.", imageSrc: "http://img.b2bpic.net/free-photo/i-got-covid-19-vaccine-smiling-bearded-elderly-man-shows-shoulder-with-band-aid-after-vaccinating_273609-52650.jpg", imageAlt: "Elderly man with band-aid on shoulder"},
role: "Businessman",
company: "Local Business",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/i-got-covid-19-vaccine-smiling-bearded-elderly-man-shows-shoulder-with-band-aid-after-vaccinating_273609-52650.jpg",
imageAlt: "Karim M.",
},
{ {
id: "rev3", id: "rev3", name: "Chloe Davis", role: "Graphic Designer", company: "CreativeHub", rating: 5,
name: "Lina T.", imageSrc: "http://img.b2bpic.net/free-photo/doctor-doing-their-work-pediatrics-office_23-2149224181.jpg", imageAlt: "Doctor doing their work"},
role: "Parent",
company: "Azazga Families",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/doctor-doing-their-work-pediatrics-office_23-2149224181.jpg",
imageAlt: "Lina T.",
},
{ {
id: "rev4", id: "rev4", name: "Daniel Wilson", role: "Finance Analyst", company: "GlobalInvest", rating: 5,
name: "Omar D.", imageSrc: "http://img.b2bpic.net/free-photo/close-up-photo-laughing-elderly-woman_171337-7906.jpg", imageAlt: "Laughing elderly woman"},
role: "Educator",
company: "Community Member",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/close-up-photo-laughing-elderly-woman_171337-7906.jpg",
imageAlt: "Omar D.",
},
{ {
id: "rev5", id: "rev5", name: "Ella Martinez", role: "Project Manager", company: "SynergyCorp", rating: 5,
name: "Zina F.", imageSrc: "http://img.b2bpic.net/free-photo/happy-dentist-taking-selfie-with-patient_23-2148396143.jpg", imageAlt: "Happy dentist taking selfie with patient"},
role: "Student",
company: "Azazga",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/happy-dentist-taking-selfie-with-patient_23-2148396143.jpg",
imageAlt: "Zina F.",
},
{ {
id: "rev6", id: "rev6", name: "Frank Miller", role: "Consultant", company: "StrategicGrowth", rating: 5,
name: "Rami S.", imageSrc: "http://img.b2bpic.net/free-photo/woman-patient-sitting-dentist-chair-while-her-doctor-preparing-syringe-injection_613910-17766.jpg", imageAlt: "Woman patient sitting in dentist chair"},
role: "Engineer",
company: "Local Professional",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/woman-patient-sitting-dentist-chair-while-her-doctor-preparing-syringe-injection_613910-17766.jpg",
imageAlt: "Rami S.",
},
]} ]}
kpiItems={[ kpiItems={[
{ {
value: "5.0", value: "5.0", label: "Average Rating"},
label: "Rating",
},
{ {
value: "10+", value: "10+", label: "Years of Experience"},
label: "Years Experience",
},
{ {
value: "100s", value: "100s", label: "Happy Patients"},
label: "Happy Smiles",
},
]} ]}
title="What Our Patients Say" title="What Our Patients Say"
description="Hear directly from families in عزازقة who trust My Family Dental for their oral health. Your satisfaction and comfort are our greatest rewards." description="Our commitment to excellence is reflected in the smiles and positive feedback of our valued patients. Read their stories and see why they trust us with their dental health."
/> />
</div> </div>
@@ -413,16 +236,9 @@ export default function LandingPage() {
textboxLayout="default" textboxLayout="default"
useInvertedBackground={true} useInvertedBackground={true}
names={[ names={[
"Happy Families", "Dental Health Alliance", "Smile Foundation", "Oral Care Network", "Healthy Teeth Project", "Bright Smiles Initiative", "National Dental Association", "Community Oral Health"]}
"Community Health", title="Trusted by Leading Health Organizations"
"Local Patients", description="Our commitment to quality dental care has earned us recognition and partnerships with prominent health organizations and initiatives, ensuring we meet the highest standards."
"Gentle Care",
"Trusted Partners",
"Health Alliance",
"Patient Advocates",
]}
title="Trusted by Families Across Azazga"
description="Our commitment to quality dental care has earned the trust of countless patients in عزازقة and the surrounding communities. Join our growing family!"
speed={40} speed={40}
/> />
</div> </div>
@@ -431,37 +247,30 @@ export default function LandingPage() {
<ContactCenter <ContactCenter
useInvertedBackground={false} useInvertedBackground={false}
background={{ background={{
variant: "radial-gradient", variant: "radial-gradient"}}
}} tag="Get in Touch"
tag="Book Your Visit" title="Schedule Your Visit Today"
title="Schedule Your Appointment Today" description="Ready to experience exceptional dental care? Contact us to book your appointment or to learn more about our services. Our friendly team is here to assist you."
description="Ready for a healthier, brighter smile? Contact My Family Dental Dr AZZOUG to book your visit. We're here to answer all your questions and provide the care you deserve." inputPlaceholder="Enter your email"
inputPlaceholder="Your Name" buttonText="Send Message"
buttonText="Submit Request" termsText="By submitting this form, you agree to our Terms and Conditions."
termsText="By submitting this form, you agree to our clinic's privacy policy and terms of service."
/> />
</div> </div>
<div id="footer" data-section="footer"> <div id="footer" data-section="footer">
<FooterCard <FooterCard
logoText="My Family Dental Dr AZZOUG" logoText="My Family Dental"
copyrightText="© 2024 My Family Dental Dr AZZOUG. All rights reserved." copyrightText="© 2025 My Family Dental. All rights reserved."
socialLinks={[ socialLinks={[
{ {
icon: Phone, icon: Phone,
href: "tel:+21344926028", href: "tel:+21344926028", ariaLabel: "Call us"},
ariaLabel: "Call us",
},
{ {
icon: MessageCircle, icon: MessageCircle,
href: "https://wa.me/21344926028", href: "https://wa.me/21344926028", ariaLabel: "WhatsApp us"},
ariaLabel: "Message on WhatsApp",
},
{ {
icon: MapPin, icon: MapPin,
href: "https://www.google.com/maps/search/My+Family+Dental+Dr+AZZOUG+P9JC%2B5FW%E2%80%8E%2C+%E2%80%8F%D8%B9%D8%B2%D8%A7%D8%B2%D9%82%D8%A9", href: "https://www.google.com/maps/search/My+Family+Dental+Dr+AZZOUG+P9JC%2B5FW%E2%80%8E%2C+%E2%80%8F%D8%B9%D8%B2%D8%A7%D8%B2%D9%82%D8%A9", ariaLabel: "Find us on map"},
ariaLabel: "Get Directions",
},
]} ]}
/> />
</div> </div>

6
src/i18n.config.ts Normal file
View File

@@ -0,0 +1,6 @@
export const i18n = {
defaultLocale: 'en',
locales: ['en', 'ar', 'fr'],
} as const;
export type Locale = (typeof i18n)['locales'][number];

4
src/i18n.js Normal file
View File

@@ -0,0 +1,4 @@
export const i18n = {
defaultLocale: 'en',
locales: ['en', 'ar', 'fr'],
};

44
src/middleware.ts Normal file
View File

@@ -0,0 +1,44 @@
import { NextResponse } from 'next/server';
import type { NextRequest } from 'next/server';
import { i18n } from './i18n';
const { locales, defaultLocale } = i18n;
function getLocaleFromHeaders(request: NextRequest): string {
const acceptLanguageHeader = request.headers.get('accept-language');
if (acceptLanguageHeader) {
const languages = acceptLanguageHeader.split(',').map(l => l.split(';')[0].trim());
for (const lang of languages) {
if (locales.includes(lang)) {
return lang;
}
}
}
return defaultLocale;
}
export function middleware(request: NextRequest) {
const pathname = request.nextUrl.pathname;
// Check if the pathname already contains a locale
const pathnameHasLocale = locales.some(
(locale) => pathname.startsWith(`/${locale}/`) || pathname === `/${locale}`
);
if (pathnameHasLocale) {
return;
}
// Redirect if no locale
const locale = getLocaleFromHeaders(request);
request.nextUrl.pathname = `/${locale}${pathname}`;
return NextResponse.redirect(request.nextUrl);
}
export const config = {
matcher: [
// Skip all internal paths like /_next/ (static assets, api routes, etc.)
// Also skip favicon.ico
'/((?!api|_next/static|_next/image|favicon.ico).*)',
],
};