From 0c2468039fd2a8b57ba65590d7f3a6a91dcbdbc2 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 17:56:13 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 0eeab17..b30c615 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -7,7 +7,7 @@ import SplitAbout from '@/components/sections/about/SplitAbout'; import FeatureHoverPattern from '@/components/sections/feature/featureHoverPattern/FeatureHoverPattern'; import TestimonialCardTwelve from '@/components/sections/testimonial/TestimonialCardTwelve'; import FooterSimple from '@/components/sections/footer/FooterSimple'; -import { Award, CheckCircle, Hammer, Headlight, Paintbrush2, Sparkles, Wrench, Zap, Heart, Shield } from 'lucide-react'; +import { Award, CheckCircle, Hammer, Paintbrush2, Sparkles, Wrench, Zap, Heart, Shield } from 'lucide-react'; export default function LandingPage() { return ( @@ -49,7 +49,7 @@ export default function LandingPage() { imageSrc: "http://img.b2bpic.net/free-photo/car-mechanic-polishing-car-before-painting_1303-28150.jpg", imageAlt: "Professional auto body shop interior" }, { - imageSrc: "http://img.b2bpic.net/free-photo/grayscale-shot-man-repairing-wheel_181624-28775.jpg?_wi=1", imageAlt: "Expert technician performing paint work" + imageSrc: "http://img.b2bpic.net/free-photo/grayscale-shot-man-repairing-wheel_181624-28775.jpg", imageAlt: "Expert technician performing paint work" } ]} rating={5} @@ -84,7 +84,7 @@ export default function LandingPage() { title: "Attention to Detail", description: "Beyond repair, we detail your vehicle so it comes back looking better than ever before.", icon: Sparkles } ]} - imageSrc="http://img.b2bpic.net/free-photo/grayscale-shot-man-repairing-wheel_181624-28775.jpg?_wi=2" + imageSrc="http://img.b2bpic.net/free-photo/grayscale-shot-man-repairing-wheel_181624-28775.jpg" imageAlt="Expert technician performing detailed auto body work" textboxLayout="default" useInvertedBackground={false} @@ -117,7 +117,7 @@ export default function LandingPage() { title: "Detailing", description: "Complete vehicle detailing to make your car look brand new when pickup day arrives." }, { - icon: Headlight, + icon: Shield, title: "Headlight Installation", description: "Professional headlight and lighting system installation and repairs." }, { @@ -136,10 +136,10 @@ export default function LandingPage() { Date: Wed, 11 Mar 2026 17:56:14 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 68 +++++++++---------- 1 file changed, 32 insertions(+), 36 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..1f49f36 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,47 @@ -"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; + width?: number | string; + height?: number | string; + fontSize?: number; + fontWeight?: number | string; + fill?: string; + dominantBaseline?: 'auto' | 'middle' | 'hanging' | 'central' | 'ideographic' | 'mathematical'; } -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 = '', + width = 300, + height = 100, + fontSize = 40, + fontWeight = 'bold', + fill = 'currentColor', + dominantBaseline = 'middle', +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1