From 7ddd251f9da5cad1012558472a617d0f7c1b8d4d Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 13:56:46 +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 45625d4..d72ac91 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -140,6 +140,7 @@ export default function LandingPage() { { icon: Truck, label: "Delivery", value: "30 Mins" }, { icon: Calendar, label: "Reservations", value: "Premium" } ]} + metricsAnimation="slide-up" useInvertedBackground={false} /> @@ -163,8 +164,8 @@ export default function LandingPage() { src: "http://img.b2bpic.net/free-photo/close-up-portrait-attractive-male-model-color-flash-light_158595-5107.jpg", alt: "Guest four" } ]} - ratingAnimation="entrance-slide" - avatarsAnimation="entrance-slide" + ratingAnimation="slide-up" + avatarsAnimation="slide-up" useInvertedBackground={true} /> -- 2.49.1 From 8d83b665dc573ecb7cbe42aefc25ae78c8892b80 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 13:56:46 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 66 +++++++++---------- 1 file changed, 30 insertions(+), 36 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..e196c29 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,45 @@ -"use client"; +import React from 'react'; -import { memo } from "react"; -import useSvgTextLogo from "./useSvgTextLogo"; -import { cls } from "@/lib/utils"; - -interface SvgTextLogoProps { - logoText: string; - adjustHeightFactor?: number; - verticalAlign?: "top" | "center"; +export interface SvgTextLogoProps { + text: string; className?: string; + fontSize?: number; + letterSpacing?: number; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); +const SvgTextLogo = ({ + text, + className = '', + fontSize = 48, + letterSpacing = 2, +}: SvgTextLogoProps) => { + const textWidth = text.length * (fontSize * 0.6); + const padding = 20; + const width = textWidth + padding * 2; + const height = fontSize + padding * 2; return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1