From 5dd35a420309cba89677553b98be4487ae69e07d Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 10 Mar 2026 18:58:26 +0000 Subject: [PATCH 1/3] Update src/app/contact/page.tsx --- src/app/contact/page.tsx | 79 ++++++++++++++++++++++++++-------------- 1 file changed, 52 insertions(+), 27 deletions(-) diff --git a/src/app/contact/page.tsx b/src/app/contact/page.tsx index bd491f1..eff0fc6 100644 --- a/src/app/contact/page.tsx +++ b/src/app/contact/page.tsx @@ -33,7 +33,8 @@ export default function ContactPage() { { name: "Contact", id: "contact" }, ]} button={{ - text: "Call Now", href: "tel:804-938-0669"}} + text: "Call Now", href: "tel:804-938-0669" + }} brandName="Earl Boys Services" /> @@ -48,21 +49,25 @@ export default function ContactPage() { background={{ variant: "plain" }} mediaItems={[ { - imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-smiley-man-wearing-helmet_23-2149328066.jpg", imageAlt: "Professional handyman ready to help"}, + imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-smiley-man-wearing-helmet_23-2149328066.jpg", imageAlt: "Professional handyman ready to help" + }, { - imageSrc: "http://img.b2bpic.net/free-photo/construction-worker-using-hammer-job-site_23-2150530711.jpg", imageAlt: "Expert tradesperson at work"}, + imageSrc: "http://img.b2bpic.net/free-photo/construction-worker-using-hammer-job-site_23-2150530711.jpg", imageAlt: "Expert tradesperson at work" + }, { - imageSrc: "http://img.b2bpic.net/free-photo/mid-adult-businessman-giving-presentation-group-industrial-workers-factory_637285-4792.jpg", imageAlt: "Professional team collaboration"}, + imageSrc: "http://img.b2bpic.net/free-photo/mid-adult-businessman-giving-presentation-group-industrial-workers-factory_637285-4792.jpg", imageAlt: "Professional team collaboration" + }, ]} mediaAnimation="blur-reveal" buttons={[ { - text: "Call Now: 804-938-0669", href: "tel:804-938-0669"}, + text: "Call Now: 804-938-0669", href: "tel:804-938-0669" + }, { - text: "Send Message", href: "#contact"}, + text: "Send Message", href: "#contact" + }, ]} buttonAnimation="slide-up" - useInvertedBackground={false} /> @@ -70,13 +75,17 @@ export default function ContactPage() { Date: Tue, 10 Mar 2026 18:58:26 +0000 Subject: [PATCH 2/3] Update src/app/services/electrical/page.tsx --- src/app/services/electrical/page.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/app/services/electrical/page.tsx b/src/app/services/electrical/page.tsx index 989360a..d705806 100644 --- a/src/app/services/electrical/page.tsx +++ b/src/app/services/electrical/page.tsx @@ -70,7 +70,6 @@ export default function ElectricalServicesPage() { } ]} buttonAnimation="slide-up" - useInvertedBackground={false} /> -- 2.49.1 From d6a77d5f643834d0ead53ba6eae69f72b9222d04 Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 10 Mar 2026 18:58:27 +0000 Subject: [PATCH 3/3] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 61 ++++++++----------- 1 file changed, 26 insertions(+), 35 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..8134b4d 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,42 @@ -"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; + textClassName?: string; + fontSize?: number; + fontWeight?: number | string; + letterSpacing?: number; } -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 = '', + textClassName = '', + fontSize = 32, + fontWeight = 700, + letterSpacing = 0, +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1