From da98e5775fcf33b3c50014c06dc664509b3391d9 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 23:43:11 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 0d5dd8e..ccaf7af 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -20,7 +20,7 @@ export default function LandingPage() { borderRadius="rounded" contentWidth="small" sizing="largeSmallSizeLargeTitles" - background="aurora" + background="circleGradient" cardStyle="gradient-bordered" primaryButtonStyle="double-inset" secondaryButtonStyle="solid" @@ -48,7 +48,7 @@ export default function LandingPage() { { text: "Explore Products", href: "products" }, { text: "Learn More", href: "about" } ]} - background={{ variant: "aurora" }} + background={{ variant: "sparkles-gradient" }} imageSrc="http://img.b2bpic.net/free-photo/high-angle-arrangement-with-bronzing-pearls_23-2148301856.jpg" imageAlt="Premium makeup collection" frameStyle="card" @@ -184,7 +184,7 @@ export default function LandingPage() { tag="Newsletter" title="Stay Updated on New Collections" description="Subscribe to our newsletter and receive exclusive early access to new product launches, special discounts, and beauty tips from industry experts." - background={{ variant: "aurora" }} + background={{ variant: "sparkles-gradient" }} useInvertedBackground={true} inputPlaceholder="Enter your email" buttonText="Subscribe" -- 2.49.1 From 0240bf81dbadd4fb1e378ae363f117ff4784d4eb Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 23:43:12 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 66 ++++++++----------- 1 file changed, 28 insertions(+), 38 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..547ebc2 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,41 @@ -"use client"; +import React, { SVGProps } from 'react'; -import { memo } from "react"; -import useSvgTextLogo from "./useSvgTextLogo"; -import { cls } from "@/lib/utils"; - -interface SvgTextLogoProps { - logoText: string; - adjustHeightFactor?: number; - verticalAlign?: "top" | "center"; +interface SvgTextLogoProps extends SVGProps { + text: string; + fontSize?: number; + fontWeight?: string | number; + fill?: string; className?: 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, + fontSize = 24, + fontWeight = 'bold', + fill = '#000000', + className = '', + ...props +}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1