diff --git a/src/app/page.tsx b/src/app/page.tsx index 70110ed..f36f54d 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -21,7 +21,7 @@ export default function LandingPage() { borderRadius="soft" contentWidth="small" sizing="large" - background="floatingGradient" + background="circleGradient" cardStyle="soft-shadow" primaryButtonStyle="gradient" secondaryButtonStyle="radial-glow" @@ -46,7 +46,7 @@ export default function LandingPage() { title="Experience Premium Japanese Steakhouse Dining" description="Authentic teppanyaki entertainment meets world-class wagyu beef at Sakura & Flame. Reserve your table for an unforgettable culinary performance." tag="Premium Dining" - background={{ variant: "floatingGradient" }} + background={{ variant: "plain" }} buttons={[ { text: "Reserve Table", href: "contact" }, { text: "View Menu", href: "experience" } @@ -74,6 +74,7 @@ export default function LandingPage() { imageAlt="Sakura & Flame steakhouse interior" useInvertedBackground={true} mediaAnimation="slide-up" + metricsAnimation="slide-up" /> @@ -224,7 +225,7 @@ export default function LandingPage() { tag="Reserve Your Table" title="Join Us for an Unforgettable Experience" description="Secure your reservation today and prepare for an evening of culinary artistry, exceptional service, and premium Japanese steakhouse dining at its finest." - background={{ variant: "floatingGradient" }} + background={{ variant: "plain" }} useInvertedBackground={false} buttonText="Reserve Now" inputPlaceholder="Enter your email address" diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..e367957 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,48 @@ -"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; + textAnchor?: 'start' | 'middle' | 'end'; + dominantBaseline?: 'auto' | 'middle' | 'hanging'; + fontSize?: number; + fontWeight?: number | string; + letterSpacing?: number; + fill?: 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, + className = '', + textAnchor = 'middle', + dominantBaseline = 'middle', + fontSize = 24, + fontWeight = 'bold', + letterSpacing = 0, + fill = 'currentColor', +}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file