From e7852b1e1eb60db011edc8a2c3dbfd382a86b52e Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 23:59:25 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/page.tsx b/src/app/page.tsx index 4063070..5892498 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -88,6 +88,7 @@ export default function LandingPage() { imageSrc="http://img.b2bpic.net/free-photo/coffee-shop-cafe-restaurant-bistro-freshness-concept_53876-41421.jpg" imageAlt="Warm and inviting restaurant interior" mediaAnimation="slide-up" + metricsAnimation="slide-up" useInvertedBackground={false} /> @@ -159,6 +160,7 @@ export default function LandingPage() { imageSrc="http://img.b2bpic.net/free-photo/front-view-man-making-coffee_23-2150354579.jpg" imageAlt="Ethiopian coffee ceremony - cultural dining experience" mediaPosition="right" + mediaAnimation="slide-up" inputPlaceholder="your@email.com" buttonText="Request Reservation" termsText="We confirm reservations quickly by phone. Your information is secure and will only be used to confirm your booking." From f65cf6bb5995df0242a309b1c346fc43df26f5ba Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 23:59:26 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 69 ++++++++----------- 1 file changed, 27 insertions(+), 42 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..b6136e5 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,50 +1,35 @@ -"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; className?: string; + textClassName?: string; + dominantBaseline?: "auto" | "text-bottom" | "alphabetic" | "ideographic" | "middle" | "central" | "mathematical" | "hanging"; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - - return ( - - ( + ({ text = "Logo", className = "", textClassName = "", dominantBaseline = "middle", ...props }, ref) => { + return ( + - {logoText} - - - ); -}); + + {text} + + + ); + } +); SvgTextLogo.displayName = "SvgTextLogo";