From 79b6bf7f11997c0ef534cd23df358e0d532dca73 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 17:33:38 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 8e0c7b0..71b1cf9 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -56,11 +56,11 @@ export default function LandingPage() { testimonials={[ { name: "Emma L.", handle: "Beauty Influencer", testimonial: "These nails are absolutely stunning. The quality is unmatched and they last for weeks!", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/portrait-pretty-woman-smiling_23-2148729676.jpg?_wi=1" + imageSrc: "http://img.b2bpic.net/free-photo/portrait-pretty-woman-smiling_23-2148729676.jpg" }, { name: "Sarah M.", handle: "Nail Art Enthusiast", testimonial: "Finally found a brand that creates truly custom, high-quality press-on nails. Obsessed!", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/people-ethnicity-spare-time-positive-emotions-concept-pleased-young-african-american-female-with-bushy-hairdo_273609-3182.jpg?_wi=1" + imageSrc: "http://img.b2bpic.net/free-photo/people-ethnicity-spare-time-positive-emotions-concept-pleased-young-african-american-female-with-bushy-hairdo_273609-3182.jpg" } ]} buttons={[ @@ -184,11 +184,11 @@ export default function LandingPage() { testimonials={[ { id: "1", name: "Jessica T.", role: "Beauty Blogger", company: "Style & Nails", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/portrait-pretty-woman-smiling_23-2148729676.jpg?_wi=2" + imageSrc: "http://img.b2bpic.net/free-photo/portrait-pretty-woman-smiling_23-2148729676.jpg" }, { id: "2", name: "Maya P.", role: "Makeup Artist", company: "Glamour Studio", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/people-ethnicity-spare-time-positive-emotions-concept-pleased-young-african-american-female-with-bushy-hairdo_273609-3182.jpg?_wi=2" + imageSrc: "http://img.b2bpic.net/free-photo/people-ethnicity-spare-time-positive-emotions-concept-pleased-young-african-american-female-with-bushy-hairdo_273609-3182.jpg" }, { id: "3", name: "Amanda R.", role: "Fashion Designer", company: "Creative Co.", rating: 5, -- 2.49.1 From c752df6666cae52b0d624f95306c11a0cf8d9f0a Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 17:33:38 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 72 ++++++++++--------- 1 file changed, 37 insertions(+), 35 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..db020dd 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,53 @@ -"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; + fontFamily?: string; + fontWeight?: number | string; + letterSpacing?: number; className?: string; + textColor?: string; } -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 = 24, + fontFamily = 'Arial, sans-serif', + fontWeight = 700, + letterSpacing = 0, + className = '', + textColor = '#000000', +}) => { + const padding = 20; + const lineHeight = fontSize * 1.2; + const textWidth = text.length * (fontSize * 0.6); + const width = textWidth + padding * 2; + const height = lineHeight + padding * 2; return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1