From 9e0e9bb92d6fb75f58353cc7b55eaf0a939bd24d Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 04:48:47 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 19fee11..7b22df6 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -197,10 +197,9 @@ export default function LandingPage() { "Store Interior", "Trendy Outfits", "Blazer Collection", "Party Wear", "Customer Moments", "Accessories Display" ]} textboxLayout="default" - animationType="slide-up" - useInvertedBackground={false} speed={40} showCard={true} + useInvertedBackground={false} /> -- 2.49.1 From cce7bf08338c7876b812537b7a50801d41343a67 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 04:48:48 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 66 +++++++++---------- 1 file changed, 30 insertions(+), 36 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..8af1335 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,45 @@ -"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; + fontSize?: number; + fontWeight?: number | 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 = '', + fontSize = 24, + fontWeight = 700, +}) => { + const textWidth = text.length * (fontSize as number) * 0.6; + const padding = 16; + const width = textWidth + padding * 2; + const height = (fontSize as number) + padding * 2; return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1