From 2443ee5e4708977105d8a61c7d4511e458ad231e Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 16:16:03 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index d15d3f7..2d81223 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -19,7 +19,7 @@ export default function LandingPage() { borderRadius="soft" contentWidth="smallMedium" sizing="mediumSizeLargeTitles" - background="aurora" + background="circleGradient" cardStyle="gradient-radial" primaryButtonStyle="primary-glow" secondaryButtonStyle="layered" @@ -47,14 +47,14 @@ export default function LandingPage() { tag="Ristorante & Pub • Corigliano-Rossano, Calabria" tagIcon={Sparkles} tagAnimation="slide-up" - background={{ variant: "aurora" }} + background={{ variant: "glowing-orb" }} kpis={[ { value: "15+", label: "Anni di Esperienza" }, { value: "500+", label: "Clienti Felici" }, { value: "4.9★", label: "Valutazione Media" } ]} enableKpiAnimation={true} - imageSrc="http://img.b2bpic.net/free-photo/two-men-cafe_23-2147775893.jpg?_wi=1" + imageSrc="http://img.b2bpic.net/free-photo/two-men-cafe_23-2147775893.jpg" imageAlt="Caminetto accogliente di Don Giovanni House" imagePosition="right" mediaAnimation="blur-reveal" @@ -107,9 +107,8 @@ export default function LandingPage() { animationType="slide-up" textboxLayout="default" useInvertedBackground={false} - titleClassName="text-5xl font-bold" - descriptionClassName="text-lg" - buttonContainerClassName="flex gap-4 mt-8" + cardTitleClassName="text-5xl font-bold" + cardDescriptionClassName="text-lg" /> @@ -117,13 +116,13 @@ export default function LandingPage() { @@ -150,7 +149,7 @@ export default function LandingPage() { id: "1", category: "Ambiente", title: "L'arte del design: come nasce l'atmosfera unica", excerpt: "Scopri come il design industrial-vittoriano crea un'atmosfera unica che fa sentire i nostri ospiti a casa.", imageSrc: "http://img.b2bpic.net/free-photo/sitting-table-with-chairs-yellow-sofa-restaurant-with-panoramic-view_114579-1523.jpg", imageAlt: "Atmosfera elegante di Don Giovanni House", authorName: "Don Giovanni Team", authorAvatar: "http://img.b2bpic.net/free-photo/portrait-pretty-woman-with-glasses_23-2148290343.jpg", date: "12 Gennaio 2025" }, { - id: "2", category: "Cucina", title: "Pizza artigianale: tradizione e innovazione", excerpt: "Come i nostri chef combinano ricette tradizionali calabresi con tecniche moderne per creare pizza indimenticabile.", imageSrc: "http://img.b2bpic.net/free-photo/top-view-sliced-mushroom-pizza-delicious-dough-with-fresh-vegetables-dark-surface-dough-meal-food-italian-bake_140725-102076.jpg?_wi=2", imageAlt: "Pizza artigianale gourmet", authorName: "Chef Marco", authorAvatar: "http://img.b2bpic.net/free-photo/portrait-elegant-bearded-man-dressed-wool-jacket-bow-tie_613910-3110.jpg", date: "08 Gennaio 2025" + id: "2", category: "Cucina", title: "Pizza artigianale: tradizione e innovazione", excerpt: "Come i nostri chef combinano ricette tradizionali calabresi con tecniche moderne per creare pizza indimenticabile.", imageSrc: "http://img.b2bpic.net/free-photo/top-view-sliced-mushroom-pizza-delicious-dough-with-fresh-vegetables-dark-surface-dough-meal-food-italian-bake_140725-102076.jpg", imageAlt: "Pizza artigianale gourmet", authorName: "Chef Marco", authorAvatar: "http://img.b2bpic.net/free-photo/portrait-elegant-bearded-man-dressed-wool-jacket-bow-tie_613910-3110.jpg", date: "08 Gennaio 2025" }, { id: "3", category: "Lifestyle", title: "L'aperitivo italiano: un rituale sociale", excerpt: "Scopri come l'aperitivo è più di una bevanda, è un momento di condivisione e convivialità con Don Giovanni.", imageSrc: "http://img.b2bpic.net/free-photo/two-woman-holding-glasses-fruit-cocktails-with-orange-strawberry-apple-strawberry_140725-658.jpg", imageAlt: "Aperitivo italiano con cocktail e stuzzichini", authorName: "Don Giovanni Team", authorAvatar: "http://img.b2bpic.net/free-photo/expressive-woman-posing-outdoor_344912-2955.jpg", date: "03 Gennaio 2025" @@ -164,8 +163,8 @@ export default function LandingPage() { animationType="slide-up" textboxLayout="default" useInvertedBackground={false} - titleClassName="text-5xl font-bold" - descriptionClassName="text-lg" + cardTitleClassName="text-5xl font-bold" + cardDescriptionClassName="text-lg" carouselMode="buttons" /> -- 2.49.1 From e61301f2e4d82ca139b34cf1db3c885e5ced6c09 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 16:16:04 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 62 ++++++++----------- 1 file changed, 26 insertions(+), 36 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..20865d4 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,41 @@ -"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; + fontWeight?: string | number; + fill?: string; className?: string; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +const SvgTextLogo: React.FC = ({ + text = 'Your Logo', + fontSize = 32, + fontFamily = 'Arial, sans-serif', + fontWeight = 'bold', + fill = 'currentColor', + className = '', +}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1