From 9f1da0bbfea066aaaa5f28d4108311be523067eb Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 17:02:46 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index fbe7098..c570bc2 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -64,6 +64,7 @@ export default function LandingPage() { { id: "3", value: "100%", description: "Licensed & Insured" }, { id: "4", value: "24/7", description: "Emergency Availability" } ]} + metricsAnimation="slide-up" useInvertedBackground={false} /> @@ -102,8 +103,8 @@ export default function LandingPage() { description="Proven reliability in your community" subdescription="15 years serving with integrity" icon={CheckCircle} - imageSrc="http://img.b2bpic.net/free-photo/senior-man-looking-camera-smiling-sitting-workplace-desk_482257-5730.jpg?_wi=1" - imageAlt="Professional service business owner" + videoSrc="https://example.com/video.mp4" + videoAriaLabel="Professional service team introduction" useInvertedBackground={false} /> @@ -142,7 +143,7 @@ export default function LandingPage() { Date: Wed, 11 Mar 2026 17:02:47 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 59 ++++++++----------- 1 file changed, 23 insertions(+), 36 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..0e17520 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,38 @@ -"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"; +interface SvgTextLogoProps extends SVGProps { + text: string; className?: string; + textClassName?: 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, + className = '', + textClassName = '', + ...svgProps +}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1