From 85670c9de50bdf2dd8b3f68b68c4f994991bfe3a Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 02:41:51 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 3fcd8cc..606ec4e 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -50,10 +50,10 @@ export default function LandingPage() { background={{ variant: "plain" }} mediaItems={[ { imageSrc: "http://img.b2bpic.net/free-photo/cook-white-frying-meat-pan-stove_23-2148040251.jpg", imageAlt: "Chef preparing premium wagyu beef" }, - { imageSrc: "http://img.b2bpic.net/free-photo/chef-cooking-dinner_410324-73.jpg?_wi=1", imageAlt: "Teppanyaki griddle with sizzling ingredients" }, + { imageSrc: "http://img.b2bpic.net/free-photo/chef-cooking-dinner_410324-73.jpg", imageAlt: "Teppanyaki griddle with sizzling ingredients" }, { imageSrc: "http://img.b2bpic.net/free-photo/delicious-sushi-with-shrimps_1203-599.jpg", imageAlt: "Fresh seafood display" }, { imageSrc: "http://img.b2bpic.net/free-photo/rich-christal-chandelier-hangs-dinner-table-with-red-roses-greenery_8353-7354.jpg", imageAlt: "Elegant dining ambiance" }, - { imageSrc: "http://img.b2bpic.net/free-photo/chef-cooking-dinner_410324-73.jpg?_wi=2", imageAlt: "Chef's signature flambe technique" } + { imageSrc: "http://img.b2bpic.net/free-photo/chef-cooking-dinner_410324-73.jpg", imageAlt: "Chef's signature flambe technique" } ]} buttons={[ { text: "Reserve a Table", href: "reserve" }, @@ -75,6 +75,7 @@ export default function LandingPage() { imageSrc="http://img.b2bpic.net/free-photo/high-angle-woman-preparing-blue-matcha-home_23-2150687524.jpg" imageAlt="Traditional sake ceremony preparation" mediaAnimation="slide-up" + metricsAnimation="slide-up" useInvertedBackground={false} /> From d56779df24da9c240d2d4fc0d973b46290a2374d Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 02:41:51 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 53 ++++++------------- 1 file changed, 16 insertions(+), 37 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..c2bfb5b 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,30 @@ -"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; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +export const SvgTextLogo: React.FC = ({ text, className = '' }) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file