Merge version_1 into main #2

Merged
bender merged 4 commits from version_1 into main 2026-03-12 11:54:16 +00:00
4 changed files with 94 additions and 264 deletions

View File

@@ -17,8 +17,7 @@ export default function ContactPage() {
const footerColumns = [
{
title: "Servicii",
items: [
title: "Servicii", items: [
{ label: "Profilaxie", href: "/servicii" },
{ label: "Implant Dent", href: "/servicii" },
{ label: "Corecții", href: "/servicii" },
@@ -26,8 +25,7 @@ export default function ContactPage() {
],
},
{
title: "Companie",
items: [
title: "Companie", items: [
{ label: "Despre Noi", href: "/despre" },
{ label: "Echipa", href: "/despre" },
{ label: "Blog", href: "#" },
@@ -35,8 +33,7 @@ export default function ContactPage() {
],
},
{
title: "Legal",
items: [
title: "Legal", items: [
{ label: "Politica de Confidențialitate", href: "#" },
{ label: "Termeni și Condiții", href: "#" },
{ label: "Politica de Cookie-uri", href: "#" },
@@ -51,7 +48,7 @@ export default function ContactPage() {
borderRadius="pill"
contentWidth="smallMedium"
sizing="mediumLargeSizeMediumTitles"
background="aurora"
background="circleGradient"
cardStyle="layered-gradient"
primaryButtonStyle="primary-glow"
secondaryButtonStyle="solid"
@@ -73,9 +70,9 @@ export default function ContactPage() {
description="Primești informații despre promovări speciale, sfaturi de igienă dentară și noutăți din medicina stomatologică direct în inboxul tău."
tagIcon={Mail}
tagAnimation="slide-up"
background={{ variant: "aurora" }}
background={{ variant: "plain" }}
useInvertedBackground={false}
imageSrc="http://img.b2bpic.net/free-vector/mailbox-concept-landing-page_52683-25636.jpg?_wi=3"
imageSrc="http://img.b2bpic.net/free-vector/mailbox-concept-landing-page_52683-25636.jpg"
imageAlt="Newsletter"
mediaAnimation="slide-up"
mediaPosition="right"

View File

@@ -21,8 +21,7 @@ const navItems = [
const footerColumns = [
{
title: "Servicii",
items: [
title: "Servicii", items: [
{ label: "Profilaxie", href: "servicii" },
{ label: "Implant Dent", href: "servicii" },
{ label: "Corecții", href: "servicii" },
@@ -30,8 +29,7 @@ const footerColumns = [
],
},
{
title: "Companie",
items: [
title: "Companie", items: [
{ label: "Despre Noi", href: "/despre" },
{ label: "Echipa", href: "/despre" },
{ label: "Blog", href: "/blog" },
@@ -39,8 +37,7 @@ const footerColumns = [
],
},
{
title: "Legal",
items: [
title: "Legal", items: [
{ label: "Politica de Confidențialitate", href: "#privacy" },
{ label: "Termeni și Condiții", href: "#terms" },
{ label: "Politica de Cookie-uri", href: "#cookies" },
@@ -56,7 +53,7 @@ export default function HomePage() {
borderRadius="pill"
contentWidth="smallMedium"
sizing="mediumLargeSizeMediumTitles"
background="aurora"
background="circleGradient"
cardStyle="layered-gradient"
primaryButtonStyle="primary-glow"
secondaryButtonStyle="solid"
@@ -67,9 +64,7 @@ export default function HomePage() {
brandName="DrSmile Dent"
navItems={navItems}
button={{
text: "Programare",
href: "/contact",
}}
text: "Programare", href: "/contact"}}
animateOnLoad={true}
/>
</div>
@@ -78,20 +73,14 @@ export default function HomePage() {
<HeroSplitKpi
title="Zâmbetul Tău Este Prioritatea Noastră"
description="Cabinet stomatologic modern cu tehnologie avansată și o echipă dedicată sănătății dumneavoastră dentare. Oferim servicii complete de stomatologie într-un mediu cald și primitor."
background={{ variant: "aurora" }}
background={{ variant: "glowing-orb" }}
kpis={[
{
value: "25+",
label: "Ani de Experiență",
},
value: "25+", label: "Ani de Experiență"},
{
value: "5000+",
label: "Pacienți Mulțumiți",
},
value: "5000+", label: "Pacienți Mulțumiți"},
{
value: "99%",
label: "Satisfacție",
},
value: "99%", label: "Satisfacție"},
]}
enableKpiAnimation={true}
tag="Stomatologie Modernă"
@@ -99,13 +88,9 @@ export default function HomePage() {
tagAnimation="slide-up"
buttons={[
{
text: "Programează Acum",
href: "/contact",
},
text: "Programează Acum", href: "/contact"},
{
text: "Află Mai Multe",
href: "/servicii",
},
text: "Află Mai Multe", href: "/servicii"},
]}
buttonAnimation="slide-up"
imageSrc="http://img.b2bpic.net/free-photo/portrait-smiling-female-male-dentist-clinic_23-2147879205.jpg"
@@ -124,9 +109,7 @@ export default function HomePage() {
tagAnimation="slide-up"
buttons={[
{
text: "Consultație Gratuită",
href: "/contact",
},
text: "Consultație Gratuită", href: "/contact"},
]}
buttonAnimation="slide-up"
textboxLayout="default"
@@ -135,35 +118,14 @@ export default function HomePage() {
animationType="slide-up"
products={[
{
id: "1",
brand: "DrSmile",
name: "Profilaxie și Igienă",
price: "Consulare",
rating: 5,
reviewCount: "200+",
imageSrc: "http://img.b2bpic.net/free-photo/close-up-dentist-patient_23-2149164290.jpg?_wi=1",
imageAlt: "Serviciu de profilaxie",
},
id: "1", brand: "DrSmile", name: "Profilaxie și Igienă", price: "Consulare", rating: 5,
reviewCount: "200+", imageSrc: "http://img.b2bpic.net/free-photo/close-up-dentist-patient_23-2149164290.jpg", imageAlt: "Serviciu de profilaxie"},
{
id: "2",
brand: "DrSmile",
name: "Tratament Canale",
price: "Tratament",
rating: 5,
reviewCount: "150+",
imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiling-man-nurse-dental-office-while-pediatric-doctor-is-talking-with-patient-background-stomatologist-assistant-looking-camera-sitting-chair-stomatological-clinic_482257-3285.jpg?_wi=1",
imageAlt: "Tratament de canale",
},
id: "2", brand: "DrSmile", name: "Tratament Canale", price: "Tratament", rating: 5,
reviewCount: "150+", imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiling-man-nurse-dental-office-while-pediatric-doctor-is-talking-with-patient-background-stomatologist-assistant-looking-camera-sitting-chair-stomatological-clinic_482257-3285.jpg", imageAlt: "Tratament de canale"},
{
id: "3",
brand: "DrSmile",
name: "Implanturi Dentare",
price: "Implanturi",
rating: 5,
reviewCount: "180+",
imageSrc: "http://img.b2bpic.net/free-vector/human-teeth-dental-implant-template_73621-1013.jpg?_wi=1",
imageAlt: "Implanturi dentare",
},
id: "3", brand: "DrSmile", name: "Implanturi Dentare", price: "Implanturi", rating: 5,
reviewCount: "180+", imageSrc: "http://img.b2bpic.net/free-vector/human-teeth-dental-implant-template_73621-1013.jpg", imageAlt: "Implanturi dentare"},
]}
/>
</div>
@@ -172,28 +134,17 @@ export default function HomePage() {
<InlineImageSplitTextAbout
heading={[
{
type: "text",
content: "Bine ați venit la",
},
type: "text", content: "Bine ați venit la"},
{
type: "image",
src: "http://img.b2bpic.net/free-vector/medical-center-template-design_23-2150149130.jpg",
alt: "Logo DrSmile",
},
type: "image", src: "http://img.b2bpic.net/free-vector/medical-center-template-design_23-2150149130.jpg", alt: "Logo DrSmile"},
{
type: "text",
content: "- locul unde medicina dentară se întâlnește cu pasiunea",
},
type: "text", content: "- locul unde medicina dentară se întâlnește cu pasiunea"},
]}
buttons={[
{
text: "Cunosc-ne Mai Bine",
href: "/despre",
},
text: "Cunosc-ne Mai Bine", href: "/despre"},
{
text: "Vizitează-ne",
href: "/contact",
},
text: "Vizitează-ne", href: "/contact"},
]}
buttonAnimation="slide-up"
useInvertedBackground={false}
@@ -211,29 +162,13 @@ export default function HomePage() {
useInvertedBackground={false}
features={[
{
title: "Tehnologie Avansată",
description: "Utilizăm echipamente stomatologice de ultimă generație pentru diagnostic și tratament precis.",
imageSrc: "http://img.b2bpic.net/free-photo/picture-male-doctor-dentist-looking-x-ray-his-office_496169-988.jpg?_wi=1",
imageAlt: "Tehnologie avansată",
},
title: "Tehnologie Avansată", description: "Utilizăm echipamente stomatologice de ultimă generație pentru diagnostic și tratament precis.", imageSrc: "http://img.b2bpic.net/free-photo/picture-male-doctor-dentist-looking-x-ray-his-office_496169-988.jpg", imageAlt: "Tehnologie avansată"},
{
title: "Echipă Experți",
description: "Doctori cu ani de experiență și formare continuă în cele mai noi tehnici stomatologice.",
imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiling-man-nurse-dental-office-while-pediatric-doctor-is-talking-with-patient-background-stomatologist-assistant-looking-camera-sitting-chair-stomatological-clinic_482257-3285.jpg?_wi=2",
imageAlt: "Echipa de doctori",
},
title: "Echipă Experți", description: "Doctori cu ani de experiență și formare continuă în cele mai noi tehnici stomatologice.", imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiling-man-nurse-dental-office-while-pediatric-doctor-is-talking-with-patient-background-stomatologist-assistant-looking-camera-sitting-chair-stomatological-clinic_482257-3285.jpg", imageAlt: "Echipa de doctori"},
{
title: "Confort Pacient",
description: "Mediu modern și primitor, cu particular atenție la confortul și liniștea fiecărui pacient.",
imageSrc: "http://img.b2bpic.net/free-photo/full-shot-dentist-wearing-face-mask_23-2149164285.jpg?_wi=1",
imageAlt: "Confort în cabinet",
},
title: "Confort Pacient", description: "Mediu modern și primitor, cu particular atenție la confortul și liniștea fiecărui pacient.", imageSrc: "http://img.b2bpic.net/free-photo/full-shot-dentist-wearing-face-mask_23-2149164285.jpg", imageAlt: "Confort în cabinet"},
{
title: "Preturi Accesibile",
description: "Oferim tratamente de calitate la prețuri juste, cu diverse opțiuni de plată disponibile.",
imageSrc: "http://img.b2bpic.net/free-photo/doctor-workplace-medical-stethoscope-laptop-blank-clipboard-pen-light-blue-surface-corona-virus-covid-19-stethoscope-eyeglasses-face-mask-top-view-flat-lay-copy-space_1150-44893.jpg?_wi=1",
imageAlt: "Prețuri accesibile",
},
title: "Preturi Accesibile", description: "Oferim tratamente de calitate la prețuri juste, cu diverse opțiuni de plată disponibile.", imageSrc: "http://img.b2bpic.net/free-photo/doctor-workplace-medical-stethoscope-laptop-blank-clipboard-pen-light-blue-surface-corona-virus-covid-19-stethoscope-eyeglasses-face-mask-top-view-flat-lay-copy-space_1150-44893.jpg", imageAlt: "Prețuri accesibile"},
]}
gridVariant="two-columns-alternating-heights"
animationType="slide-up"
@@ -254,53 +189,17 @@ export default function HomePage() {
topMarqueeDirection="left"
testimonials={[
{
id: "1",
name: "Maria Popescu",
handle: "Pacient de 5 ani",
testimonial: "Cea mai bună experiență stomatologică pe care am avut-o! Doctori profesioniști și foarte atenți. O să recomand cu plăcere!",
imageSrc: "http://img.b2bpic.net/free-photo/smiling-woman-leaning-wall_23-2147611438.jpg?_wi=1",
imageAlt: "Maria Popescu",
},
id: "1", name: "Maria Popescu", handle: "Pacient de 5 ani", testimonial: "Cea mai bună experiență stomatologică pe care am avut-o! Doctori profesioniști și foarte atenți. O să recomand cu plăcere!", imageSrc: "http://img.b2bpic.net/free-photo/smiling-woman-leaning-wall_23-2147611438.jpg", imageAlt: "Maria Popescu"},
{
id: "2",
name: "Ion Ionescu",
handle: "Pacient de 3 ani",
testimonial: "Sunt foarte mulțumit cu serviciile. Echipa este foarte prietenoasă și profesională. Îmi mențin programele regulate aici.",
imageSrc: "http://img.b2bpic.net/free-photo/handsome-mature-grey-birded-man-casual-standing-tree-grass-looking-away-with-arms-folded-freelancer-spend-time-working-outdoors_549566-1002.jpg?_wi=1",
imageAlt: "Ion Ionescu",
},
id: "2", name: "Ion Ionescu", handle: "Pacient de 3 ani", testimonial: "Sunt foarte mulțumit cu serviciile. Echipa este foarte prietenoasă și profesională. Îmi mențin programele regulate aici.", imageSrc: "http://img.b2bpic.net/free-photo/handsome-mature-grey-birded-man-casual-standing-tree-grass-looking-away-with-arms-folded-freelancer-spend-time-working-outdoors_549566-1002.jpg", imageAlt: "Ion Ionescu"},
{
id: "3",
name: "Elena Vasilescu",
handle: "Pacient de 2 ani",
testimonial: "Am avut nevoie de implanturi și sunt foarte fericit de rezultat. Recomand cu inimă curată acest cabinet!",
imageSrc: "http://img.b2bpic.net/free-photo/portrait-beautiful-woman-smelling-flower_23-2148357680.jpg?_wi=1",
imageAlt: "Elena Vasilescu",
},
id: "3", name: "Elena Vasilescu", handle: "Pacient de 2 ani", testimonial: "Am avut nevoie de implanturi și sunt foarte fericit de rezultat. Recomand cu inimă curată acest cabinet!", imageSrc: "http://img.b2bpic.net/free-photo/portrait-beautiful-woman-smelling-flower_23-2148357680.jpg", imageAlt: "Elena Vasilescu"},
{
id: "4",
name: "Cristian Popa",
handle: "Pacient de 4 ani",
testimonial: "Cea mai modernă clinică din zona aceasta. Doctorului i-a plăcut să explice fiecare pas. Foarte profesional!",
imageSrc: "http://img.b2bpic.net/free-photo/middle-age-greyhaired-man-wearing-casual-clothes-doing-happy-thumbs-up-gesture-with-hand-approving-expression-looking-camera-showing-success_839833-27567.jpg?_wi=1",
imageAlt: "Cristian Popa",
},
id: "4", name: "Cristian Popa", handle: "Pacient de 4 ani", testimonial: "Cea mai modernă clinică din zona aceasta. Doctorului i-a plăcut să explice fiecare pas. Foarte profesional!", imageSrc: "http://img.b2bpic.net/free-photo/middle-age-greyhaired-man-wearing-casual-clothes-doing-happy-thumbs-up-gesture-with-hand-approving-expression-looking-camera-showing-success_839833-27567.jpg", imageAlt: "Cristian Popa"},
{
id: "5",
name: "Georgiana Stancu",
handle: "Pacient de 1 an",
testimonial: "Primul cabinet unde nu am simțit anxietate. Oamenii sunt atât de atenți și grijulii. Mulțumesc!",
imageSrc: "http://img.b2bpic.net/free-photo/portrait-attractive-entrepreneur_1098-12704.jpg?_wi=1",
imageAlt: "Georgiana Stancu",
},
id: "5", name: "Georgiana Stancu", handle: "Pacient de 1 an", testimonial: "Primul cabinet unde nu am simțit anxietate. Oamenii sunt atât de atenți și grijulii. Mulțumesc!", imageSrc: "http://img.b2bpic.net/free-photo/portrait-attractive-entrepreneur_1098-12704.jpg", imageAlt: "Georgiana Stancu"},
{
id: "6",
name: "Mihai Florescu",
handle: "Pacient de 6 ani",
testimonial: "Profesionalism și calitate. Asta e ceea ce am găsit aici. Mulțumesc pentru toate tratamentele excelente!",
imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-woman-looking-hopeful-smiling-lean-head-hands-thinking-sitting-out_1258-125412.jpg?_wi=1",
imageAlt: "Mihai Florescu",
},
id: "6", name: "Mihai Florescu", handle: "Pacient de 6 ani", testimonial: "Profesionalism și calitate. Asta e ceea ce am găsit aici. Mulțumesc pentru toate tratamentele excelente!", imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-woman-looking-hopeful-smiling-lean-head-hands-thinking-sitting-out_1258-125412.jpg", imageAlt: "Mihai Florescu"},
]}
/>
</div>
@@ -312,9 +211,9 @@ export default function HomePage() {
description="Primești informații despre promovări speciale, sfaturi de igienă dentară și noutăți din medicina stomatologică direct în inboxul tău."
tagIcon={Mail}
tagAnimation="slide-up"
background={{ variant: "aurora" }}
background={{ variant: "plain" }}
useInvertedBackground={false}
imageSrc="http://img.b2bpic.net/free-vector/mailbox-concept-landing-page_52683-25636.jpg?_wi=1"
imageSrc="http://img.b2bpic.net/free-vector/mailbox-concept-landing-page_52683-25636.jpg"
imageAlt="Newsletter"
mediaAnimation="slide-up"
mediaPosition="right"

View File

@@ -18,8 +18,7 @@ const navItems = [
const footerColumns = [
{
title: "Servicii",
items: [
title: "Servicii", items: [
{ label: "Profilaxie", href: "servicii" },
{ label: "Implant Dent", href: "servicii" },
{ label: "Corecții", href: "servicii" },
@@ -27,8 +26,7 @@ const footerColumns = [
],
},
{
title: "Companie",
items: [
title: "Companie", items: [
{ label: "Despre Noi", href: "/despre" },
{ label: "Echipa", href: "/despre" },
{ label: "Blog", href: "/blog" },
@@ -36,8 +34,7 @@ const footerColumns = [
],
},
{
title: "Legal",
items: [
title: "Legal", items: [
{ label: "Politica de Confidențialitate", href: "#privacy" },
{ label: "Termeni și Condiții", href: "#terms" },
{ label: "Politica de Cookie-uri", href: "#cookies" },
@@ -53,7 +50,7 @@ export default function ServicesPage() {
borderRadius="pill"
contentWidth="smallMedium"
sizing="mediumLargeSizeMediumTitles"
background="aurora"
background="circleGradient"
cardStyle="layered-gradient"
primaryButtonStyle="primary-glow"
secondaryButtonStyle="solid"
@@ -64,9 +61,7 @@ export default function ServicesPage() {
brandName="DrSmile Dent"
navItems={navItems}
button={{
text: "Programare",
href: "/contact",
}}
text: "Programare", href: "/contact"}}
animateOnLoad={true}
/>
</div>
@@ -80,9 +75,7 @@ export default function ServicesPage() {
tagAnimation="slide-up"
buttons={[
{
text: "Consultație Gratuită",
href: "/contact",
},
text: "Consultație Gratuită", href: "/contact"},
]}
buttonAnimation="slide-up"
textboxLayout="default"
@@ -91,65 +84,23 @@ export default function ServicesPage() {
animationType="slide-up"
products={[
{
id: "1",
brand: "DrSmile",
name: "Profilaxie și Igienă",
price: "Consulare",
rating: 5,
reviewCount: "200+",
imageSrc: "http://img.b2bpic.net/free-photo/close-up-dentist-patient_23-2149164290.jpg?_wi=2",
imageAlt: "Serviciu de profilaxie",
},
id: "1", brand: "DrSmile", name: "Profilaxie și Igienă", price: "Consulare", rating: 5,
reviewCount: "200+", imageSrc: "http://img.b2bpic.net/free-photo/close-up-dentist-patient_23-2149164290.jpg", imageAlt: "Serviciu de profilaxie"},
{
id: "2",
brand: "DrSmile",
name: "Tratament Canale",
price: "Tratament",
rating: 5,
reviewCount: "150+",
imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiling-man-nurse-dental-office-while-pediatric-doctor-is-talking-with-patient-background-stomatologist-assistant-looking-camera-sitting-chair-stomatological-clinic_482257-3285.jpg?_wi=3",
imageAlt: "Tratament de canale",
},
id: "2", brand: "DrSmile", name: "Tratament Canale", price: "Tratament", rating: 5,
reviewCount: "150+", imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiling-man-nurse-dental-office-while-pediatric-doctor-is-talking-with-patient-background-stomatologist-assistant-looking-camera-sitting-chair-stomatological-clinic_482257-3285.jpg", imageAlt: "Tratament de canale"},
{
id: "3",
brand: "DrSmile",
name: "Implanturi Dentare",
price: "Implanturi",
rating: 5,
reviewCount: "180+",
imageSrc: "http://img.b2bpic.net/free-vector/human-teeth-dental-implant-template_73621-1013.jpg?_wi=2",
imageAlt: "Implanturi dentare",
},
id: "3", brand: "DrSmile", name: "Implanturi Dentare", price: "Implanturi", rating: 5,
reviewCount: "180+", imageSrc: "http://img.b2bpic.net/free-vector/human-teeth-dental-implant-template_73621-1013.jpg", imageAlt: "Implanturi dentare"},
{
id: "4",
brand: "DrSmile",
name: "Detartraj Sonic",
price: "Detartraj",
rating: 5,
reviewCount: "175+",
imageSrc: "http://img.b2bpic.net/free-photo/full-shot-dentist-wearing-face-mask_23-2149164285.jpg?_wi=2",
imageAlt: "Detartraj sonic",
},
id: "4", brand: "DrSmile", name: "Detartraj Sonic", price: "Detartraj", rating: 5,
reviewCount: "175+", imageSrc: "http://img.b2bpic.net/free-photo/full-shot-dentist-wearing-face-mask_23-2149164285.jpg", imageAlt: "Detartraj sonic"},
{
id: "5",
brand: "DrSmile",
name: "Albirea Dentară",
price: "Estetică",
rating: 5,
reviewCount: "195+",
imageSrc: "http://img.b2bpic.net/free-photo/picture-male-doctor-dentist-looking-x-ray-his-office_496169-988.jpg?_wi=2",
imageAlt: "Albirea dentara profesionala",
},
id: "5", brand: "DrSmile", name: "Albirea Dentară", price: "Estetică", rating: 5,
reviewCount: "195+", imageSrc: "http://img.b2bpic.net/free-photo/picture-male-doctor-dentist-looking-x-ray-his-office_496169-988.jpg", imageAlt: "Albirea dentara profesionala"},
{
id: "6",
brand: "DrSmile",
name: "Coroane și Punți",
price: "Proteze",
rating: 5,
reviewCount: "160+",
imageSrc: "http://img.b2bpic.net/free-photo/doctor-workplace-medical-stethoscope-laptop-blank-clipboard-pen-light-blue-surface-corona-virus-covid-19-stethoscope-eyeglasses-face-mask-top-view-flat-lay-copy-space_1150-44893.jpg?_wi=2",
imageAlt: "Coroane si punti dentare",
},
id: "6", brand: "DrSmile", name: "Coroane și Punți", price: "Proteze", rating: 5,
reviewCount: "160+", imageSrc: "http://img.b2bpic.net/free-photo/doctor-workplace-medical-stethoscope-laptop-blank-clipboard-pen-light-blue-surface-corona-virus-covid-19-stethoscope-eyeglasses-face-mask-top-view-flat-lay-copy-space_1150-44893.jpg", imageAlt: "Coroane si punti dentare"},
]}
/>
</div>
@@ -165,23 +116,11 @@ export default function ServicesPage() {
useInvertedBackground={false}
features={[
{
title: "Diagnostic Precis",
description: "Utilizăm radiologie digitală 3D și alte tehnologii avansate pentru diagnostice corecte și complete.",
imageSrc: "http://img.b2bpic.net/free-photo/picture-male-doctor-dentist-looking-x-ray-his-office_496169-988.jpg?_wi=3",
imageAlt: "Diagnostic stomatologic",
},
title: "Diagnostic Precis", description: "Utilizăm radiologie digitală 3D și alte tehnologii avansate pentru diagnostice corecte și complete.", imageSrc: "http://img.b2bpic.net/free-photo/picture-male-doctor-dentist-looking-x-ray-his-office_496169-988.jpg", imageAlt: "Diagnostic stomatologic"},
{
title: "Planuri de Tratament Personalizate",
description: "Fiecare pacient primește un plan de tratament adaptat nevoilor și bugetului personal.",
imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiling-man-nurse-dental-office-while-pediatric-doctor-is-talking-with-patient-background-stomatologist-assistant-looking-camera-sitting-chair-stomatological-clinic_482257-3285.jpg?_wi=4",
imageAlt: "Consultație personalizată",
},
title: "Planuri de Tratament Personalizate", description: "Fiecare pacient primește un plan de tratament adaptat nevoilor și bugetului personal.", imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiling-man-nurse-dental-office-while-pediatric-doctor-is-talking-with-patient-background-stomatologist-assistant-looking-camera-sitting-chair-stomatological-clinic_482257-3285.jpg", imageAlt: "Consultație personalizată"},
{
title: "Rezultate Durabile",
description: "Utilizăm materiale de cea mai înaltă calitate și proceduri éprouvées pentru rezultate care durează.",
imageSrc: "http://img.b2bpic.net/free-photo/full-shot-dentist-wearing-face-mask_23-2149164285.jpg?_wi=3",
imageAlt: "Rezultate durabile",
},
title: "Rezultate Durabile", description: "Utilizăm materiale de cea mai înaltă calitate și proceduri éprouvées pentru rezultate care durează.", imageSrc: "http://img.b2bpic.net/free-photo/full-shot-dentist-wearing-face-mask_23-2149164285.jpg", imageAlt: "Rezultate durabile"},
]}
gridVariant="three-columns-all-equal-width"
animationType="slide-up"
@@ -195,9 +134,9 @@ export default function ServicesPage() {
description="Contactează-ne pentru a afla mai multe despre serviciile noastre sau pentru a programa o consultație gratuită. Echipa noastră este gata să-ți răspundă la toate întrebările."
tagIcon={Mail}
tagAnimation="slide-up"
background={{ variant: "aurora" }}
background={{ variant: "plain" }}
useInvertedBackground={false}
imageSrc="http://img.b2bpic.net/free-vector/mailbox-concept-landing-page_52683-25636.jpg?_wi=2"
imageSrc="http://img.b2bpic.net/free-vector/mailbox-concept-landing-page_52683-25636.jpg"
imageAlt="Contact"
mediaAnimation="slide-up"
mediaPosition="right"

View File

@@ -1,51 +1,46 @@
"use client";
import { memo } from "react";
import useSvgTextLogo from "./useSvgTextLogo";
import { cls } from "@/lib/utils";
import { CSSProperties } from 'react';
interface SvgTextLogoProps {
logoText: string;
adjustHeightFactor?: number;
verticalAlign?: "top" | "center";
text: string;
color?: string;
fontSize?: number;
fontWeight?: number | string;
fontFamily?: string;
className?: string;
}
const SvgTextLogo = memo<SvgTextLogoProps>(function SvgTextLogo({
logoText,
adjustHeightFactor,
verticalAlign = "top",
className = "",
}) {
const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
export const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
text,
color = '#000000',
fontSize = 32,
fontWeight = 'bold',
fontFamily = 'Arial, sans-serif',
className = '',
}) => {
const textStyle: CSSProperties = {
fontFamily,
fontSize,
fontWeight,
fill: color,
dominantBaseline: 'central' as DominantBaseline,
textAnchor: 'middle',
};
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 as number) * 0.6} ${fontSize}`}
className={className}
xmlns="http://www.w3.org/2000/svg"
>
<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"
}}
x="50%"
y="50%"
style={textStyle}
>
{logoText}
{text}
</text>
</svg>
);
});
SvgTextLogo.displayName = "SvgTextLogo";
};
export default SvgTextLogo;