diff --git a/src/app/page.tsx b/src/app/page.tsx index 1cd75bd..3bc318f 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -20,7 +20,7 @@ export default function LandingPage() { borderRadius="rounded" contentWidth="small" sizing="mediumLarge" - background="circleGradient" + background="aurora" cardStyle="gradient-radial" primaryButtonStyle="radial-glow" secondaryButtonStyle="solid" @@ -48,8 +48,8 @@ export default function LandingPage() { { text: "Get a Quote", href: "contact" }, { text: "Learn More", href: "about" } ]} - background={{ variant: "circleGradient" }} - imageSrc="http://img.b2bpic.net/free-photo/full-shot-man-working-with-equipment_23-2148921407.jpg?_wi=1" + background={{ variant: "sparkles-gradient" }} + imageSrc="http://img.b2bpic.net/free-photo/full-shot-man-working-with-equipment_23-2148921407.jpg" imageAlt="Modern air conditioning unit installation" mediaAnimation="slide-up" frameStyle="card" @@ -64,7 +64,7 @@ export default function LandingPage() { description="AirAix Cooling" subdescription="Professional Air Conditioning Services" icon={ThermometerSun} - imageSrc="http://img.b2bpic.net/free-photo/electrician-is-mounting-electric-sockets-white-wall-indoors_169016-17800.jpg?_wi=1" + imageSrc="http://img.b2bpic.net/free-photo/electrician-is-mounting-electric-sockets-white-wall-indoors_169016-17800.jpg" imageAlt="Professional air conditioning maintenance service" mediaAnimation="slide-up" useInvertedBackground={false} @@ -79,20 +79,16 @@ export default function LandingPage() { tagIcon={Zap} features={[ { - id: 1, - title: "Installation", description: "Expert installation of air conditioning systems for homes and businesses, ensuring optimal performance and energy efficiency.", imageSrc: "http://img.b2bpic.net/free-photo/full-shot-man-working-with-equipment_23-2148921407.jpg?_wi=2", imageAlt: "AC installation service" + id: "1", title: "Installation", description: "Expert installation of air conditioning systems for homes and businesses, ensuring optimal performance and energy efficiency.", imageSrc: "http://img.b2bpic.net/free-photo/full-shot-man-working-with-equipment_23-2148921407.jpg", imageAlt: "AC installation service" }, { - id: 2, - title: "Maintenance", description: "Regular system servicing to keep your air conditioning running smoothly, preventing breakdowns and extending equipment life.", imageSrc: "http://img.b2bpic.net/free-photo/electrician-is-mounting-electric-sockets-white-wall-indoors_169016-17800.jpg?_wi=2", imageAlt: "AC maintenance service" + id: "2", title: "Maintenance", description: "Regular system servicing to keep your air conditioning running smoothly, preventing breakdowns and extending equipment life.", imageSrc: "http://img.b2bpic.net/free-photo/electrician-is-mounting-electric-sockets-white-wall-indoors_169016-17800.jpg", imageAlt: "AC maintenance service" }, { - id: 3, - title: "Repair", description: "Fast, reliable repair services with quick response times. We diagnose and fix any cooling system issues promptly.", imageSrc: "http://img.b2bpic.net/free-photo/full-shot-man-working-with-equipment_23-2148921407.jpg?_wi=3", imageAlt: "AC repair service" + id: "3", title: "Repair", description: "Fast, reliable repair services with quick response times. We diagnose and fix any cooling system issues promptly.", imageSrc: "http://img.b2bpic.net/free-photo/full-shot-man-working-with-equipment_23-2148921407.jpg", imageAlt: "AC repair service" }, { - id: 4, - title: "Diagnosis", description: "Thorough fault diagnosis to identify problems with your system. We provide detailed reports and recommended solutions.", imageSrc: "http://img.b2bpic.net/free-photo/electrician-is-mounting-electric-sockets-white-wall-indoors_169016-17800.jpg?_wi=3", imageAlt: "AC system diagnosis" + id: "4", title: "Diagnosis", description: "Thorough fault diagnosis to identify problems with your system. We provide detailed reports and recommended solutions.", imageSrc: "http://img.b2bpic.net/free-photo/electrician-is-mounting-electric-sockets-white-wall-indoors_169016-17800.jpg", imageAlt: "AC system diagnosis" } ]} textboxLayout="default" @@ -173,7 +169,7 @@ export default function LandingPage() { tagIcon={MessageSquare} title="Ready to stay cool?" description="Contact AirAix Cooling today for a free quote or to schedule a service. Our friendly team is here to help keep your home or business comfortable." - background={{ variant: "circleGradient" }} + background={{ variant: "sparkles-gradient" }} useInvertedBackground={false} imageSrc="http://img.b2bpic.net/free-photo/businesspeople-having-discussion-team-meeting-modern-office-interior_1163-4771.jpg" imageAlt="Modern office workspace" diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..5c6b4ca 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,34 @@ -"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; + dominantBaseline?: 'auto' | 'middle' | 'hanging' | 'baseline'; } -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 = '', + dominantBaseline = 'middle' +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;