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() { 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