From a40948e4424b726c8827d021d9a8d601e50d7f96 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 14:32:00 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/page.tsx b/src/app/page.tsx index f666cef..2e1f738 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -51,6 +51,7 @@ export default function LandingPage() { mediaAnimation="blur-reveal" imagePosition="right" useInvertedBackground={false} + background={{ variant: "plain" }} testimonials={[ { name: "Sarah Mitchell", handle: "Wellness Coach", testimonial: "This platform completely transformed how I approach my mental health. Highly recommend!", rating: 5, -- 2.49.1 From e90b9a50c857f06d97170807f15bdb767db352c7 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 14:32:01 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 68 +++++++++---------- 1 file changed, 31 insertions(+), 37 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..8f81091 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,45 @@ -"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; + fontWeight?: number | string; + letterSpacing?: number; + fill?: 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 = 'TEXT', + fontSize = 48, + fontWeight = 'bold', + letterSpacing = 2, + fill = 'currentColor', + className = '', + ...props +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1