From 2ad00149db29f47ab4e661953c8400f2a1c740d1 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 07:39:55 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 1da18f0..d5f1002 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -19,7 +19,7 @@ export default function LandingPage() { borderRadius="pill" contentWidth="mediumLarge" sizing="large" - background="grid" + background="circleGradient" cardStyle="subtle-shadow" primaryButtonStyle="shadow" secondaryButtonStyle="radial-glow" @@ -46,7 +46,7 @@ export default function LandingPage() { tag="Spécialiste Régional" tagIcon={Zap} tagAnimation="slide-up" - background={{ variant: "grid" }} + background={{ variant: "animated-grid" }} testimonials={[ { name: "Marie Dupont", handle: "Directrice, Cabinet Médical", testimonial: @@ -101,16 +101,13 @@ export default function LandingPage() { useInvertedBackground={false} products={[ { - id: "1", brand: "iNKCO Pro", name: "Photocopieur Multifonction XL2000", price: "2 490 €", rating: 5, - reviewCount: "48", imageSrc: + id: "1", brand: "iNKCO Pro", name: "Photocopieur Multifonction XL2000", price: "2 490 €", rating: 5, reviewCount: "48", imageSrc: "http://img.b2bpic.net/free-photo/smiling-asian-business-woman-using-copier-machine_1262-2308.jpg", imageAlt: "professional multifunction copier machine"}, { - id: "2", brand: "iNKCO Pro", name: "Imprimante Laser Couleur PRO", price: "1 290 €", rating: 5, - reviewCount: "35", imageSrc: + id: "2", brand: "iNKCO Pro", name: "Imprimante Laser Couleur PRO", price: "1 290 €", rating: 5, reviewCount: "35", imageSrc: "http://img.b2bpic.net/free-photo/dishwasher-door-half-open-close-detail-macro-view_169016-70928.jpg", imageAlt: "professional color laser printer"}, { - id: "3", brand: "iNKCO Pro", name: "Scanner Professionnel haute Résolution", price: "890 €", rating: 5, - reviewCount: "28", imageSrc: + id: "3", brand: "iNKCO Pro", name: "Scanner Professionnel haute Résolution", price: "890 €", rating: 5, reviewCount: "28", imageSrc: "http://img.b2bpic.net/free-photo/women-work-office-using-printer_23-2149457013.jpg", imageAlt: "professional office document scanner"}, ]} /> @@ -194,7 +191,7 @@ export default function LandingPage() { Date: Wed, 11 Mar 2026 07:39:55 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 65 ++++++++----------- 1 file changed, 27 insertions(+), 38 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..2b7eda0 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,40 @@ -"use client"; +import React, { SVGProps } from 'react'; -import { memo } from "react"; -import useSvgTextLogo from "./useSvgTextLogo"; -import { cls } from "@/lib/utils"; - -interface SvgTextLogoProps { - logoText: string; - adjustHeightFactor?: number; - verticalAlign?: "top" | "center"; - className?: string; +interface SvgTextLogoProps extends SVGProps { + text: string; + fontSize?: number; + fontFamily?: string; + fill?: 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, + fontSize = 24, + fontFamily = 'Arial, sans-serif', + fill = 'currentColor', + ...props +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1