From ff6b63330de87539720a1e50178ab425e1780e30 Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 10 Mar 2026 19:26:41 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index ed16c70..bedf2ac 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -76,7 +76,7 @@ export default function LandingPage() { useInvertedBackground={false} features={[ { - id: "1", title: "Collision Repair", description: "We repair structural damage, body panels, and frame alignment after accidents with modern equipment and certified techniques", media: { imageSrc: "http://img.b2bpic.net/free-photo/mechanic-fixing-car-car-service-station_1303-28162.jpg?_wi=1" }, + id: "1", title: "Collision Repair", description: "We repair structural damage, body panels, and frame alignment after accidents with modern equipment and certified techniques", media: { imageSrc: "http://img.b2bpic.net/free-photo/mechanic-fixing-car-car-service-station_1303-28162.jpg" }, items: [ { icon: CheckCircle, text: "Structural damage restoration" }, { icon: CheckCircle, text: "Expert body panel work" }, @@ -139,6 +139,7 @@ export default function LandingPage() { imageAlt="Professional collision repair center interior and team" useInvertedBackground={true} mediaAnimation="slide-up" + metricsAnimation="slide-up" /> @@ -203,7 +204,7 @@ export default function LandingPage() { required: true }} useInvertedBackground={false} - imageSrc="http://img.b2bpic.net/free-photo/mechanic-fixing-car-car-service-station_1303-28162.jpg?_wi=2" + imageSrc="http://img.b2bpic.net/free-photo/mechanic-fixing-car-car-service-station_1303-28162.jpg" imageAlt="Professional collision repair service in progress" mediaAnimation="slide-up" mediaPosition="right" -- 2.49.1 From 15eb0ee3525689b0140b0e2b796741b9e7eff510 Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 10 Mar 2026 19:26:41 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 66 +++++++++---------- 1 file changed, 30 insertions(+), 36 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..dc0e96c 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,45 @@ -"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; + fontSize?: number; + fontWeight?: number | string; + letterSpacing?: number; + dominantBaseline?: string; + textAnchor?: 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 = '', + fontSize = 48, + fontWeight = 'bold', + letterSpacing = 2, + dominantBaseline = 'middle', + textAnchor = 'middle', +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1