From 255789d434a3d0ad50ba90c2becbfddd35bfc3e4 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 06:51:43 +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 9e98038..85f6d40 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -68,10 +68,10 @@ export default function LandingPage() { gridVariant="three-columns-all-equal-width" products={[ { - id: "eclipse-pro", name: "Eclipse Motion Pro", price: "$249", imageSrc: "http://img.b2bpic.net/free-photo/grunge-old-vintage-clock_1232-1718.jpg?_wi=1", imageAlt: "Eclipse Motion Pro watch art" + id: "eclipse-pro", name: "Eclipse Motion Pro", price: "$249", imageSrc: "http://img.b2bpic.net/free-photo/grunge-old-vintage-clock_1232-1718.jpg", imageAlt: "Eclipse Motion Pro watch art" }, { - id: "velocity-chrome", name: "Velocity Chrome", price: "$189", imageSrc: "http://img.b2bpic.net/free-photo/grunge-old-vintage-clock_1232-1718.jpg?_wi=2", imageAlt: "Velocity Chrome watch art" + id: "velocity-chrome", name: "Velocity Chrome", price: "$189", imageSrc: "http://img.b2bpic.net/free-photo/grunge-old-vintage-clock_1232-1718.jpg", imageAlt: "Velocity Chrome watch art" }, { id: "timeless-heritage", name: "Timeless Heritage", price: "$279", imageSrc: "http://img.b2bpic.net/free-photo/closeup-shot-modern-cool-black-digital-watch-with-brown-leather-strap_181624-3545.jpg", imageAlt: "Timeless Heritage watch art" @@ -90,7 +90,7 @@ export default function LandingPage() { { value: "500+", title: "Satisfied Collectors" }, { value: "12", title: "Years of Expertise" } ]} - imageSrc="http://img.b2bpic.net/free-photo/side-view-people-looking-old-item_23-2149640697.jpg?_wi=1" + imageSrc="http://img.b2bpic.net/free-photo/side-view-people-looking-old-item_23-2149640697.jpg" imageAlt="Watch craftsmanship and artistry" useInvertedBackground={false} mediaAnimation="slide-up" @@ -176,7 +176,7 @@ export default function LandingPage() { faqsAnimation="blur-reveal" mediaPosition="left" animationType="smooth" - imageSrc="http://img.b2bpic.net/free-photo/side-view-people-looking-old-item_23-2149640697.jpg?_wi=2" + imageSrc="http://img.b2bpic.net/free-photo/side-view-people-looking-old-item_23-2149640697.jpg" imageAlt="Watch art craftsmanship" faqs={[ { -- 2.49.1 From a40db5aae9a7affab240401e306cf310f164ebca Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 06:51:43 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 55 +++++++------------ 1 file changed, 19 insertions(+), 36 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..c356b26 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,34 @@ -"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; + textClassName?: 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, + className = '', + textClassName = '', +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1