diff --git a/src/app/page.tsx b/src/app/page.tsx index 5a5e90b..9a530bb 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -19,7 +19,7 @@ export default function LandingPage() { borderRadius="pill" contentWidth="smallMedium" sizing="mediumLargeSizeLargeTitles" - background="aurora" + background="circleGradient" cardStyle="layered-gradient" primaryButtonStyle="flat" secondaryButtonStyle="layered" @@ -45,7 +45,7 @@ export default function LandingPage() { description="Experience world-class dining in an atmosphere of warmth and elegance. Discover our chef-crafted menu featuring locally-sourced ingredients and timeless culinary traditions." tag="Fine Dining" tagIcon={UtensilsCrossed} - background={{ variant: "aurora" }} + background={{ variant: "sparkles-gradient" }} buttons={[ { text: "Reserve Now", href: "#contact" }, { text: "View Menu", href: "#menu" } @@ -86,6 +86,7 @@ export default function LandingPage() { imageSrc="http://img.b2bpic.net/free-photo/chef-working-together-professional-kitchen_23-2149727978.jpg" imageAlt="Professional restaurant kitchen with open concept design" mediaAnimation="slide-up" + metricsAnimation="slide-up" useInvertedBackground={false} /> diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..6615bcd 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,50 @@ -"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; + x?: number; + y?: number; + fontSize?: number; + fontFamily?: string; + fontWeight?: string | number; + fill?: string; + textAnchor?: 'start' | 'middle' | 'end'; + dominantBaseline?: 'auto' | 'middle' | 'central' | 'hanging'; } -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, + x = 0, + y = 0, + fontSize = 24, + fontFamily = 'Arial, sans-serif', + fontWeight = 'bold', + fill = 'currentColor', + textAnchor = 'middle', + dominantBaseline = 'central', +}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file