From 0589afe18b2760fde121b03d03c59be7f9e42c95 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 17:35:30 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 0d01d1e..6b9802f 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -145,9 +145,8 @@ export default function LandingPage() { } ]} containerClassName="bg-background text-foreground" - titleClassName="text-primary-cta text-3xl md:text-4xl font-extrabold" - descriptionClassName="text-foreground text-base" cardTitleClassName="text-primary-cta text-xl font-bold" + descriptionClassName="text-foreground text-base" /> @@ -252,4 +251,4 @@ export default function LandingPage() { ); -} \ No newline at end of file +} -- 2.49.1 From 9c76fbdc1568df0db2811bea76737e5d82dd75ed Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 17:35:30 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 58 ++++++++----------- 1 file changed, 23 insertions(+), 35 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..d845c71 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,39 @@ -"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; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +export const SvgTextLogo: React.FC = ({ + text, + className = '', + fontSize = 32, + fontFamily = 'Inter, sans-serif', + fontWeight = 700, +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1