Merge version_1 into main #2

Merged
bender merged 5 commits from version_1 into main 2026-03-12 16:33:25 +00:00
5 changed files with 96 additions and 266 deletions

View File

@@ -20,8 +20,7 @@ export default function AboutPage() {
const footerColumns = [
{
title: "Navigation",
items: [
title: "Navigation", items: [
{ label: "Home", href: "/" },
{ label: "Services", href: "/services" },
{ label: "About", href: "/about" },
@@ -30,8 +29,7 @@ export default function AboutPage() {
],
},
{
title: "Nous Contacter",
items: [
title: "Nous Contacter", items: [
{ label: "Téléphone: 0636 27 38 89", href: "tel:0636273889" },
{ label: "Email: contact@badrsmile.dz", href: "mailto:contact@badrsmile.dz" },
{ label: "Localisation: Wilaya Center", href: "#" },
@@ -39,8 +37,7 @@ export default function AboutPage() {
],
},
{
title: "Suivez-Nous",
items: [
title: "Suivez-Nous", items: [
{ label: "Instagram", href: "https://instagram.com/badrsmilecenter" },
{ label: "Facebook", href: "https://facebook.com/badrsmilecenter" },
{ label: "Politique de Confidentialité", href: "#" },
@@ -75,14 +72,10 @@ export default function AboutPage() {
<TextSplitAbout
title="Pourquoi Nous Choisir"
description={[
"BADR SMILE CENTER est une clinique dentaire de référence en soins esthétiques et en blanchiment dentaire. Notre équipe combine expertise professionnelle, technologie de pointe et approche bienveillante pour transformer vos sourires.",
"Nous nous engageons à fournir des résultats naturels et durables. Chaque patient reçoit un plan de traitement personnalisé conçu pour atteindre ses objectifs spécifiques avec la qualité premium qu'il mérite.",
]}
"BADR SMILE CENTER est une clinique dentaire de référence en soins esthétiques et en blanchiment dentaire. Notre équipe combine expertise professionnelle, technologie de pointe et approche bienveillante pour transformer vos sourires.", "Nous nous engageons à fournir des résultats naturels et durables. Chaque patient reçoit un plan de traitement personnalisé conçu pour atteindre ses objectifs spécifiques avec la qualité premium qu'il mérite."]}
buttons={[
{
text: "En savoir plus",
href: "/about",
},
text: "En savoir plus", href: "/about"},
]}
buttonAnimation="slide-up"
showBorder={false}
@@ -95,29 +88,17 @@ export default function AboutPage() {
<MetricCardThree
metrics={[
{
id: "1",
icon: Award,
title: "Dentistes Expérimentés",
value: "15+ ans",
},
id: "1", icon: Award,
title: "Dentistes Expérimentés", value: "15+ ans"},
{
id: "2",
icon: Zap,
title: "Technologie Moderne",
value: "100%",
},
id: "2", icon: Zap,
title: "Technologie Moderne", value: "100%"},
{
id: "3",
icon: Smile,
title: "Résultats Naturels",
value: "Garantis",
},
id: "3", icon: Smile,
title: "Résultats Naturels", value: "Garantis"},
{
id: "4",
icon: Star,
title: "Service Professionnel",
value: "5 étoiles",
},
id: "4", icon: Star,
title: "Service Professionnel", value: "5 étoiles"},
]}
title="Pourquoi Nous Faire Confiance"
description="Notre clinique excelle dans la prestation de soins dentaires de haute qualité avec professionnalisme et expertise"
@@ -136,10 +117,9 @@ export default function AboutPage() {
title="Réservez Votre Consultation"
description="Nous vous accueillons pour une consultation gratuite. Nos experts vous conseilleront sur le meilleur traitement adapté à vos besoins."
background={{
variant: "radial-gradient",
}}
variant: "radial-gradient"}}
useInvertedBackground={false}
imageSrc="http://img.b2bpic.net/free-photo/young-lady-asking-informations-filling-stomatological-form-while-patients-talking-sitting-chair-waiting-area-people-speaking-crowded-professional-orthodontist-reception-office_482257-3581.jpg?_wi=2"
imageSrc="http://img.b2bpic.net/free-photo/young-lady-asking-informations-filling-stomatological-form-while-patients-talking-sitting-chair-waiting-area-people-speaking-crowded-professional-orthodontist-reception-office_482257-3581.jpg"
imageAlt="Formulaire de prise de rendez-vous"
mediaAnimation="blur-reveal"
mediaPosition="right"

View File

@@ -18,8 +18,7 @@ export default function GalleryPage() {
const footerColumns = [
{
title: "Navigation",
items: [
title: "Navigation", items: [
{ label: "Home", href: "/" },
{ label: "Services", href: "/services" },
{ label: "About", href: "/about" },
@@ -28,8 +27,7 @@ export default function GalleryPage() {
],
},
{
title: "Nous Contacter",
items: [
title: "Nous Contacter", items: [
{ label: "Téléphone: 0636 27 38 89", href: "tel:0636273889" },
{ label: "Email: contact@badrsmile.dz", href: "mailto:contact@badrsmile.dz" },
{ label: "Localisation: Wilaya Center", href: "#" },
@@ -37,8 +35,7 @@ export default function GalleryPage() {
],
},
{
title: "Suivez-Nous",
items: [
title: "Suivez-Nous", items: [
{ label: "Instagram", href: "https://instagram.com/badrsmilecenter" },
{ label: "Facebook", href: "https://facebook.com/badrsmilecenter" },
{ label: "Politique de Confidentialité", href: "#" },
@@ -73,65 +70,29 @@ export default function GalleryPage() {
<TestimonialCardSix
testimonials={[
{
id: "1",
name: "Transformation Blanchiment",
handle: "Résultat éclatant",
testimonial:
"Notre expert a réalisé une transformation complète du sourire avec un blanchiment professionnel. Résultat naturel et durable.",
imageSrc:
"http://img.b2bpic.net/free-photo/male-doctor-talking-patient-showing-dental-jaw_23-2147862033.jpg?_wi=3",
imageAlt: "Avant et après blanchiment dentaire",
},
id: "1", name: "Transformation Blanchiment", handle: "Résultat éclatant", testimonial:
"Notre expert a réalisé une transformation complète du sourire avec un blanchiment professionnel. Résultat naturel et durable.", imageSrc:
"http://img.b2bpic.net/free-photo/male-doctor-talking-patient-showing-dental-jaw_23-2147862033.jpg", imageAlt: "Avant et après blanchiment dentaire"},
{
id: "2",
name: "Implant Dentaire",
handle: "Restauration complète",
testimonial:
"Procédure d'implant réussie avec résultat esthétique impeccable. Le sourire retrouve sa confiance naturelle.",
imageSrc:
"http://img.b2bpic.net/free-photo/closeup-smiling-woman-making-frame-gesture_1262-1764.jpg?_wi=3",
imageAlt: "Avant et après implant dentaire",
},
id: "2", name: "Implant Dentaire", handle: "Restauration complète", testimonial:
"Procédure d'implant réussie avec résultat esthétique impeccable. Le sourire retrouve sa confiance naturelle.", imageSrc:
"http://img.b2bpic.net/free-photo/closeup-smiling-woman-making-frame-gesture_1262-1764.jpg", imageAlt: "Avant et après implant dentaire"},
{
id: "3",
name: "Design du Sourire",
handle: "Transformation totale",
testimonial:
"Notre approche complète du design du sourire a transformé cette smile. Alignement et esthétique parfaits.",
imageSrc:
"http://img.b2bpic.net/free-photo/beautiful-girl-sitting-dentist-s-office_1157-28567.jpg?_wi=2",
imageAlt: "Avant et après design du sourire",
},
id: "3", name: "Design du Sourire", handle: "Transformation totale", testimonial:
"Notre approche complète du design du sourire a transformé cette smile. Alignement et esthétique parfaits.", imageSrc:
"http://img.b2bpic.net/free-photo/beautiful-girl-sitting-dentist-s-office_1157-28567.jpg", imageAlt: "Avant et après design du sourire"},
{
id: "4",
name: "Restauration Complète",
handle: "Résultat naturel",
testimonial:
"Restauration esthétique et fonctionnelle complète. Un sourire nouveau avec une qualité premium garantie.",
imageSrc:
"http://img.b2bpic.net/free-photo/young-female-dentist-showing-patient-dental-xray-dentistry-concept_169016-66944.jpg?_wi=2",
imageAlt: "Avant et après restauration dentaire",
},
id: "4", name: "Restauration Complète", handle: "Résultat naturel", testimonial:
"Restauration esthétique et fonctionnelle complète. Un sourire nouveau avec une qualité premium garantie.", imageSrc:
"http://img.b2bpic.net/free-photo/young-female-dentist-showing-patient-dental-xray-dentistry-concept_169016-66944.jpg", imageAlt: "Avant et après restauration dentaire"},
{
id: "5",
name: "Blanchiment Avancé",
handle: "Sourire premium",
testimonial:
"Blanchiment professionnel associé à des soins esthétiques. Résultat éclatant et naturel garanti.",
imageSrc:
"http://img.b2bpic.net/free-photo/male-doctor-talking-patient-showing-dental-jaw_23-2147862033.jpg?_wi=4",
imageAlt: "Avant et après blanchiment professionnel",
},
id: "5", name: "Blanchiment Avancé", handle: "Sourire premium", testimonial:
"Blanchiment professionnel associé à des soins esthétiques. Résultat éclatant et naturel garanti.", imageSrc:
"http://img.b2bpic.net/free-photo/male-doctor-talking-patient-showing-dental-jaw_23-2147862033.jpg", imageAlt: "Avant et après blanchiment professionnel"},
{
id: "6",
name: "Correction Complète",
handle: "Confiance retrouvée",
testimonial:
"Notre équipe a réalisé une correction complète pour un sourire harmonieux et éclairant. Satisfaction garantie.",
imageSrc:
"http://img.b2bpic.net/free-photo/closeup-smiling-woman-making-frame-gesture_1262-1764.jpg?_wi=4",
imageAlt: "Avant et après correction dentaire",
},
id: "6", name: "Correction Complète", handle: "Confiance retrouvée", testimonial:
"Notre équipe a réalisé une correction complète pour un sourire harmonieux et éclairant. Satisfaction garantie.", imageSrc:
"http://img.b2bpic.net/free-photo/closeup-smiling-woman-making-frame-gesture_1262-1764.jpg", imageAlt: "Avant et après correction dentaire"},
]}
title="Galerie Avant/Après"
description="Transformations remarquables réalisées par nos experts dentaires"
@@ -153,10 +114,9 @@ export default function GalleryPage() {
title="Nous Sommes À Votre Écoute"
description="BADR SMILE CENTER - Clinique Dentaire Premium. Téléphone: 0636 27 38 89. Localisation: Wilaya Center. Horaires d'ouverture: Lundi-Samedi 8h-19h, Dimanche fermé."
background={{
variant: "radial-gradient",
}}
variant: "radial-gradient"}}
useInvertedBackground={false}
imageSrc="http://img.b2bpic.net/free-photo/nobody-doctors-office-with-medical-equipment-tools_482257-27168.jpg?_wi=2"
imageSrc="http://img.b2bpic.net/free-photo/nobody-doctors-office-with-medical-equipment-tools_482257-27168.jpg"
imageAlt="Localisation et contact de la clinique"
mediaAnimation="blur-reveal"
mediaPosition="left"

View File

@@ -22,8 +22,7 @@ export default function HomePage() {
const footerColumns = [
{
title: "Navigation",
items: [
title: "Navigation", items: [
{ label: "Home", href: "/" },
{ label: "Services", href: "/services" },
{ label: "About", href: "/about" },
@@ -32,8 +31,7 @@ export default function HomePage() {
],
},
{
title: "Nous Contacter",
items: [
title: "Nous Contacter", items: [
{ label: "Téléphone: 0636 27 38 89", href: "tel:0636273889" },
{ label: "Email: contact@badrsmile.dz", href: "mailto:contact@badrsmile.dz" },
{ label: "Localisation: Wilaya Center", href: "#" },
@@ -41,8 +39,7 @@ export default function HomePage() {
],
},
{
title: "Suivez-Nous",
items: [
title: "Suivez-Nous", items: [
{ label: "Instagram", href: "https://instagram.com/badrsmilecenter" },
{ label: "Facebook", href: "https://facebook.com/badrsmilecenter" },
{ label: "Politique de Confidentialité", href: "#" },
@@ -85,13 +82,9 @@ export default function HomePage() {
showDimOverlay={true}
buttons={[
{
text: "Prendre rendez-vous",
href: "/contact",
},
text: "Prendre rendez-vous", href: "/contact"},
{
text: "Découvrir nos services",
href: "/services",
},
text: "Découvrir nos services", href: "/services"},
]}
buttonAnimation="slide-up"
ariaLabel="Section héro - Bienvenue à BADR SMILE CENTER"
@@ -104,29 +97,17 @@ export default function HomePage() {
description="Notre clinique excelle dans la prestation de soins dentaires de haute qualité avec professionnalisme et expertise"
metrics={[
{
id: "1",
icon: Award,
title: "Dentistes Expérimentés",
value: "15+ ans",
},
id: "1", icon: Award,
title: "Dentistes Expérimentés", value: "15+ ans"},
{
id: "2",
icon: Zap,
title: "Technologie Moderne",
value: "100%",
},
id: "2", icon: Zap,
title: "Technologie Moderne", value: "100%"},
{
id: "3",
icon: Smile,
title: "Résultats Naturels",
value: "Garantis",
},
id: "3", icon: Smile,
title: "Résultats Naturels", value: "Garantis"},
{
id: "4",
icon: Star,
title: "Service Professionnel",
value: "5 étoiles",
},
id: "4", icon: Star,
title: "Service Professionnel", value: "5 étoiles"},
]}
animationType="slide-up"
textboxLayout="default"
@@ -143,53 +124,17 @@ export default function HomePage() {
tagAnimation="slide-up"
testimonials={[
{
id: "1",
name: "Transformation Blanchiment",
handle: "Résultat éclatant",
testimonial: "Notre expert a réalisé une transformation complète du sourire avec un blanchiment professionnel. Résultat naturel et durable.",
imageSrc: "http://img.b2bpic.net/free-photo/male-doctor-talking-patient-showing-dental-jaw_23-2147862033.jpg?_wi=1",
imageAlt: "Avant et après blanchiment dentaire",
},
id: "1", name: "Transformation Blanchiment", handle: "Résultat éclatant", testimonial: "Notre expert a réalisé une transformation complète du sourire avec un blanchiment professionnel. Résultat naturel et durable.", imageSrc: "http://img.b2bpic.net/free-photo/male-doctor-talking-patient-showing-dental-jaw_23-2147862033.jpg", imageAlt: "Avant et après blanchiment dentaire"},
{
id: "2",
name: "Implant Dentaire",
handle: "Restauration complète",
testimonial: "Procédure d'implant réussie avec résultat esthétique impeccable. Le sourire retrouve sa confiance naturelle.",
imageSrc: "http://img.b2bpic.net/free-photo/closeup-smiling-woman-making-frame-gesture_1262-1764.jpg?_wi=1",
imageAlt: "Avant et après implant dentaire",
},
id: "2", name: "Implant Dentaire", handle: "Restauration complète", testimonial: "Procédure d'implant réussie avec résultat esthétique impeccable. Le sourire retrouve sa confiance naturelle.", imageSrc: "http://img.b2bpic.net/free-photo/closeup-smiling-woman-making-frame-gesture_1262-1764.jpg", imageAlt: "Avant et après implant dentaire"},
{
id: "3",
name: "Design du Sourire",
handle: "Transformation totale",
testimonial: "Notre approche complète du design du sourire a transformé cette smile. Alignement et esthétique parfaits.",
imageSrc: "http://img.b2bpic.net/free-photo/beautiful-girl-sitting-dentist-s-office_1157-28567.jpg?_wi=1",
imageAlt: "Avant et après design du sourire",
},
id: "3", name: "Design du Sourire", handle: "Transformation totale", testimonial: "Notre approche complète du design du sourire a transformé cette smile. Alignement et esthétique parfaits.", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-girl-sitting-dentist-s-office_1157-28567.jpg", imageAlt: "Avant et après design du sourire"},
{
id: "4",
name: "Restauration Complète",
handle: "Résultat naturel",
testimonial: "Restauration esthétique et fonctionnelle complète. Un sourire nouveau avec une qualité premium garantie.",
imageSrc: "http://img.b2bpic.net/free-photo/young-female-dentist-showing-patient-dental-xray-dentistry-concept_169016-66944.jpg?_wi=1",
imageAlt: "Avant et après restauration dentaire",
},
id: "4", name: "Restauration Complète", handle: "Résultat naturel", testimonial: "Restauration esthétique et fonctionnelle complète. Un sourire nouveau avec une qualité premium garantie.", imageSrc: "http://img.b2bpic.net/free-photo/young-female-dentist-showing-patient-dental-xray-dentistry-concept_169016-66944.jpg", imageAlt: "Avant et après restauration dentaire"},
{
id: "5",
name: "Blanchiment Avancé",
handle: "Sourire premium",
testimonial: "Blanchiment professionnel associé à des soins esthétiques. Résultat éclatant et naturel garanti.",
imageSrc: "http://img.b2bpic.net/free-photo/male-doctor-talking-patient-showing-dental-jaw_23-2147862033.jpg?_wi=2",
imageAlt: "Avant et après blanchiment professionnel",
},
id: "5", name: "Blanchiment Avancé", handle: "Sourire premium", testimonial: "Blanchiment professionnel associé à des soins esthétiques. Résultat éclatant et naturel garanti.", imageSrc: "http://img.b2bpic.net/free-photo/male-doctor-talking-patient-showing-dental-jaw_23-2147862033.jpg", imageAlt: "Avant et après blanchiment professionnel"},
{
id: "6",
name: "Correction Complète",
handle: "Confiance retrouvée",
testimonial: "Notre équipe a réalisé une correction complète pour un sourire harmonieux et éclairant. Satisfaction garantie.",
imageSrc: "http://img.b2bpic.net/free-photo/closeup-smiling-woman-making-frame-gesture_1262-1764.jpg?_wi=2",
imageAlt: "Avant et après correction dentaire",
},
id: "6", name: "Correction Complète", handle: "Confiance retrouvée", testimonial: "Notre équipe a réalisé une correction complète pour un sourire harmonieux et éclairant. Satisfaction garantie.", imageSrc: "http://img.b2bpic.net/free-photo/closeup-smiling-woman-making-frame-gesture_1262-1764.jpg", imageAlt: "Avant et après correction dentaire"},
]}
animationType="slide-up"
textboxLayout="default"
@@ -203,14 +148,10 @@ export default function HomePage() {
<TextSplitAbout
title="Pourquoi Nous Choisir"
description={[
"BADR SMILE CENTER est une clinique dentaire de référence en soins esthétiques et en blanchiment dentaire. Notre équipe combine expertise professionnelle, technologie de pointe et approche bienveillante pour transformer vos sourires.",
"Nous nous engageons à fournir des résultats naturels et durables. Chaque patient reçoit un plan de traitement personnalisé conçu pour atteindre ses objectifs spécifiques avec la qualité premium qu'il mérite.",
]}
"BADR SMILE CENTER est une clinique dentaire de référence en soins esthétiques et en blanchiment dentaire. Notre équipe combine expertise professionnelle, technologie de pointe et approche bienveillante pour transformer vos sourires.", "Nous nous engageons à fournir des résultats naturels et durables. Chaque patient reçoit un plan de traitement personnalisé conçu pour atteindre ses objectifs spécifiques avec la qualité premium qu'il mérite."]}
buttons={[
{
text: "En savoir plus",
href: "/about",
},
text: "En savoir plus", href: "/about"},
]}
buttonAnimation="slide-up"
showBorder={false}
@@ -228,7 +169,7 @@ export default function HomePage() {
description="Nous vous accueillons pour une consultation gratuite. Nos experts vous conseilleront sur le meilleur traitement adapté à vos besoins."
background={{ variant: "radial-gradient" }}
useInvertedBackground={false}
imageSrc="http://img.b2bpic.net/free-photo/young-lady-asking-informations-filling-stomatological-form-while-patients-talking-sitting-chair-waiting-area-people-speaking-crowded-professional-orthodontist-reception-office_482257-3581.jpg?_wi=1"
imageSrc="http://img.b2bpic.net/free-photo/young-lady-asking-informations-filling-stomatological-form-while-patients-talking-sitting-chair-waiting-area-people-speaking-crowded-professional-orthodontist-reception-office_482257-3581.jpg"
imageAlt="Formulaire de prise de rendez-vous"
mediaAnimation="blur-reveal"
mediaPosition="right"

View File

@@ -18,8 +18,7 @@ export default function ServicesPage() {
const footerColumns = [
{
title: "Navigation",
items: [
title: "Navigation", items: [
{ label: "Home", href: "/" },
{ label: "Services", href: "/services" },
{ label: "About", href: "/about" },
@@ -28,8 +27,7 @@ export default function ServicesPage() {
],
},
{
title: "Nous Contacter",
items: [
title: "Nous Contacter", items: [
{ label: "Téléphone: 0636 27 38 89", href: "tel:0636273889" },
{ label: "Email: contact@badrsmile.dz", href: "mailto:contact@badrsmile.dz" },
{ label: "Localisation: Wilaya Center", href: "#" },
@@ -37,8 +35,7 @@ export default function ServicesPage() {
],
},
{
title: "Suivez-Nous",
items: [
title: "Suivez-Nous", items: [
{ label: "Instagram", href: "https://instagram.com/badrsmilecenter" },
{ label: "Facebook", href: "https://facebook.com/badrsmilecenter" },
{ label: "Politique de Confidentialité", href: "#" },
@@ -77,55 +74,20 @@ export default function ServicesPage() {
tagAnimation="slide-up"
products={[
{
id: "1",
brand: "BADR SMILE",
name: "Blanchiment Dentaire",
price: "À partir de 300€",
rating: 5,
reviewCount: "250+",
imageSrc: "http://img.b2bpic.net/free-photo/beautiful-girl-sitting-dentist-s-office_1157-21012.jpg",
imageAlt: "Service de blanchiment dentaire professionnel",
},
id: "1", brand: "BADR SMILE", name: "Blanchiment Dentaire", price: "À partir de 300€", rating: 5,
reviewCount: "250+", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-girl-sitting-dentist-s-office_1157-21012.jpg", imageAlt: "Service de blanchiment dentaire professionnel"},
{
id: "2",
brand: "BADR SMILE",
name: "Implants Dentaires",
price: "À partir de 1200€",
rating: 5,
reviewCount: "180+",
imageSrc: "http://img.b2bpic.net/free-photo/dentist-talking-worried-woman-dental-checkup_329181-20771.jpg",
imageAlt: "Procédure d'implant dentaire moderne",
},
id: "2", brand: "BADR SMILE", name: "Implants Dentaires", price: "À partir de 1200€", rating: 5,
reviewCount: "180+", imageSrc: "http://img.b2bpic.net/free-photo/dentist-talking-worried-woman-dental-checkup_329181-20771.jpg", imageAlt: "Procédure d'implant dentaire moderne"},
{
id: "3",
brand: "BADR SMILE",
name: "Prothèses Dentaires",
price: "À partir de 800€",
rating: 5,
reviewCount: "160+",
imageSrc: "http://img.b2bpic.net/free-photo/dentist-treats-childs-tooth-using-rubber-dam-closeup-tooth-treatment_169016-66870.jpg",
imageAlt: "Solutions de prothèses dentaires professionnelles",
},
id: "3", brand: "BADR SMILE", name: "Prothèses Dentaires", price: "À partir de 800€", rating: 5,
reviewCount: "160+", imageSrc: "http://img.b2bpic.net/free-photo/dentist-treats-childs-tooth-using-rubber-dam-closeup-tooth-treatment_169016-66870.jpg", imageAlt: "Solutions de prothèses dentaires professionnelles"},
{
id: "4",
brand: "BADR SMILE",
name: "Soins Dentaires",
price: "À partir de 50€",
rating: 5,
reviewCount: "500+",
imageSrc: "http://img.b2bpic.net/free-photo/close-up-concentrated-woman-brushing-teeth_1262-6010.jpg",
imageAlt: "Nettoyage et soins dentaires professionnels",
},
id: "4", brand: "BADR SMILE", name: "Soins Dentaires", price: "À partir de 50€", rating: 5,
reviewCount: "500+", imageSrc: "http://img.b2bpic.net/free-photo/close-up-concentrated-woman-brushing-teeth_1262-6010.jpg", imageAlt: "Nettoyage et soins dentaires professionnels"},
{
id: "5",
brand: "BADR SMILE",
name: "Esthétique du Sourire",
price: "Consultation gratuite",
rating: 5,
reviewCount: "220+",
imageSrc: "http://img.b2bpic.net/free-photo/cheerful-dentist-patient-sitting-dental-office_651396-1900.jpg",
imageAlt: "Design du sourire et esthétique dentaire",
},
id: "5", brand: "BADR SMILE", name: "Esthétique du Sourire", price: "Consultation gratuite", rating: 5,
reviewCount: "220+", imageSrc: "http://img.b2bpic.net/free-photo/cheerful-dentist-patient-sitting-dental-office_651396-1900.jpg", imageAlt: "Design du sourire et esthétique dentaire"},
]}
gridVariant="three-columns-all-equal-width"
animationType="slide-up"
@@ -144,7 +106,7 @@ export default function ServicesPage() {
description="BADR SMILE CENTER - Clinique Dentaire Premium. Téléphone: 0636 27 38 89. Localisation: Wilaya Center. Horaires d'ouverture: Lundi-Samedi 8h-19h, Dimanche fermé."
background={{ variant: "radial-gradient" }}
useInvertedBackground={false}
imageSrc="http://img.b2bpic.net/free-photo/nobody-doctors-office-with-medical-equipment-tools_482257-27168.jpg?_wi=1"
imageSrc="http://img.b2bpic.net/free-photo/nobody-doctors-office-with-medical-equipment-tools_482257-27168.jpg"
imageAlt="Localisation et contact de la clinique"
mediaAnimation="blur-reveal"
mediaPosition="left"

View File

@@ -1,51 +1,38 @@
"use client";
import { memo } from "react";
import useSvgTextLogo from "./useSvgTextLogo";
import { cls } from "@/lib/utils";
import React from 'react';
interface SvgTextLogoProps {
logoText: string;
adjustHeightFactor?: number;
verticalAlign?: "top" | "center";
text: string;
fontSize?: number;
fill?: string;
className?: string;
}
const SvgTextLogo = memo<SvgTextLogoProps>(function SvgTextLogo({
logoText,
adjustHeightFactor,
verticalAlign = "top",
className = "",
}) {
const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
text,
fontSize = 24,
fill = 'currentColor',
className = '',
}) => {
return (
<svg
ref={svgRef}
viewBox={viewBox}
className={cls("w-full", className)}
style={{ aspectRatio: aspectRatio }}
preserveAspectRatio="none"
role="img"
aria-label={`${logoText} logo`}
viewBox={`0 0 ${text.length * fontSize} ${fontSize * 1.5}`}
width={text.length * (fontSize / 1.5)}
height={fontSize}
className={className}
>
<text
ref={textRef}
x="0"
y={verticalAlign === "center" ? "50%" : "0"}
className="font-bold fill-current"
style={{
fontSize: "20px",
letterSpacing: "-0.02em",
dominantBaseline: verticalAlign === "center" ? "middle" : "text-before-edge"
}}
y={fontSize}
fontSize={fontSize}
fill={fill}
fontWeight="bold"
fontFamily="system-ui, -apple-system, sans-serif"
dominantBaseline="middle"
>
{logoText}
{text}
</text>
</svg>
);
});
SvgTextLogo.displayName = "SvgTextLogo";
};
export default SvgTextLogo;