From e882a8cb3e10825d2cfeba3e7b976d2666337b9c Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 20:25:38 +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 c80411a..952ec18 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -20,7 +20,7 @@ export default function LandingPage() { borderRadius="pill" contentWidth="mediumSmall" sizing="largeSmall" - background="aurora" + background="circleGradient" cardStyle="glass-elevated" primaryButtonStyle="radial-glow" secondaryButtonStyle="solid" @@ -46,7 +46,7 @@ export default function LandingPage() { From 16f881a5895347b063dc3f7ca25a34af7e7620ea Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 20:25:39 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 62 ++++++++----------- 1 file changed, 26 insertions(+), 36 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..f104505 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,41 @@ -"use client"; - -import { memo } from "react"; -import useSvgTextLogo from "./useSvgTextLogo"; -import { cls } from "@/lib/utils"; +import { useMemo } from "react"; interface SvgTextLogoProps { - logoText: string; - adjustHeightFactor?: number; - verticalAlign?: "top" | "center"; + text: string; className?: string; + width?: number; + height?: number; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); +export default function SvgTextLogo({ + text, + className = "", width = 400, + height = 100, +}: SvgTextLogoProps) { + const fontSize = useMemo(() => { + return height * 0.7; + }, [height]); return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +}