From 39e763b766c15b5013d45b526da9734d8750af1b Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 04:25:27 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 96a61b8..00c5d19 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -20,7 +20,7 @@ export default function LandingPage() { borderRadius="pill" contentWidth="small" sizing="mediumLargeSizeLargeTitles" - background="blurBottom" + background="circleGradient" cardStyle="layered-gradient" primaryButtonStyle="diagonal-gradient" secondaryButtonStyle="radial-glow" @@ -45,7 +45,7 @@ export default function LandingPage() { description="Discover traditional Milanese and Pugliese cuisine at Osteria il Melograno — homemade flavors, generous portions, and warm Italian hospitality. A hidden gem celebrating Italy's culinary heritage with handmade pasta, fresh seafood, and classic recipes passed down through generations." tag="Tradizione Italiana" tagIcon={Sparkles} - background={{ variant: "blurBottom" }} + background={{ variant: "animated-grid" }} buttons={[ { text: "🍽 Book a Table", href: "#reserve" }, { text: "📖 View Menu", href: "#menu" } @@ -59,6 +59,7 @@ export default function LandingPage() { -- 2.49.1 From 84e530251a8a7b738a54e65621537877641a2e8c Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 04:25:27 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 60 +++++++------------ 1 file changed, 23 insertions(+), 37 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..352434e 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,37 @@ -"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' | 'middle' | 'hanging' | 'baseline' | 'central'; } -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; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1