From beab0334e44b38c3b3cb9d6820e0ef69dffb7d1d Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 08:39:31 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 32 +++++++++++++++++++------------- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 86365f7..da7b4af 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -32,10 +32,10 @@ export default function LandingPage() { title: "Implant Dentar", description: "Soluții moderne de implantare dentară cu materiale premium și tehnologie de ultimă generație. Recuperare rapidă și rezultate durabile.", icon: Smile, mediaItems: [ { - imageSrc: "http://img.b2bpic.net/free-photo/dentist-checking-teeth-woman-lying-dental-chair_23-2147862045.jpg?_wi=1", imageAlt: "Procedură implant dentar" + imageSrc: "http://img.b2bpic.net/free-photo/dentist-checking-teeth-woman-lying-dental-chair_23-2147862045.jpg", imageAlt: "Procedură implant dentar" }, { - imageSrc: "http://img.b2bpic.net/free-photo/dentist-checking-teeth-woman-lying-dental-chair_23-2147862045.jpg?_wi=2", imageAlt: "Rezultat implant dentar" + imageSrc: "http://img.b2bpic.net/free-photo/dentist-checking-teeth-woman-lying-dental-chair_23-2147862045.jpg", imageAlt: "Rezultat implant dentar" } ] }, @@ -43,10 +43,10 @@ export default function LandingPage() { title: "Albire Dentară", description: "Tratament profesional de albire dentară care oferă rezultate spectaculoase. Zâmbet strălucitor și încrezător în doar o ședință.", icon: Sparkles, mediaItems: [ { - imageSrc: "http://img.b2bpic.net/free-photo/dentist-curing-teeth-patient-glasses_23-2148085331.jpg?_wi=1", imageAlt: "Tratament albire dentară" + imageSrc: "http://img.b2bpic.net/free-photo/dentist-curing-teeth-patient-glasses_23-2148085331.jpg", imageAlt: "Tratament albire dentară" }, { - imageSrc: "http://img.b2bpic.net/free-photo/dentist-curing-teeth-patient-glasses_23-2148085331.jpg?_wi=2", imageAlt: "Rezultat albire dentară" + imageSrc: "http://img.b2bpic.net/free-photo/dentist-curing-teeth-patient-glasses_23-2148085331.jpg", imageAlt: "Rezultat albire dentară" } ] }, @@ -54,10 +54,10 @@ export default function LandingPage() { title: "Detartraj și Igienizare", description: "Curățarea profesională a dinților și gingiilor. Previne cariile și bolile parodontale. Recomandată de 2 ori pe an.", icon: Droplets, mediaItems: [ { - imageSrc: "http://img.b2bpic.net/free-photo/macro-shot-dental-instrument_23-2147862125.jpg?_wi=1", imageAlt: "Ședință de detartraj" + imageSrc: "http://img.b2bpic.net/free-photo/macro-shot-dental-instrument_23-2147862125.jpg", imageAlt: "Ședință de detartraj" }, { - imageSrc: "http://img.b2bpic.net/free-photo/macro-shot-dental-instrument_23-2147862125.jpg?_wi=2", imageAlt: "Igienă dentară profesională" + imageSrc: "http://img.b2bpic.net/free-photo/macro-shot-dental-instrument_23-2147862125.jpg", imageAlt: "Igienă dentară profesională" } ] }, @@ -65,10 +65,10 @@ export default function LandingPage() { title: "Ortodonție", description: "Tratamente complete de aliniere dentară cu aparate fixe și mobile. Transform zâmbetul tău în doar 18-24 luni.", icon: Check, mediaItems: [ { - imageSrc: "http://img.b2bpic.net/free-photo/happy-woman-holding-beauty-utensils_23-2149396171.jpg?_wi=1", imageAlt: "Tratament ortodontic" + imageSrc: "http://img.b2bpic.net/free-photo/happy-woman-holding-beauty-utensils_23-2149396171.jpg", imageAlt: "Tratament ortodontic" }, { - imageSrc: "http://img.b2bpic.net/free-photo/happy-woman-holding-beauty-utensils_23-2149396171.jpg?_wi=2", imageAlt: "Aliniere dentară modernă" + imageSrc: "http://img.b2bpic.net/free-photo/happy-woman-holding-beauty-utensils_23-2149396171.jpg", imageAlt: "Aliniere dentară modernă" } ] }, @@ -76,10 +76,10 @@ export default function LandingPage() { title: "Tratamente Carii", description: "Intervenții rapide și nedureroase pentru carii dentare. Folosim tehnologia laser și materiale estetice de ultimă generație.", icon: Shield, mediaItems: [ { - imageSrc: "http://img.b2bpic.net/free-photo/close-up-dentist-instruments_23-2151053315.jpg?_wi=1", imageAlt: "Tratament carie" + imageSrc: "http://img.b2bpic.net/free-photo/close-up-dentist-instruments_23-2151053315.jpg", imageAlt: "Tratament carie" }, { - imageSrc: "http://img.b2bpic.net/free-photo/close-up-dentist-instruments_23-2151053315.jpg?_wi=2", imageAlt: "Restaurare dentară" + imageSrc: "http://img.b2bpic.net/free-photo/close-up-dentist-instruments_23-2151053315.jpg", imageAlt: "Restaurare dentară" } ] }, @@ -87,10 +87,10 @@ export default function LandingPage() { title: "Estetică Dentară", description: "Planuri personalizate pentru obținerea zâmbetului perfect. Fatetele, coronițe estetice și remodelare gingivală.", icon: Star, mediaItems: [ { - imageSrc: "http://img.b2bpic.net/free-photo/joyful-woman-with-sincere-smile-posing-her-room-blonde-caucasian-girl-expressing-happiness_197531-8310.jpg?_wi=1", imageAlt: "Procedură estetică dentară" + imageSrc: "http://img.b2bpic.net/free-photo/joyful-woman-with-sincere-smile-posing-her-room-blonde-caucasian-girl-expressing-happiness_197531-8310.jpg", imageAlt: "Procedură estetică dentară" }, { - imageSrc: "http://img.b2bpic.net/free-photo/joyful-woman-with-sincere-smile-posing-her-room-blonde-caucasian-girl-expressing-happiness_197531-8310.jpg?_wi=2", imageAlt: "Rezultat estetică dentară" + imageSrc: "http://img.b2bpic.net/free-photo/joyful-woman-with-sincere-smile-posing-her-room-blonde-caucasian-girl-expressing-happiness_197531-8310.jpg", imageAlt: "Rezultat estetică dentară" } ] } @@ -231,7 +231,13 @@ export default function LandingPage() { tag="Serviciile Noastre" title="Gama Completă de Servicii Dentare" description="De la profilaxie și igienă dentară la implanturi și estetică dentară, oferim soluții complete pentru sănătatea și frumusețea zâmbetului tău." - features={serviceFeatures} + features={serviceFeatures.map(feature => ({ + ...feature, + mediaItems: [ + feature.mediaItems[0], + feature.mediaItems[1] + ] as [{ imageSrc: string; imageAlt: string }, { imageSrc: string; imageAlt: string }] + }))} animationType="slide-up" textboxLayout="default" useInvertedBackground={false} -- 2.49.1 From b295c873c45f44c22b2c8933c16923e5e506c2fb Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 08:39:32 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 70 ++++++++----------- 1 file changed, 31 insertions(+), 39 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..466fd82 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,43 @@ -"use client"; +import { SVGProps } from 'react'; -import { memo } from "react"; -import useSvgTextLogo from "./useSvgTextLogo"; -import { cls } from "@/lib/utils"; - -interface SvgTextLogoProps { - logoText: string; - adjustHeightFactor?: number; - verticalAlign?: "top" | "center"; - className?: string; +interface SvgTextLogoProps extends SVGProps { + text: string; + fontSize?: number; + fontFamily?: string; + fontWeight?: string | number; + fill?: string; + dominantBaseline?: 'auto' | 'middle' | 'hanging' | 'mathematical' | 'central'; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +const SvgTextLogo: React.FC = ({ + text, + fontSize = 48, + fontFamily = 'system-ui, -apple-system, sans-serif', + fontWeight = 'bold', + fill = '#000', + dominantBaseline = 'middle', + ...props +}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1