From 1a676cf1915691e7b2cc0d9027a2027092a21fba Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 23:43:13 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 79c9ed9..7c070b9 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -19,7 +19,7 @@ export default function LandingPage() { borderRadius="pill" contentWidth="mediumLarge" sizing="medium" - background="floatingGradient" + background="circleGradient" cardStyle="solid" primaryButtonStyle="shadow" secondaryButtonStyle="layered" @@ -51,18 +51,18 @@ export default function LandingPage() { { text: "Request Service", href: "#contact" } ]} buttonAnimation="slide-up" - background={{ variant: "floatingGradient" }} + background={{ variant: "plain" }} leftCarouselItems={[ - { imageSrc: "http://img.b2bpic.net/free-photo/cheerful-asian-plumber-overalls-standing-door-with-toolbox_1098-17819.jpg?_wi=1", imageAlt: "Professional plumbing work" }, - { imageSrc: "http://img.b2bpic.net/free-photo/carpenter-working-workshop_53876-30143.jpg?_wi=1", imageAlt: "Professional tools and components" }, - { imageSrc: "http://img.b2bpic.net/free-photo/cheerful-asian-plumber-overalls-standing-door-with-toolbox_1098-17819.jpg?_wi=2", imageAlt: "HVAC installation service" }, - { imageSrc: "http://img.b2bpic.net/free-photo/carpenter-working-workshop_53876-30143.jpg?_wi=2", imageAlt: "Quality craftsmanship detail" } + { imageSrc: "http://img.b2bpic.net/free-photo/cheerful-asian-plumber-overalls-standing-door-with-toolbox_1098-17819.jpg", imageAlt: "Professional plumbing work" }, + { imageSrc: "http://img.b2bpic.net/free-photo/carpenter-working-workshop_53876-30143.jpg", imageAlt: "Professional tools and components" }, + { imageSrc: "http://img.b2bpic.net/free-photo/cheerful-asian-plumber-overalls-standing-door-with-toolbox_1098-17819.jpg", imageAlt: "HVAC installation service" }, + { imageSrc: "http://img.b2bpic.net/free-photo/carpenter-working-workshop_53876-30143.jpg", imageAlt: "Quality craftsmanship detail" } ]} rightCarouselItems={[ - { imageSrc: "http://img.b2bpic.net/free-photo/carpenter-working-workshop_53876-30143.jpg?_wi=3", imageAlt: "Premium materials and tools" }, - { imageSrc: "http://img.b2bpic.net/free-photo/cheerful-asian-plumber-overalls-standing-door-with-toolbox_1098-17819.jpg?_wi=3", imageAlt: "Expert technician at work" }, - { imageSrc: "http://img.b2bpic.net/free-photo/carpenter-working-workshop_53876-30143.jpg?_wi=4", imageAlt: "Professional workspace" }, - { imageSrc: "http://img.b2bpic.net/free-photo/cheerful-asian-plumber-overalls-standing-door-with-toolbox_1098-17819.jpg?_wi=4", imageAlt: "Precision workmanship" } + { imageSrc: "http://img.b2bpic.net/free-photo/carpenter-working-workshop_53876-30143.jpg", imageAlt: "Premium materials and tools" }, + { imageSrc: "http://img.b2bpic.net/free-photo/cheerful-asian-plumber-overalls-standing-door-with-toolbox_1098-17819.jpg", imageAlt: "Expert technician at work" }, + { imageSrc: "http://img.b2bpic.net/free-photo/carpenter-working-workshop_53876-30143.jpg", imageAlt: "Professional workspace" }, + { imageSrc: "http://img.b2bpic.net/free-photo/cheerful-asian-plumber-overalls-standing-door-with-toolbox_1098-17819.jpg", imageAlt: "Precision workmanship" } ]} carouselPosition="right" /> @@ -93,9 +93,9 @@ export default function LandingPage() { useInvertedBackground={false} gridVariant="three-columns-all-equal-width" products={[ - { id: "plumbing-repair", name: "Plumbing Repair & Diagnostics", price: "Professional Assessment", imageSrc: "http://img.b2bpic.net/free-photo/cheerful-asian-plumber-overalls-standing-door-with-toolbox_1098-17819.jpg?_wi=5", imageAlt: "Plumbing repair service" }, - { id: "furnace-installation", name: "Furnace Installation & Repair", price: "Expert Installation", imageSrc: "http://img.b2bpic.net/free-photo/carpenter-working-workshop_53876-30143.jpg?_wi=5", imageAlt: "Furnace installation service" }, - { id: "hvac-maintenance", name: "HVAC System Maintenance", price: "Preventative Service", imageSrc: "http://img.b2bpic.net/free-photo/cheerful-asian-plumber-overalls-standing-door-with-toolbox_1098-17819.jpg?_wi=6", imageAlt: "HVAC maintenance" } + { id: "plumbing-repair", name: "Plumbing Repair & Diagnostics", price: "Professional Assessment", imageSrc: "http://img.b2bpic.net/free-photo/cheerful-asian-plumber-overalls-standing-door-with-toolbox_1098-17819.jpg", imageAlt: "Plumbing repair service" }, + { id: "furnace-installation", name: "Furnace Installation & Repair", price: "Expert Installation", imageSrc: "http://img.b2bpic.net/free-photo/carpenter-working-workshop_53876-30143.jpg", imageAlt: "Furnace installation service" }, + { id: "hvac-maintenance", name: "HVAC System Maintenance", price: "Preventative Service", imageSrc: "http://img.b2bpic.net/free-photo/cheerful-asian-plumber-overalls-standing-door-with-toolbox_1098-17819.jpg", imageAlt: "HVAC maintenance" } ]} /> -- 2.49.1 From 4e951208502eb3515da4a2fd47b81b97d4e78238 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 23:43:13 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 61 +++++++------------ 1 file changed, 23 insertions(+), 38 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..7844e19 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,36 @@ -"use client"; +import React, { SVGProps } from "react"; -import { memo } from "react"; -import useSvgTextLogo from "./useSvgTextLogo"; -import { cls } from "@/lib/utils"; - -interface SvgTextLogoProps { - logoText: string; - adjustHeightFactor?: number; - verticalAlign?: "top" | "center"; - className?: string; +interface SvgTextLogoProps extends SVGProps { + text?: string; + fontSize?: number; + fontFamily?: string; + fill?: string; + dominantBaseline?: "auto" | "middle" | "hanging"; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +const SvgTextLogo: React.FC = ({ + text = "Logo", fontSize = 32, + fontFamily = "Arial, sans-serif", fill = "currentColor", dominantBaseline = "middle", ...props +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1