From 35e70be93dd110be34f81dbdac236f217b81fe09 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 21:32:42 +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 7db6c73..539e744 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -19,7 +19,7 @@ export default function LandingPage() { borderRadius="rounded" contentWidth="small" sizing="largeSmallSizeLargeTitles" - background="aurora" + background="circleGradient" cardStyle="gradient-bordered" primaryButtonStyle="flat" secondaryButtonStyle="layered" @@ -48,7 +48,7 @@ export default function LandingPage() { tag="Serving Murfreesboro & Surrounding Counties" tagIcon={Leaf} tagAnimation="slide-up" - background={{ variant: "aurora" }} + background={{ variant: "glowing-orb" }} imageSrc="http://img.b2bpic.net/free-photo/aerial-drone-view-nature-moldova_1268-21404.jpg" imageAlt="Professional farm service operations" mediaAnimation="slide-up" @@ -177,7 +177,7 @@ export default function LandingPage() { description="Contact Farm Service Agency today for expert consultation, personalized service recommendations, or to schedule a farm visit. We're here to support your success." tagIcon={Phone} tagAnimation="slide-up" - background={{ variant: "aurora" }} + background={{ variant: "gradient-bars" }} useInvertedBackground={false} imageSrc="http://img.b2bpic.net/free-photo/gardeners-cutting-plants_23-2147768497.jpg" imageAlt="Farm Service Agency location" -- 2.49.1 From 5df7a1c91a7601a629b24f83e7a90034f7144bbf Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 21:32:42 +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..c6dc39b 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; className?: string; + fontSize?: number; + fontWeight?: number | string; + letterSpacing?: number; + fill?: 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, + className, + fontSize = 24, + fontWeight = 'bold', + letterSpacing = 0, + fill = 'currentColor', +}) => { + const textLength = text.length; + const charWidth = fontSize * 0.6; + const width = textLength * charWidth + letterSpacing * (textLength - 1) + 40; + const height = fontSize + 20; return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1