From 38506cbbb31aa3253198152e1e535735d1e9413f Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 10 Mar 2026 20:35:09 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index bbf5ad9..5b593af 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -19,7 +19,7 @@ export default function LandingPage() { borderRadius="soft" contentWidth="medium" sizing="mediumLargeSizeLargeTitles" - background="grid" + background="circleGradient" cardStyle="layered-gradient" primaryButtonStyle="shadow" secondaryButtonStyle="solid" @@ -46,7 +46,7 @@ export default function LandingPage() { description="L'expertise mécanique au service de votre moto. Entretien, préparation et réparation de motos sportives et roadsters par un spécialiste passionné." tag="Garage Moto Professionnel" tagIcon={Wrench} - background={{ variant: "grid" }} + background={{ variant: "plain" }} imageSrc="http://img.b2bpic.net/free-photo/brutal-tattooed-bearded-mechanic-specialist-repairs-car-engine-which-is-raised-hydraulic-lift-garage-service-station_613910-19595.jpg" imageAlt="Moto sportive en atelier haute performance" imagePosition="right" @@ -58,7 +58,7 @@ export default function LandingPage() { testimonials={[ { name: "Google Reviews", handle: "5.0 / 5 (20 avis)", testimonial: "Service impeccable et expertise incontestable. Excellent rapport qualité-prix.", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/full-shot-man-riding-motorbike_23-2150819760.jpg?_wi=1" + imageSrc: "http://img.b2bpic.net/free-photo/full-shot-man-riding-motorbike_23-2150819760.jpg" } ]} useInvertedBackground={false} @@ -133,7 +133,7 @@ export default function LandingPage() { animationType="slide-up" testimonials={[ { - id: "1", name: "Olivier M.", handle: "Motard Passionné", testimonial: "Un niveau incroyable en mécanique, honnête et sympa. Je recommande encore et encore ! Service rapide et travail professionnel.", imageSrc: "http://img.b2bpic.net/free-photo/full-shot-man-riding-motorbike_23-2150819760.jpg?_wi=2", imageAlt: "Olivier M." + id: "1", name: "Olivier M.", handle: "Motard Passionné", testimonial: "Un niveau incroyable en mécanique, honnête et sympa. Je recommande encore et encore ! Service rapide et travail professionnel.", imageSrc: "http://img.b2bpic.net/free-photo/full-shot-man-riding-motorbike_23-2150819760.jpg", imageAlt: "Olivier M." }, { id: "2", name: "Eric D.", handle: "Propriétaire Kawasaki", testimonial: "Réparations rapides, accueil chaleureux et travail très professionnel. Engine Meca Racing c'est de la qualité garantie.", imageSrc: "http://img.b2bpic.net/free-photo/young-farmer-taking-care-his-business_329181-15929.jpg", imageAlt: "Eric D." -- 2.49.1 From 3fe24105f5901f3f94fea189dbc30944c21afc1a Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 10 Mar 2026 20:35:10 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 53 ++++++------------- 1 file changed, 16 insertions(+), 37 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..6ad845b 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,30 @@ -"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; } -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 = '' }) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1