From 6e08f31396105caa62b250795f96f33532952765 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 11:50:51 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 204 ++++++++++------------------------------------- 1 file changed, 43 insertions(+), 161 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index a35c6d1..ad8dd8b 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -51,7 +51,7 @@ export default function HomePage() { borderRadius="rounded" contentWidth="medium" sizing="mediumSizeLargeTitles" - background="floatingGradient" + background="circleGradient" cardStyle="gradient-mesh" primaryButtonStyle="radial-glow" secondaryButtonStyle="layered" @@ -62,9 +62,7 @@ export default function HomePage() { brandName="Carré Vert" navItems={navItems} button={{ - text: "Demander un devis", - href: "/contact", - }} + text: "Demander un devis", href: "/contact"}} /> @@ -73,23 +71,18 @@ export default function HomePage() { title="Des jardins entretenus avec passion et professionnalisme" description="Carré Vert prend soin de vos espaces verts avec une attention particulière aux détails, à la propreté et au respect de la nature." background={{ - variant: "floatingGradient", - }} + variant: "plain"}} tag="Excellence en Entretien" tagIcon={Leaf} tagAnimation="slide-up" buttons={[ { - text: "Demander un devis gratuit", - href: "/contact", - }, + text: "Demander un devis gratuit", href: "/contact"}, { - text: "Découvrir nos services", - href: "/#services", - }, + text: "Découvrir nos services", href: "/#services"}, ]} buttonAnimation="slide-up" - imageSrc="http://img.b2bpic.net/free-photo/woman-working-alone-sustainable-greenhouse_23-2149072119.jpg?_wi=1" + imageSrc="http://img.b2bpic.net/free-photo/woman-working-alone-sustainable-greenhouse_23-2149072119.jpg" imageAlt="Jardin magnifiquement entretenu" mediaAnimation="slide-up" ariaLabel="Section héro Carré Vert" @@ -100,50 +93,20 @@ export default function HomePage() { -
+
-- 2.49.1 From cc1026f10b7fa3328245914232f4d9e1ef82d4a3 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 11:50:51 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 54 ++++++------------- 1 file changed, 17 insertions(+), 37 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..4875446 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,31 @@ -"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; } -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 = ""}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1