diff --git a/src/app/page.tsx b/src/app/page.tsx index d39a3bd..9529f1f 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -21,7 +21,7 @@ export default function LandingPage() { borderRadius="rounded" contentWidth="mediumSmall" sizing="mediumSizeLargeTitles" - background="aurora" + background="circleGradient" cardStyle="gradient-bordered" primaryButtonStyle="shadow" secondaryButtonStyle="layered" @@ -49,7 +49,7 @@ export default function LandingPage() { tag="Professional HVAC Services" tagIcon={Thermometer} tagAnimation="slide-up" - background={{ variant: "aurora" }} + background={{ variant: "rotated-rays-animated" }} imageSrc="http://img.b2bpic.net/free-photo/african-american-trader-works-from-home-using-laptop-study-stock-prices_482257-121736.jpg" imageAlt="Advanced HVAC control system interface" buttons={[ @@ -69,7 +69,7 @@ export default function LandingPage() { description="Family-Owned & Operated" subdescription="Serving the community with integrity and expertise" icon={Award} - imageSrc="http://img.b2bpic.net/free-photo/technician-dismantling-condenser_482257-90835.jpg?_wi=1" + imageSrc="http://img.b2bpic.net/free-photo/technician-dismantling-condenser_482257-90835.jpg" imageAlt="Professional HVAC technician installing heating system" mediaAnimation="slide-up" useInvertedBackground={false} @@ -94,7 +94,7 @@ export default function LandingPage() { }, { id: 3, - title: "Emergency Repairs", description: "24/7 emergency service for heating and cooling system failures. Fast response times for your peace of mind.", imageSrc: "http://img.b2bpic.net/free-photo/technician-dismantling-condenser_482257-90835.jpg?_wi=2", imageAlt: "Emergency HVAC repair service" + title: "Emergency Repairs", description: "24/7 emergency service for heating and cooling system failures. Fast response times for your peace of mind.", imageSrc: "http://img.b2bpic.net/free-photo/technician-dismantling-condenser_482257-90835.jpg", imageAlt: "Emergency HVAC repair service" } ]} animationType="blur-reveal" @@ -269,4 +269,4 @@ export default function LandingPage() { ); -} \ No newline at end of file +} diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..52163ed 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,30 @@ -"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); - +export const SvgTextLogo: React.FC = ({ text, className = '' }) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;