From 676168171692e36a511d4ecffeedccb48bb60719 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 01:09:42 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index e9387f5..1675012 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -46,18 +46,18 @@ export default function LandingPage() { description="Emergency air conditioning and heating repair when you need it most. Fast response. Honest pricing. Local technicians." tag="Emergency Service Available" tagIcon={Zap} - background={{ variant: "circleGradient" }} + background={{ variant: "animated-grid" }} buttons={[ { text: "Call Now (24/7 Service)", href: "#contact" }, { text: "Get Free Estimate", href: "#contact" } ]} carouselItems={[ - { id: "1", imageSrc: "http://img.b2bpic.net/free-photo/modern-skyscrapers-business-district_23-2148836795.jpg?_wi=1", imageAlt: "HVAC technician working on air conditioning unit" }, - { id: "2", imageSrc: "http://img.b2bpic.net/free-photo/worker-repairing-water-heater_23-2149334225.jpg?_wi=1", imageAlt: "Professional AC repair service" }, - { id: "3", imageSrc: "http://img.b2bpic.net/free-photo/full-shot-mean-cleaning-air_23-2149482329.jpg?_wi=1", imageAlt: "Air conditioning installation" }, - { id: "4", imageSrc: "http://img.b2bpic.net/free-photo/african-american-worker-sweeping-away-loose-debris-accumulated-around-air-conditioner-base-trained-engineer-cleaning-hvac-system-body-control-panel-with-dusting-brush-tool-remove-loose-dirt_482257-70162.jpg?_wi=1", imageAlt: "Heating system service" }, - { id: "5", imageSrc: "http://img.b2bpic.net/free-photo/mechanic-examining-car_1170-1605.jpg?_wi=1", imageAlt: "HVAC maintenance service" }, - { id: "6", imageSrc: "http://img.b2bpic.net/free-photo/modern-skyscrapers-business-district_23-2148836795.jpg?_wi=2", imageAlt: "Emergency HVAC technician" } + { id: "1", imageSrc: "http://img.b2bpic.net/free-photo/modern-skyscrapers-business-district_23-2148836795.jpg", imageAlt: "HVAC technician working on air conditioning unit" }, + { id: "2", imageSrc: "http://img.b2bpic.net/free-photo/worker-repairing-water-heater_23-2149334225.jpg", imageAlt: "Professional AC repair service" }, + { id: "3", imageSrc: "http://img.b2bpic.net/free-photo/full-shot-mean-cleaning-air_23-2149482329.jpg", imageAlt: "Air conditioning installation" }, + { id: "4", imageSrc: "http://img.b2bpic.net/free-photo/african-american-worker-sweeping-away-loose-debris-accumulated-around-air-conditioner-base-trained-engineer-cleaning-hvac-system-body-control-panel-with-dusting-brush-tool-remove-loose-dirt_482257-70162.jpg", imageAlt: "Heating system service" }, + { id: "5", imageSrc: "http://img.b2bpic.net/free-photo/mechanic-examining-car_1170-1605.jpg", imageAlt: "HVAC maintenance service" }, + { id: "6", imageSrc: "http://img.b2bpic.net/free-photo/modern-skyscrapers-business-district_23-2148836795.jpg", imageAlt: "Emergency HVAC technician" } ]} autoPlay={true} autoPlayInterval={4000} @@ -103,22 +103,22 @@ export default function LandingPage() { gridVariant="three-columns-all-equal-width" features={[ { - id: "01", title: "AC Repair", description: "Fast diagnosis and repair for all major air conditioning systems. Same-day service available.", imageSrc: "http://img.b2bpic.net/free-photo/worker-repairing-water-heater_23-2149334225.jpg?_wi=2", imageAlt: "AC repair service" + id: "01", title: "AC Repair", description: "Fast diagnosis and repair for all major air conditioning systems. Same-day service available.", imageSrc: "http://img.b2bpic.net/free-photo/worker-repairing-water-heater_23-2149334225.jpg", imageAlt: "AC repair service" }, { - id: "02", title: "AC Installation", description: "Energy-efficient AC units installed professionally by certified technicians.", imageSrc: "http://img.b2bpic.net/free-photo/full-shot-mean-cleaning-air_23-2149482329.jpg?_wi=2", imageAlt: "AC installation" + id: "02", title: "AC Installation", description: "Energy-efficient AC units installed professionally by certified technicians.", imageSrc: "http://img.b2bpic.net/free-photo/full-shot-mean-cleaning-air_23-2149482329.jpg", imageAlt: "AC installation" }, { - id: "03", title: "Heating Repair", description: "Keep your home warm when temperatures drop. Furnace and heat pump repairs.", imageSrc: "http://img.b2bpic.net/free-photo/african-american-worker-sweeping-away-loose-debris-accumulated-around-air-conditioner-base-trained-engineer-cleaning-hvac-system-body-control-panel-with-dusting-brush-tool-remove-loose-dirt_482257-70162.jpg?_wi=2", imageAlt: "Heating service" + id: "03", title: "Heating Repair", description: "Keep your home warm when temperatures drop. Furnace and heat pump repairs.", imageSrc: "http://img.b2bpic.net/free-photo/african-american-worker-sweeping-away-loose-debris-accumulated-around-air-conditioner-base-trained-engineer-cleaning-hvac-system-body-control-panel-with-dusting-brush-tool-remove-loose-dirt_482257-70162.jpg", imageAlt: "Heating service" }, { - id: "04", title: "System Replacement", description: "Upgrade outdated systems to modern, efficient units that save on energy costs.", imageSrc: "http://img.b2bpic.net/free-photo/full-shot-mean-cleaning-air_23-2149482329.jpg?_wi=3", imageAlt: "System replacement" + id: "04", title: "System Replacement", description: "Upgrade outdated systems to modern, efficient units that save on energy costs.", imageSrc: "http://img.b2bpic.net/free-photo/full-shot-mean-cleaning-air_23-2149482329.jpg", imageAlt: "System replacement" }, { - id: "05", title: "Emergency HVAC", description: "Available nights, weekends, and holidays. We're here when you need us most.", imageSrc: "http://img.b2bpic.net/free-photo/modern-skyscrapers-business-district_23-2148836795.jpg?_wi=3", imageAlt: "Emergency service" + id: "05", title: "Emergency HVAC", description: "Available nights, weekends, and holidays. We're here when you need us most.", imageSrc: "http://img.b2bpic.net/free-photo/modern-skyscrapers-business-district_23-2148836795.jpg", imageAlt: "Emergency service" }, { - id: "06", title: "Maintenance Plans", description: "Keep your system running smoothly year-round with our preventive maintenance packages.", imageSrc: "http://img.b2bpic.net/free-photo/mechanic-examining-car_1170-1605.jpg?_wi=2", imageAlt: "Maintenance service" + id: "06", title: "Maintenance Plans", description: "Keep your system running smoothly year-round with our preventive maintenance packages.", imageSrc: "http://img.b2bpic.net/free-photo/mechanic-examining-car_1170-1605.jpg", imageAlt: "Maintenance service" } ]} /> @@ -207,7 +207,7 @@ export default function LandingPage() { useInvertedBackground={false} mediaAnimation="slide-up" mediaPosition="right" - imageSrc="http://img.b2bpic.net/free-photo/modern-skyscrapers-business-district_23-2148836795.jpg?_wi=4" + imageSrc="http://img.b2bpic.net/free-photo/modern-skyscrapers-business-district_23-2148836795.jpg" imageAlt="24-7 Emergency HVAC Service" buttonText="Request Service" inputs={[ -- 2.49.1 From b7971e17b737cb77797afd40bb75cd5a9036f24e Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 01:09:43 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 69 +++++++++---------- 1 file changed, 33 insertions(+), 36 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..ecc74d9 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,48 @@ -"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; + fontSize?: number; + fontFamily?: string; + fontWeight?: string | number; + letterSpacing?: number; className?: string; + textAnchor?: 'start' | 'middle' | 'end'; + dominantBaseline?: 'auto' | 'baseline' | 'hanging' | 'middle' | 'central' | 'mathematical' | 'ideographic'; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +const SvgTextLogo: React.FC = ({ + text, + fontSize = 24, + fontFamily = 'Arial, sans-serif', + fontWeight = 'bold', + letterSpacing = 0, + className = '', + textAnchor = 'middle', + dominantBaseline = 'middle', +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1