From 3124b8a6224f7356b721478781dce433a86586f8 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 11:20:52 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index b0c445f..11c2ebe 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -17,7 +17,7 @@ export default function LandingPage() { borderRadius="rounded" contentWidth="medium" sizing="medium" - background="grid" + background="circleGradient" cardStyle="inset" primaryButtonStyle="gradient" secondaryButtonStyle="glass" @@ -45,7 +45,7 @@ export default function LandingPage() { { text: "Appeler maintenant", href: "tel:+33240200902" }, { text: "Réserver une commande", href: "#contact" } ]} - background={{ variant: "grid" }} + background={{ variant: "plain" }} imageSrc="http://img.b2bpic.net/free-photo/view-autumn-food-with-copy-space_23-2148234245.jpg" imageAlt="Intérieur chaleureux de la boulangerie avec pains et pâtisseries fraîchement cuits" frameStyle="card" -- 2.49.1 From 58d452eef47babb3d3fcbe4835398e112bbd7d8c Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 11:20:53 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 62 +++++++------------ 1 file changed, 23 insertions(+), 39 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..f94d63f 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,35 @@ -"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"; - className?: string; + text: string; + fill?: string; + fontSize?: number; + fontFamily?: string; + dominantBaseline?: 'auto' | 'baseline' | 'before-edge' | 'text-before-edge' | 'middle' | 'central' | 'after-edge' | 'text-after-edge' | 'ideographic' | 'alphabetic' | 'hanging' | 'mathematical' | 'inherit'; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +const SvgTextLogo: React.FC = ({ + text, + fill = '#000000', + fontSize = 48, + fontFamily = 'Arial, sans-serif', + dominantBaseline = 'middle', +}) => { return ( - + - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1