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={[ { 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;