From 8537acd03200b778d791004ea5568099f4bfc061 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 18:58:23 +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 196e349..273eb5e 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -20,7 +20,7 @@ export default function LandingPage() { borderRadius="rounded" contentWidth="mediumSmall" sizing="largeSmallSizeLargeTitles" - background="floatingGradient" + background="circleGradient" cardStyle="layered-gradient" primaryButtonStyle="radial-glow" secondaryButtonStyle="layered" @@ -55,7 +55,7 @@ export default function LandingPage() { { text: "Book a Service", href: "#contact" }, { text: "Meet Autumn", href: "#about" } ]} - background={{ variant: "floatingGradient" }} + background={{ variant: "plain" }} buttonAnimation="slide-up" /> @@ -255,7 +255,7 @@ export default function LandingPage() { tag="Book Now" title="Ready to Give Your Pet the Care They Deserve?" description="Schedule your free meet & greet today. Let's make sure your pet feels loved while you're away." - background={{ variant: "floatingGradient" }} + background={{ variant: "plain" }} useInvertedBackground={false} inputPlaceholder="Your email address" buttonText="Book Your Free Meet & Greet" From 6e74333ea7a79df396691d363e0f4d5e411b5ae2 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 18:58:24 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 66 ++++++++----------- 1 file changed, 28 insertions(+), 38 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..cec7489 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,41 @@ -"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; + textAnchor?: 'start' | 'middle' | 'end'; + dominantBaseline?: 'middle' | 'hanging' | 'auto' | 'text-bottom' | 'alphabetic' | 'ideographic'; } -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 = 24, + fontWeight = 700, + textAnchor = 'middle', + dominantBaseline = 'middle' +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +};