From bb5d3cc6d1cd8abfb00391fc78500eac8dc4942c Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 16:29:58 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index c50b33a..0f43481 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -69,6 +69,7 @@ export default function LandingPage() { imageAlt="Our professional dermatology team" useInvertedBackground={false} mediaAnimation="blur-reveal" + metricsAnimation="slide-up" /> @@ -80,16 +81,13 @@ export default function LandingPage() { tagIcon={Sparkles} features={[ { - id: 1, - title: "Advanced Facial Treatments", description: "Customized facials using the latest technologies and premium serums to rejuvenate, brighten, and restore your skin's natural radiance. Perfect for all skin types.", imageSrc: "http://img.b2bpic.net/free-photo/person-getting-micro-needling-beauty-treatment_23-2149334265.jpg", imageAlt: "Professional facial treatment" + id: "1", title: "Advanced Facial Treatments", description: "Customized facials using the latest technologies and premium serums to rejuvenate, brighten, and restore your skin's natural radiance. Perfect for all skin types.", imageSrc: "http://img.b2bpic.net/free-photo/person-getting-micro-needling-beauty-treatment_23-2149334265.jpg", imageAlt: "Professional facial treatment" }, { - id: 2, - title: "Laser Skin Resurfacing", description: "Innovative laser technology to reduce fine lines, improve texture, minimize pores, and treat acne scars. Non-invasive with outstanding results and quick recovery.", imageSrc: "http://img.b2bpic.net/free-photo/physiotherapist-performs-device-therapy-patient-foot-device-heel_169016-70872.jpg", imageAlt: "Laser skin treatment technology" + id: "2", title: "Laser Skin Resurfacing", description: "Innovative laser technology to reduce fine lines, improve texture, minimize pores, and treat acne scars. Non-invasive with outstanding results and quick recovery.", imageSrc: "http://img.b2bpic.net/free-photo/physiotherapist-performs-device-therapy-patient-foot-device-heel_169016-70872.jpg", imageAlt: "Laser skin treatment technology" }, { - id: 3, - title: "Microneedling Therapy", description: "Stimulate collagen production and enhance skin elasticity with our professional microneedling treatments. Ideal for fine lines, acne scars, and overall skin rejuvenation.", imageSrc: "http://img.b2bpic.net/free-photo/young-woman-applying-moisturizing-cream_23-2152029129.jpg", imageAlt: "Microneedling treatment procedure" + id: "3", title: "Microneedling Therapy", description: "Stimulate collagen production and enhance skin elasticity with our professional microneedling treatments. Ideal for fine lines, acne scars, and overall skin rejuvenation.", imageSrc: "http://img.b2bpic.net/free-photo/young-woman-applying-moisturizing-cream_23-2152029129.jpg", imageAlt: "Microneedling treatment procedure" } ]} animationType="blur-reveal" -- 2.49.1 From 073f706da9006b6833a04a35636fe74239b5d221 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 16:29:58 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 75 ++++++++++--------- 1 file changed, 40 insertions(+), 35 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..ec2e324 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,56 @@ -"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; className?: string; + pathClassName?: string; + textClassName?: string; + textXClassName?: string; + dominantBaseline?: 'auto' | 'baseline' | 'before-edge' | 'after-edge' | 'central' | 'hanging' | 'math' | 'ideographic'; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); +export const SvgTextLogo: React.FC = ({ + text, + className = '', + pathClassName = '', + textClassName = '', + textXClassName = '', + dominantBaseline = 'central', +}) => { + const pathId = `textPath-${Math.random().toString(36).substr(2, 9)}`; return ( + + + - {logoText} + + {text} + ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1