From a4bae19483cc6acbc82a9e64ca238a4896bb647c Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 22:50:03 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 71b0972..72e1d78 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -45,18 +45,19 @@ export default function LandingPage() { imageSrc="http://img.b2bpic.net/free-photo/food-drinks_1122-2078.jpg" imageAlt="Panzerotti fritti croccanti e dorati" mediaAnimation="slide-up" + background={{ variant: "plain" }} testimonials={[ { name: "Marco R.", handle: "Cliente regolare", testimonial: "Panzerotti super buoni! Ingredienti freschi e personale simpatico.", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/young-chinese-woman-smiling-confident-standing-street_839833-7633.jpg?_wi=1", imageAlt: "happy customer smiling portrait professional" + imageSrc: "http://img.b2bpic.net/free-photo/young-chinese-woman-smiling-confident-standing-street_839833-7633.jpg", imageAlt: "happy customer smiling portrait professional" }, { name: "Lucia T.", handle: "Milano", testimonial: "Tutto buonissimo e tempi di consegna veloci. Il mio preferito in zona!", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/man-his-professional-photography-studio_23-2149033380.jpg?_wi=1", imageAlt: "young woman smiling portrait headshot" + imageSrc: "http://img.b2bpic.net/free-photo/man-his-professional-photography-studio_23-2149033380.jpg", imageAlt: "young woman smiling portrait headshot" }, { name: "Paolo G.", handle: "Cliente asporto", testimonial: "Qualità eccellente, prezzi giusti. Tornerei sempre qui!", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/modern-businesswoman_23-2148012909.jpg?_wi=1", imageAlt: "man professional portrait headshot smile" + imageSrc: "http://img.b2bpic.net/free-photo/modern-businesswoman_23-2148012909.jpg", imageAlt: "man professional portrait headshot smile" } ]} buttons={[ @@ -83,13 +84,13 @@ export default function LandingPage() { id: "3", name: "Gnocchi Fritti", price: "€2-€3", variant: "Patata Croccante", imageSrc: "http://img.b2bpic.net/free-photo/ai-generated-pasta_23-2150637296.jpg", imageAlt: "Gnocchi fritti" }, { - id: "4", name: "Pizza", price: "€5-€8", variant: "Margherita, Quattro Formaggi", imageSrc: "http://img.b2bpic.net/free-photo/top-view-pizza-wooden-table_23-2148273111.jpg?_wi=1", imageAlt: "Pizza italiana" + id: "4", name: "Pizza", price: "€5-€8", variant: "Margherita, Quattro Formaggi", imageSrc: "http://img.b2bpic.net/free-photo/top-view-pizza-wooden-table_23-2148273111.jpg", imageAlt: "Pizza italiana" }, { id: "5", name: "Frittatine di Pasta", price: "€2-€4", variant: "Ragù Siciliano", imageSrc: "http://img.b2bpic.net/free-photo/boneless-chicken-with-herbs-high-angle_23-2149972930.jpg", imageAlt: "Frittatine di pasta" }, { - id: "6", name: "Panini", price: "€4-€6", variant: "Carnivore Speciale", imageSrc: "http://img.b2bpic.net/free-photo/top-view-pizza-wooden-table_23-2148273111.jpg?_wi=2", imageAlt: "Panini gourmet" + id: "6", name: "Panini", price: "€4-€6", variant: "Carnivore Speciale", imageSrc: "http://img.b2bpic.net/free-photo/top-view-pizza-wooden-table_23-2148273111.jpg", imageAlt: "Panini gourmet" } ]} gridVariant="three-columns-all-equal-width" @@ -110,15 +111,15 @@ export default function LandingPage() { testimonials={[ { id: "1", name: "Marco Rossi", role: "Cliente regolare", company: "Milano Baggio", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/young-chinese-woman-smiling-confident-standing-street_839833-7633.jpg?_wi=2", imageAlt: "Marco Rossi" + imageSrc: "http://img.b2bpic.net/free-photo/young-chinese-woman-smiling-confident-standing-street_839833-7633.jpg", imageAlt: "Marco Rossi" }, { id: "2", name: "Lucia Tanzi", role: "Consegna a domicilio", company: "Mi Piace il Cibo", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/man-his-professional-photography-studio_23-2149033380.jpg?_wi=2", imageAlt: "Lucia Tanzi" + imageSrc: "http://img.b2bpic.net/free-photo/man-his-professional-photography-studio_23-2149033380.jpg", imageAlt: "Lucia Tanzi" }, { id: "3", name: "Paolo Gallo", role: "Asporto frequente", company: "Zona Baggio", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/modern-businesswoman_23-2148012909.jpg?_wi=2", imageAlt: "Paolo Gallo" + imageSrc: "http://img.b2bpic.net/free-photo/modern-businesswoman_23-2148012909.jpg", imageAlt: "Paolo Gallo" }, { id: "4", name: "Francesca Moretti", role: "Cena in famiglia", company: "Milano Sud", rating: 5, -- 2.49.1 From a103e014b75665bd65d838cafa7ba29634fc4a32 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 22:50:04 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 51 +++++-------------- 1 file changed, 14 insertions(+), 37 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..3193235 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,28 @@ -"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; + dominantBaseline?: 'middle' | 'auto' | 'hanging' | 'mathematical'; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +export function SvgTextLogo({ className = '', dominantBaseline = 'middle' }: SvgTextLogoProps) { return ( - {logoText} + Logo ); -}); +} -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1