From 49dadb6a76c0c6e161383e51542582b8bc519a97 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 22:34:04 +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 0f272f3..bd757dc 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -20,7 +20,7 @@ export default function LandingPage() { borderRadius="rounded" contentWidth="mediumLarge" sizing="largeSmall" - background="noiseDiagonalGradient" + background="circleGradient" cardStyle="subtle-shadow" primaryButtonStyle="radial-glow" secondaryButtonStyle="layered" @@ -49,14 +49,14 @@ export default function LandingPage() { tag="Professional Tax Services" tagIcon={CheckCircle} tagAnimation="slide-up" - background={{ variant: "noiseDiagonalGradient" }} + background={{ variant: "canvas-reveal" }} buttons={[ { text: "Schedule Free Consultation", href: "#contact" }, { text: "Learn Our Services", href: "#services" } ]} imageSrc="http://img.b2bpic.net/free-photo/couple-serious-colleagues-discussing-content-computer-monitor-pointing-display-talking-while-sitting-meeting-room-with-panoramic-window-business-communication-concept_74855-11650.jpg" imageAlt="Professional tax planning and consultation" - buttonAnimation="entrance-slide" + buttonAnimation="slide-up" /> From 6acc2b467968934f6cbd8a783b1f4d6ed051e675 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 22:34:04 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 68 +++++++++---------- 1 file changed, 33 insertions(+), 35 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..c2b829c 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,49 @@ -"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; + fontSize?: number; + fontFamily?: string; + fontWeight?: string | 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, + fontSize = 24, + fontFamily = 'Arial, sans-serif', + fontWeight = 'bold', + fill = '#000000', + className = '', +}) => { + // Estimate text width based on font size and text length + const estimatedWidth = text.length * (fontSize * 0.6); + const padding = fontSize * 0.5; + const width = estimatedWidth + padding * 2; + const height = fontSize * 1.5; return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;