diff --git a/src/app/page.tsx b/src/app/page.tsx index 563bed9..40a0210 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -69,10 +69,11 @@ export default function LandingPage() { { value: "20+", title: "Years of Excellence" }, { value: "98%", title: "Guest Satisfaction" } ]} - imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=cud80f&_wi=1" + imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=cud80f" imageAlt="Kobe Prime steakhouse interior with intimate seating" useInvertedBackground={false} mediaAnimation="slide-up" + metricsAnimation="slide-up" /> @@ -215,7 +216,7 @@ export default function LandingPage() { id: "8", title: "What is your cancellation policy?", content: "Reservations cancelled 7+ days prior receive full credit. Cancellations 3-6 days prior are subject to 50% charge. Within 3 days, the full reservation cost applies. No-shows are charged in full." } ]} - imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=cud80f&_wi=2" + imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=cud80f" imageAlt="Kobe Prime intimate dining setting" mediaAnimation="slide-up" faqsAnimation="slide-up" diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..a4c79f3 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,43 @@ -"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; } -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 = '', +}) => { return ( + + + + + + - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;