From 1e0013b6dc11b406f9ca9c7ea73e34e033585cdb Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 05:17:56 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 1657f66..f6fe6f0 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -28,7 +28,7 @@ export default function LandingPage() { borderRadius="pill" contentWidth="compact" sizing="largeSmall" - background="blurBottom" + background="circleGradient" cardStyle="solid" primaryButtonStyle="gradient" secondaryButtonStyle="radial-glow" @@ -42,13 +42,13 @@ export default function LandingPage() { Date: Thu, 12 Mar 2026 05:17:56 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 62 ++++++++----------- 1 file changed, 25 insertions(+), 37 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..21f3c79 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,39 @@ -"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; + fillColor?: 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 = 'LOGO', + fontSize = 64, + fillColor = '#000000', + className = '', + ...svgProps +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1