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"
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 (
);
-});
+};
-SvgTextLogo.displayName = "SvgTextLogo";
-
-export default SvgTextLogo;
+export default SvgTextLogo;
\ No newline at end of file