From 6b768b326d5ba4772d4bdadac28c778781a492e4 Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 13 Mar 2026 02:06:40 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 618bbad..a0971ec 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -112,10 +112,10 @@ export default function LandingPage() { tagIcon={ShoppingBag} products={[ { - id: "1", name: "Palette Ombres Prestige 12 Couleurs", price: "2,950 DA", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=rr48x9&_wi=1", imageAlt: "Palette de maquillage professionnelle", initialQuantity: 1 + id: "1", name: "Palette Ombres Prestige 12 Couleurs", price: "2,950 DA", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=rr48x9", imageAlt: "Palette de maquillage professionnelle", initialQuantity: 1 }, { - id: "2", name: "Sérum Régénérant Intensif 30ml", price: "3,500 DA", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=0uxyxl&_wi=1", imageAlt: "Sérum soin du visage premium", initialQuantity: 1 + id: "2", name: "Sérum Régénérant Intensif 30ml", price: "3,500 DA", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=0uxyxl", imageAlt: "Sérum soin du visage premium", initialQuantity: 1 }, { id: "3", name: "Traitement Capillaire Réparation 200ml", price: "2,200 DA", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=8b748r", imageAlt: "Traitement pour cheveux de luxe", initialQuantity: 1 @@ -124,10 +124,10 @@ export default function LandingPage() { id: "4", name: "Parfum Eau de Toilette 100ml", price: "4,800 DA", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=qwmhgb", imageAlt: "Flacon de parfum élégant", initialQuantity: 1 }, { - id: "5", name: "Fond de Teint Fluide Longue Tenue", price: "2,650 DA", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=rr48x9&_wi=2", imageAlt: "Fond de teint professionnel", initialQuantity: 1 + id: "5", name: "Fond de Teint Fluide Longue Tenue", price: "2,650 DA", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=rr48x9", imageAlt: "Fond de teint professionnel", initialQuantity: 1 }, { - id: "6", name: "Crème Hydratante Intense 50ml", price: "3,200 DA", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=0uxyxl&_wi=2", imageAlt: "Crème soin visage haut de gamme", initialQuantity: 1 + id: "6", name: "Crème Hydratante Intense 50ml", price: "3,200 DA", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=0uxyxl", imageAlt: "Crème soin visage haut de gamme", initialQuantity: 1 } ]} gridVariant="three-columns-all-equal-width" @@ -188,7 +188,6 @@ export default function LandingPage() { ]} speed={40} showCard={true} - animationType="slide-up" /> -- 2.49.1 From 3244fc7e842bcfadeb0066d60536a0f36f51bee1 Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 13 Mar 2026 02:06:40 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 67 +++++++++---------- 1 file changed, 30 insertions(+), 37 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..51f4af2 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,44 @@ -"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; + fontSize?: number; + fontFamily?: string; + fill?: string; + textAnchor?: 'start' | 'middle' | 'end'; + dominantBaseline?: 'auto' | 'text-top' | 'hanging' | 'mathematical' | 'central' | 'middle' | 'text-bottom' | 'alphabetic' | 'ideographic'; className?: string; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +export const SvgTextLogo: React.FC = ({ + text, + fontSize = 48, + fontFamily = 'Arial, sans-serif', + fill = '#000000', + textAnchor = 'start', + dominantBaseline = 'middle', + className = '', +}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1