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" 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; +};