From 4fb9f8cc4c7795f0aac34fa014133eaa3e84382c Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 11:34:45 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 6412497..99765b7 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -100,9 +100,10 @@ export default function LandingPage() { title: "Personal Service", description: "Expert styling advice and personalized shopping experiences" } ]} - imageSrc="http://img.b2bpic.net/free-photo/empty-fashion-boutique-shopaholic-modern-people-commercial-activity-with-merchandise-clothing-store-trendy-collections-formal-casual-wear-retail-market-shopping-center_482257-61768.jpg?_wi=1" + imageSrc="http://img.b2bpic.net/free-photo/empty-fashion-boutique-shopaholic-modern-people-commercial-activity-with-merchandise-clothing-store-trendy-collections-formal-casual-wear-retail-market-shopping-center_482257-61768.jpg" imageAlt="Dream Aura boutique founder" imagePosition="right" + mediaAnimation="none" buttons={[{ text: "Learn More", href: "#" }]} /> @@ -114,7 +115,7 @@ export default function LandingPage() { tag="Collections" textboxLayout="default" useInvertedBackground={false} - imageSrc="http://img.b2bpic.net/free-photo/empty-fashion-boutique-shopaholic-modern-people-commercial-activity-with-merchandise-clothing-store-trendy-collections-formal-casual-wear-retail-market-shopping-center_482257-61768.jpg?_wi=2" + imageSrc="http://img.b2bpic.net/free-photo/empty-fashion-boutique-shopaholic-modern-people-commercial-activity-with-merchandise-clothing-store-trendy-collections-formal-casual-wear-retail-market-shopping-center_482257-61768.jpg" imageAlt="Collection showcase" mediaPosition="right" accordionItems={[ -- 2.49.1 From 5d73c8466bad84b120473362fa0a81c37dad7de3 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 11:34:45 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 55 +++++++------------ 1 file changed, 20 insertions(+), 35 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..3591e35 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,36 @@ -"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 = '' }) => { + const charWidth = 60; + const width = text.length * charWidth; + const height = 100; return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1