diff --git a/src/app/page.tsx b/src/app/page.tsx index d3a35dc..fd943ba 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -47,7 +47,7 @@ export default function LandingPage() { title="Professional Lawn Care & Landscaping in Frisco, TX" description="Trusted by 260+ homeowners for dependable lawn care and landscaping services. Get a free quote today." tag="Frisco, TX" - imageSrc="http://img.b2bpic.net/free-photo/view-robot-tending-maintaining-gardens_23-2151803960.jpg?_wi=1" + imageSrc="http://img.b2bpic.net/free-photo/view-robot-tending-maintaining-gardens_23-2151803960.jpg" imageAlt="Professional landscape maintenance" showBlur={true} showDimOverlay={true} @@ -192,9 +192,10 @@ export default function LandingPage() { title="Get Your Free Quote Today" description="Contact JC's Landscaping for a no-obligation consultation. Our team is ready to transform your outdoor space." useInvertedBackground={false} - imageSrc="http://img.b2bpic.net/free-photo/view-robot-tending-maintaining-gardens_23-2151803960.jpg?_wi=2" + imageSrc="http://img.b2bpic.net/free-photo/view-robot-tending-maintaining-gardens_23-2151803960.jpg" imageAlt="Beautiful landscaped yard" mediaPosition="right" + mediaAnimation="none" inputPlaceholder="Enter your email" buttonText="Request Quote" termsText="By requesting a quote, you agree to be contacted about landscaping services. We respect your privacy." diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..12eb93e 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,37 @@ -"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; } -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 = '' }) => { + const charWidth = 30; + const width = text.length * charWidth + 20; + const height = 60; + const fontSize = 40; return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;