From 3f4e9169103020b3b08b745084670a31adad98fa Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 06:53:15 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 1bf4314..ad645a4 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -21,7 +21,7 @@ export default function LandingPage() { borderRadius="soft" contentWidth="mediumLarge" sizing="medium" - background="aurora" + background="circleGradient" cardStyle="inset" primaryButtonStyle="diagonal-gradient" secondaryButtonStyle="layered" @@ -49,18 +49,18 @@ export default function LandingPage() { tag="Emergency Plumber" tagIcon={Zap} tagAnimation="slide-up" - background={{ variant: "aurora" }} + background={{ variant: "sparkles-gradient" }} buttons={[ { text: "Call Now", href: "tel:+61-2-XXXX-XXXX" }, { text: "Request Service", href: "#contact" } ]} buttonAnimation="slide-up" mediaItems={[ - { imageSrc: "http://img.b2bpic.net/free-photo/plumbing-professional-doing-his-job_23-2150721546.jpg?_wi=1", imageAlt: "Emergency plumbing work in progress" }, - { imageSrc: "http://img.b2bpic.net/free-photo/man-looks-faucet-pipes-valve-pressure-meter_169016-15382.jpg?_wi=1", imageAlt: "Burst pipe repair emergency" }, - { imageSrc: "http://img.b2bpic.net/free-photo/man-with-coffee-seaking-phone_23-2147769508.jpg?_wi=1", imageAlt: "Drain cleaning service" }, - { imageSrc: "http://img.b2bpic.net/free-photo/side-view-man-working-as-plumber_23-2150746308.jpg?_wi=1", imageAlt: "Hot water system repair" }, - { imageSrc: "http://img.b2bpic.net/free-photo/male-female-mechanics-working-shop-car_23-2150170024.jpg?_wi=1", imageAlt: "Gas fitting installation" } + { imageSrc: "http://img.b2bpic.net/free-photo/plumbing-professional-doing-his-job_23-2150721546.jpg", imageAlt: "Emergency plumbing work in progress" }, + { imageSrc: "http://img.b2bpic.net/free-photo/man-looks-faucet-pipes-valve-pressure-meter_169016-15382.jpg", imageAlt: "Burst pipe repair emergency" }, + { imageSrc: "http://img.b2bpic.net/free-photo/man-with-coffee-seaking-phone_23-2147769508.jpg", imageAlt: "Drain cleaning service" }, + { imageSrc: "http://img.b2bpic.net/free-photo/side-view-man-working-as-plumber_23-2150746308.jpg", imageAlt: "Hot water system repair" }, + { imageSrc: "http://img.b2bpic.net/free-photo/male-female-mechanics-working-shop-car_23-2150170024.jpg", imageAlt: "Gas fitting installation" } ]} ariaLabel="Hero section with emergency plumbing showcase" /> @@ -69,10 +69,10 @@ export default function LandingPage() {
Date: Wed, 11 Mar 2026 06:53:15 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 57 +++++++------------ 1 file changed, 22 insertions(+), 35 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..d9658fa 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,38 @@ -"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; + fill?: string; className?: string; } -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', + fill = '#000000', + className = '', +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1