From d611ae18878d0df6ec7c64a0de5875ecfcf71398 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 11:44:24 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 392eeba..63740ef 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -19,7 +19,7 @@ export default function LandingPage() { borderRadius="rounded" contentWidth="compact" sizing="large" - background="noise" + background="circleGradient" cardStyle="glass-depth" primaryButtonStyle="double-inset" secondaryButtonStyle="glass" @@ -44,17 +44,17 @@ export default function LandingPage() { description="Professional mechanical repairs, diagnostics, and auto body services you can rely on. Expert mechanics with honest pricing and fast turnaround times." tag="4.8★ Rated" tagIcon={Star} - background={{ variant: "noise" }} + background={{ variant: "plain" }} buttons={[ { text: "Call Now", href: "tel:0123274208" }, { text: "Book Service" } ]} carouselItems={[ - { id: "1", imageSrc: "http://img.b2bpic.net/free-photo/car-being-taking-care-workshop_23-2149580560.jpg?_wi=1", imageAlt: "Professional auto repair workshop" }, - { id: "2", imageSrc: "http://img.b2bpic.net/free-photo/worker-follows-car-checklist-fixing-tires_482257-75661.jpg?_wi=1", imageAlt: "Mechanic performing vehicle engine diagnostics" }, + { id: "1", imageSrc: "http://img.b2bpic.net/free-photo/car-being-taking-care-workshop_23-2149580560.jpg", imageAlt: "Professional auto repair workshop" }, + { id: "2", imageSrc: "http://img.b2bpic.net/free-photo/worker-follows-car-checklist-fixing-tires_482257-75661.jpg", imageAlt: "Mechanic performing vehicle engine diagnostics" }, { id: "3", imageSrc: "http://img.b2bpic.net/free-photo/engineer-projects-car-engine-ar-hologram_482257-76523.jpg", imageAlt: "Professional mechanics team" }, { id: "4", imageSrc: "http://img.b2bpic.net/free-photo/female-mechanic-fixing-car-wheel-disc-brake_1170-1215.jpg", imageAlt: "Brake system repair service" }, - { id: "5", imageSrc: "http://img.b2bpic.net/free-photo/car-being-taking-care-workshop_23-2149580560.jpg?_wi=2", imageAlt: "Clean workshop environment" }, + { id: "5", imageSrc: "http://img.b2bpic.net/free-photo/car-being-taking-care-workshop_23-2149580560.jpg", imageAlt: "Clean workshop environment" }, { id: "6", imageSrc: "http://img.b2bpic.net/free-photo/mechanic-showing-customer-problem-with-car_1170-1413.jpg", imageAlt: "Modern service center" } ]} autoPlay={true} @@ -80,7 +80,7 @@ export default function LandingPage() { description="E & M Services provides comprehensive automotive solutions tailored to your vehicle's needs." tag="Expert Services" tagIcon={Wrench} - imageSrc="http://img.b2bpic.net/free-photo/worker-follows-car-checklist-fixing-tires_482257-75661.jpg?_wi=2" + imageSrc="http://img.b2bpic.net/free-photo/worker-follows-car-checklist-fixing-tires_482257-75661.jpg" imageAlt="Professional auto repair in progress" mediaAnimation="slide-up" accordionItems={[ @@ -147,7 +147,7 @@ export default function LandingPage() { Date: Thu, 12 Mar 2026 11:44:25 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 66 +++++++++---------- 1 file changed, 32 insertions(+), 34 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..789da68 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,49 @@ -"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; + textClassName?: string; + fontSize?: number; + fontFamily?: string; + fontWeight?: number | string; + fill?: string; + letterSpacing?: number; } -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 = '', + fontSize = 48, + fontFamily = 'Arial, sans-serif', + fontWeight = 'bold', + fill = 'currentColor', + letterSpacing = 0, +}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1