From d6e7ab593fc4bd4a0064d6729a427b579f404323 Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 10 Mar 2026 19:23:25 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index f0d05f6..d6ab395 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -18,7 +18,7 @@ export default function LandingPage() { borderRadius="rounded" contentWidth="small" sizing="mediumLarge" - background="noiseDiagonalGradient" + background="circleGradient" cardStyle="layered-gradient" primaryButtonStyle="diagonal-gradient" secondaryButtonStyle="radial-glow" @@ -40,7 +40,7 @@ export default function LandingPage() { Date: Tue, 10 Mar 2026 19:23:26 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 68 ++++++++----------- 1 file changed, 30 insertions(+), 38 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..9da8858 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,43 @@ -"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; className?: string; + fontSize?: number; + fontWeight?: number | string; + letterSpacing?: string; + dominantBaseline?: 'auto' | 'text-top' | 'hanging' | 'central' | 'mathematical' | 'text-bottom' | 'ideographic'; } -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', + className = '', + fontSize = 48, + fontWeight = 700, + letterSpacing = '0.05em', + dominantBaseline = 'central', + ...props +}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1