From 6bbc2a8e98785aadf5f2505746300fbd3d29e42c Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 13 Mar 2026 06:13:39 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index a947952..ff7e03d 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -42,7 +42,7 @@ export default function LandingPage() { @@ -163,7 +163,7 @@ export default function LandingPage() { tag="Newsletter" title="Stay Updated with Latest Trends" description="Subscribe to our newsletter and get exclusive offers, styling tips, and early access to new collections. Join our fashion community today!" - background={{ variant: "circleGradient" }} + background={{ variant: "sparkles-gradient" }} useInvertedBackground={false} imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=4c4rok" imageAlt="Fashion newsletter signup" -- 2.49.1 From 6dc7b072c65584fdb77d109423ff8e2479ad6db1 Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 13 Mar 2026 06:13:40 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 71 +++++++++---------- 1 file changed, 35 insertions(+), 36 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..7b73a10 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,50 @@ -"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?: 'normal' | 'bold' | 'bolder' | 'lighter' | number; + letterSpacing?: number; + fill?: string; + textAnchor?: 'start' | 'middle' | 'end'; + dominantBaseline?: 'auto' | 'baseline' | 'hanging' | 'middle' | 'central' | 'mathematical' | 'ideographic'; + x?: number; + y?: number; } -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 = 32, + fontWeight = 'bold', + letterSpacing = 0, + fill = 'currentColor', + textAnchor = 'middle', + dominantBaseline = 'middle', + x = 0, + y = 0, +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1