From 599b506815283ebd338d4e0b0e51aaff69777a1e Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 11:49:18 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 42 ++++++++++++++++++++++-------------------- 1 file changed, 22 insertions(+), 20 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 2102102..a4b47f8 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -18,7 +18,7 @@ export default function LandingPage() { borderRadius="rounded" contentWidth="mediumLarge" sizing="mediumLargeSizeLargeTitles" - background="floatingGradient" + background="circleGradient" cardStyle="inset" primaryButtonStyle="diagonal-gradient" secondaryButtonStyle="glass" @@ -43,7 +43,7 @@ export default function LandingPage() { @@ -80,9 +81,9 @@ export default function LandingPage() { description: 'Poulet croustillant, sauces maison, légumes frais. Une explosion de saveurs à chaque bouchée.', bentoComponent: 'media-stack', items: [ - { imageSrc: 'http://img.b2bpic.net/free-photo/lobster-roll-wooden-table_123827-30902.jpg?_wi=1', imageAlt: 'Crispy fried chicken sandwich' }, - { imageSrc: 'http://img.b2bpic.net/free-photo/lobster-roll-wooden-table_123827-30902.jpg?_wi=2', imageAlt: 'Crispy fried chicken sandwich' }, - { imageSrc: 'http://img.b2bpic.net/free-photo/lobster-roll-wooden-table_123827-30902.jpg?_wi=3', imageAlt: 'Crispy fried chicken sandwich' } + { imageSrc: 'http://img.b2bpic.net/free-photo/lobster-roll-wooden-table_123827-30902.jpg', imageAlt: 'Crispy fried chicken sandwich' }, + { imageSrc: 'http://img.b2bpic.net/free-photo/lobster-roll-wooden-table_123827-30902.jpg', imageAlt: 'Crispy fried chicken sandwich' }, + { imageSrc: 'http://img.b2bpic.net/free-photo/lobster-roll-wooden-table_123827-30902.jpg', imageAlt: 'Crispy fried chicken sandwich' } ] }, { @@ -90,9 +91,9 @@ export default function LandingPage() { description: 'Viande savoureuse grillée, pain croustillant, assaisonnements maison. Authentique et délicieux.', bentoComponent: 'media-stack', items: [ - { imageSrc: 'http://img.b2bpic.net/free-photo/pita-stuffed-with-chicken-tomato-lettuce_2829-10676.jpg?_wi=1', imageAlt: 'Grilled kefta meat sandwich' }, - { imageSrc: 'http://img.b2bpic.net/free-photo/pita-stuffed-with-chicken-tomato-lettuce_2829-10676.jpg?_wi=2', imageAlt: 'Grilled kefta meat sandwich' }, - { imageSrc: 'http://img.b2bpic.net/free-photo/pita-stuffed-with-chicken-tomato-lettuce_2829-10676.jpg?_wi=3', imageAlt: 'Grilled kefta meat sandwich' } + { imageSrc: 'http://img.b2bpic.net/free-photo/pita-stuffed-with-chicken-tomato-lettuce_2829-10676.jpg', imageAlt: 'Grilled kefta meat sandwich' }, + { imageSrc: 'http://img.b2bpic.net/free-photo/pita-stuffed-with-chicken-tomato-lettuce_2829-10676.jpg', imageAlt: 'Grilled kefta meat sandwich' }, + { imageSrc: 'http://img.b2bpic.net/free-photo/pita-stuffed-with-chicken-tomato-lettuce_2829-10676.jpg', imageAlt: 'Grilled kefta meat sandwich' } ] }, { @@ -100,9 +101,9 @@ export default function LandingPage() { description: 'Frites dorées nappées d\'une sauce crémeuse et gourmande. Le plaisir sucré-salé garanti.', bentoComponent: 'media-stack', items: [ - { imageSrc: 'http://img.b2bpic.net/free-photo/front-view-tasty-pancakes-blue-surface_179666-44204.jpg?_wi=1', imageAlt: 'Golden fries with cheese sauce' }, - { imageSrc: 'http://img.b2bpic.net/free-photo/front-view-tasty-pancakes-blue-surface_179666-44204.jpg?_wi=2', imageAlt: 'Golden fries with cheese sauce' }, - { imageSrc: 'http://img.b2bpic.net/free-photo/front-view-tasty-pancakes-blue-surface_179666-44204.jpg?_wi=3', imageAlt: 'Golden fries with cheese sauce' } + { imageSrc: 'http://img.b2bpic.net/free-photo/front-view-tasty-pancakes-blue-surface_179666-44204.jpg', imageAlt: 'Golden fries with cheese sauce' }, + { imageSrc: 'http://img.b2bpic.net/free-photo/front-view-tasty-pancakes-blue-surface_179666-44204.jpg', imageAlt: 'Golden fries with cheese sauce' }, + { imageSrc: 'http://img.b2bpic.net/free-photo/front-view-tasty-pancakes-blue-surface_179666-44204.jpg', imageAlt: 'Golden fries with cheese sauce' } ] }, { @@ -110,9 +111,9 @@ export default function LandingPage() { description: 'Des plats frais et équilibrés pour se faire plaisir autrement. Saveur et bien-être réunis.', bentoComponent: 'media-stack', items: [ - { imageSrc: 'http://img.b2bpic.net/free-photo/top-view-nutritional-salads-table_23-2148538672.jpg?_wi=1', imageAlt: 'Fresh healthy salad options' }, - { imageSrc: 'http://img.b2bpic.net/free-photo/top-view-nutritional-salads-table_23-2148538672.jpg?_wi=2', imageAlt: 'Fresh healthy salad options' }, - { imageSrc: 'http://img.b2bpic.net/free-photo/top-view-nutritional-salads-table_23-2148538672.jpg?_wi=3', imageAlt: 'Fresh healthy salad options' } + { imageSrc: 'http://img.b2bpic.net/free-photo/top-view-nutritional-salads-table_23-2148538672.jpg', imageAlt: 'Fresh healthy salad options' }, + { imageSrc: 'http://img.b2bpic.net/free-photo/top-view-nutritional-salads-table_23-2148538672.jpg', imageAlt: 'Fresh healthy salad options' }, + { imageSrc: 'http://img.b2bpic.net/free-photo/top-view-nutritional-salads-table_23-2148538672.jpg', imageAlt: 'Fresh healthy salad options' } ] } ]} @@ -149,7 +150,7 @@ export default function LandingPage() { handle: '@sophiemk', testimonial: 'Sandwich excellent et très bon. Endroit propre, service top. J\'y vais régulièrement, c\'est devenu ma cantine !', rating: 5, - imageSrc: 'http://img.b2bpic.net/free-photo/picture-happy-man-eating-vegan-burger-vegan-restaurant-cafe-smiling-man-sitting-table-looking-camera_549566-844.jpg?_wi=1', + imageSrc: 'http://img.b2bpic.net/free-photo/picture-happy-man-eating-vegan-burger-vegan-restaurant-cafe-smiling-man-sitting-table-looking-camera_549566-844.jpg', imageAlt: 'Sophie Martin' }, { @@ -158,7 +159,7 @@ export default function LandingPage() { handle: '@ahmeddz', testimonial: 'Very good and fresh ingredients, delicious seasonings. The quality is really premium for the price. Highly recommended!', rating: 5, - imageSrc: 'http://img.b2bpic.net/free-photo/smiling-handsome-man-keeps-fists-isolated-white-wall_141793-70642.jpg?_wi=1', + imageSrc: 'http://img.b2bpic.net/free-photo/smiling-handsome-man-keeps-fists-isolated-white-wall_141793-70642.jpg', imageAlt: 'Ahmed Karim' }, { @@ -185,7 +186,7 @@ export default function LandingPage() { handle: '@nadiabc', testimonial: 'Un vrai sandwich comme on l\'imagine ! Frais, garni, croustillant. C\'est ça la qualité. Merci pour votre professionnalisme.', rating: 5, - imageSrc: 'http://img.b2bpic.net/free-photo/picture-happy-man-eating-vegan-burger-vegan-restaurant-cafe-smiling-man-sitting-table-looking-camera_549566-844.jpg?_wi=2', + imageSrc: 'http://img.b2bpic.net/free-photo/picture-happy-man-eating-vegan-burger-vegan-restaurant-cafe-smiling-man-sitting-table-looking-camera_549566-844.jpg', imageAlt: 'Nadia Belkacem' }, { @@ -194,7 +195,7 @@ export default function LandingPage() { handle: '@thomaslf', testimonial: 'Le meilleur sandwich de Kouba, sans hésitation. Hygiène au top, ingrédients de qualité. C\'est un plaisir de manger chez vous.', rating: 5, - imageSrc: 'http://img.b2bpic.net/free-photo/smiling-handsome-man-keeps-fists-isolated-white-wall_141793-70642.jpg?_wi=2', + imageSrc: 'http://img.b2bpic.net/free-photo/smiling-handsome-man-keeps-fists-isolated-white-wall_141793-70642.jpg', imageAlt: 'Thomas Lefevre' } ]} @@ -214,10 +215,11 @@ export default function LandingPage() { { value: 'Jeune', title: 'Équipe passionnée' }, { value: 'Rapide', title: 'Service efficace' } ]} - imageSrc="http://img.b2bpic.net/free-photo/boy-eating-restaurant_23-2148172673.jpg?_wi=2" + imageSrc="http://img.b2bpic.net/free-photo/boy-eating-restaurant_23-2148172673.jpg" imageAlt="Modern clean restaurant interior" useInvertedBackground={false} mediaAnimation="slide-up" + metricsAnimation="slide-up" /> From da1390e42f9485697dee8bdcb122e995b2b14829 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 11:49:18 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 70 ++++++++----------- 1 file changed, 29 insertions(+), 41 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..8ef3dc0 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,39 @@ -"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; + containerClassName?: string; + textClassName?: 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, + className = '', + containerClassName = '', + textClassName = '' +}) => { return ( - - + - {logoText} - - + + {text} + + + ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;