From 3ca6ccec23e9ad918c12626379dc0082e1a8d0a3 Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 13 Mar 2026 05:28:15 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 76380bf..07162a7 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -21,7 +21,7 @@ export default function LandingPage() { borderRadius="rounded" contentWidth="mediumLarge" sizing="large" - background="aurora" + background="circleGradient" cardStyle="soft-shadow" primaryButtonStyle="radial-glow" secondaryButtonStyle="layered" @@ -45,7 +45,7 @@ export default function LandingPage() { @@ -245,7 +245,7 @@ export default function LandingPage() { { text: "Shop Now", href: "products" } ]} buttonAnimation="slide-up" - background={{ variant: "aurora" }} + background={{ variant: "plain" }} useInvertedBackground={false} ariaLabel="Contact CTA section for DXLR" /> From e3d8e04e2b716cae870c3d43228af9054f367664 Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 13 Mar 2026 05:28:16 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 68 +++++++++---------- 1 file changed, 33 insertions(+), 35 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..bf51579 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,49 @@ -"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; + fontFamily?: string; + fontWeight?: string | number; + fill?: string; + width?: number | string; + height?: 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, + fontFamily = 'Arial', + fontWeight = 'bold', + fill = 'currentColor', + width = 'auto', + height = 'auto', +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;