diff --git a/src/app/page.tsx b/src/app/page.tsx index bcee6ba..1c0dca2 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -46,12 +46,12 @@ export default function LandingPage() { description="Discover SAKURA Restaurant - your premier destination for exquisite Asian cuisine in Kouba. From signature wok dishes to fresh seafood specialties, we craft every meal with passion and quality ingredients." tag="Premium Asian Cuisine" tagIcon={Sparkles} - tagAnimation="entrance-slide" + tagAnimation="none" buttons={[ { text: "Reserve a Table", href: "#contact" }, { text: "Order Online", href: "#contact" } ]} - buttonAnimation="entrance-slide" + buttonAnimation="none" background={{ variant: "plain" }} carouselItems={[ { @@ -101,7 +101,7 @@ export default function LandingPage() { description="Explore our curated selection of premium Asian dishes, each prepared with fresh ingredients and authentic techniques." tag="Menu Highlights" tagIcon={ChefHat} - tagAnimation="entrance-slide" + tagAnimation="none" features={[ { id: 1, @@ -129,7 +129,7 @@ export default function LandingPage() { description="Join thousands of satisfied customers who trust SAKURA for authentic Asian cuisine and exceptional service. Our 4.9-star rating reflects our commitment to excellence." tag="Customer Reviews" tagIcon={Star} - tagAnimation="entrance-slide" + tagAnimation="none" testimonials={[ { id: "1", name: "Fatima M.", role: "Regular Customer", company: "Kouba Local", rating: 5, @@ -167,7 +167,7 @@ export default function LandingPage() { description="SAKURA is recognized as a top destination for Asian cuisine in Kouba" tag="Recognition" tagIcon={Award} - tagAnimation="entrance-slide" + tagAnimation="none" textboxLayout="default" useInvertedBackground={false} names={[ diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..3ed978d 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,40 @@ -"use client"; +import React, { SVGProps } from 'react'; -import { memo } from "react"; -import useSvgTextLogo from "./useSvgTextLogo"; -import { cls } from "@/lib/utils"; - -interface SvgTextLogoProps { - logoText: string; - adjustHeightFactor?: number; - verticalAlign?: "top" | "center"; +interface SvgTextLogoProps extends SVGProps { + text?: string; + fontSize?: number; + fontWeight?: number | string; + 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 = 'Logo', + fontSize = 48, + fontWeight = 700, + fill = 'currentColor', + className = '', + ...props +}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file