From e12741aeacc3be3cc58ef9069e27a18b059a5f81 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 14:38:49 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 1e9ba78..ed00d8b 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -114,7 +114,6 @@ export default function LandingPage() { ]} textboxLayout="default" useInvertedBackground={false} - mediaAnimation="slide-up" /> @@ -206,24 +205,23 @@ export default function LandingPage() { features={[ { id: 1, - title: "Centro Milano", description: "Duomo, Navigli, Cordusio - Interventi rapidi in centro città con facilità di accesso.", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-rainbow-nature_23-2151498364.jpg?_wi=1" + title: "Centro Milano", description: "Duomo, Navigli, Cordusio - Interventi rapidi in centro città con facilità di accesso.", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-rainbow-nature_23-2151498364.jpg" }, { id: 2, - title: "Zona Navigli", description: "Navigli, Arco, Ripa di Porta Ticinese - Specializzati in immobili storici.", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-rainbow-nature_23-2151498364.jpg?_wi=2" + title: "Zona Navigli", description: "Navigli, Arco, Ripa di Porta Ticinese - Specializzati in immobili storici.", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-rainbow-nature_23-2151498364.jpg" }, { id: 3, - title: "Porta Romana", description: "Zona Bocconi, Porta Romana, Monti - Interventi in zone residenziali e universitarie.", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-rainbow-nature_23-2151498364.jpg?_wi=3" + title: "Porta Romana", description: "Zona Bocconi, Porta Romana, Monti - Interventi in zone residenziali e universitarie.", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-rainbow-nature_23-2151498364.jpg" }, { id: 4, - title: "Ticinese", description: "Ticinese, Missori, Conca del Naviglio - Disponibili per emergenze anche di notte.", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-rainbow-nature_23-2151498364.jpg?_wi=4" + title: "Ticinese", description: "Ticinese, Missori, Conca del Naviglio - Disponibili per emergenze anche di notte.", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-rainbow-nature_23-2151498364.jpg" } ]} textboxLayout="default" useInvertedBackground={true} - mediaAnimation="blur-reveal" /> -- 2.49.1 From 0fe1b5fcd8d086fe899869b3d28377d6efc6e6dd Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 14:38:49 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 56 +++++++------------ 1 file changed, 20 insertions(+), 36 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..ff7a463 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"; + text: string; className?: string; + textClassName?: string; + dominantBaseline?: 'auto' | 'text-top' | 'middle' | 'central' | 'text-bottom' | 'ideographic' | 'mathematical' | 'hanging' | 'use-script'; } -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 = '', + dominantBaseline = 'middle', +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1