From 23abd65eb3afb8101cf01c042dc47bfab247e925 Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 10 Mar 2026 20:39:45 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 9831639..9d051af 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -17,11 +17,11 @@ export default function LandingPage() { return ( @@ -218,7 +218,7 @@ export default function LandingPage() { title="Frequently Asked Questions" description="Got questions about our menu, delivery, or services? We have answers" tag="FAQ" - tagAnimation="entrance-slide" + tagAnimation="blur-reveal" textboxLayout="default" useInvertedBackground={true} faqs={[ @@ -241,7 +241,7 @@ export default function LandingPage() { id: "6", title: "Do you have a menu I can see?", content: "Yes! Check out our featured menu items on this website. For our complete menu with all options and prices, call us at 0621 537 011 and our team will walk you through all available dishes." } ]} - faqsAnimation="entrance-slide" + faqsAnimation="blur-reveal" animationType="smooth" /> @@ -259,7 +259,7 @@ export default function LandingPage() { required: true }} useInvertedBackground={false} - imageSrc="http://img.b2bpic.net/free-photo/life-style_1122-1806.jpg?_wi=2" + imageSrc="http://img.b2bpic.net/free-photo/life-style_1122-1806.jpg" imageAlt="Five Stars Restaurant" mediaAnimation="slide-up" mediaPosition="right" -- 2.49.1 From 42a8fde87278c425c776bdfea0c8584622feb417 Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 10 Mar 2026 20:39:46 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 65 +++++++++---------- 1 file changed, 29 insertions(+), 36 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..0331e22 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,44 @@ -"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; + width?: number; + height?: number; + fontSize?: number; + fontWeight?: number | 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, + width = 200, + height = 60, + fontSize = 32, + fontWeight = 'bold', + className = '', +}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1