From 7d659d4fbc1370efb80cd32e5476e704fe6e1789 Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 10 Mar 2026 20:58:41 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/page.tsx b/src/app/page.tsx index cfb9c51..fca9154 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -85,6 +85,7 @@ export default function LandingPage() { imageAlt="Professional plumbing team ready to serve" useInvertedBackground={false} mediaAnimation="slide-up" + metricsAnimation="slide-up" /> -- 2.49.1 From d0489104d7107226272b9e024ab87a8d0b250a59 Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 10 Mar 2026 20:58:42 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 56 +++++++------------ 1 file changed, 19 insertions(+), 37 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..9dd59f9 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,33 @@ -"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; + dominantBaseline?: 'auto' | 'middle' | 'hanging' | 'baseline' | 'text-top' | 'text-bottom' | '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, + className = '', + dominantBaseline = 'middle', +}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1