diff --git a/src/app/page.tsx b/src/app/page.tsx
index 08713b4..6225f31 100644
--- a/src/app/page.tsx
+++ b/src/app/page.tsx
@@ -43,7 +43,7 @@ export default function LandingPage() {
@@ -68,13 +68,13 @@ export default function LandingPage() {
useInvertedBackground={false}
products={[
{
- id: "1", name: "Fried Calamari", price: "$14", imageSrc: "http://img.b2bpic.net/free-photo/flat-lay-french-fries-bowls-with-salt-copy-space_23-2148701505.jpg?_wi=2", imageAlt: "Fried calamari"
+ id: "1", name: "Fried Calamari", price: "$14", imageSrc: "http://img.b2bpic.net/free-photo/flat-lay-french-fries-bowls-with-salt-copy-space_23-2148701505.jpg", imageAlt: "Fried calamari"
},
{
- id: "2", name: "Tabouli", price: "$12", imageSrc: "http://img.b2bpic.net/free-photo/vegetable-salad-with-tomato-cucumber-bell-peppers-red-onion-grated-parmesan-parsley_140725-8477.jpg?_wi=2", imageAlt: "Fresh tabouli salad"
+ id: "2", name: "Tabouli", price: "$12", imageSrc: "http://img.b2bpic.net/free-photo/vegetable-salad-with-tomato-cucumber-bell-peppers-red-onion-grated-parmesan-parsley_140725-8477.jpg", imageAlt: "Fresh tabouli salad"
},
{
- id: "3", name: "Sautéed Shrimp", price: "$16", imageSrc: "http://img.b2bpic.net/free-photo/grilled-prawns-wooden-sticks-side-view_141793-4454.jpg?_wi=2", imageAlt: "Sautéed shrimp"
+ id: "3", name: "Sautéed Shrimp", price: "$16", imageSrc: "http://img.b2bpic.net/free-photo/grilled-prawns-wooden-sticks-side-view_141793-4454.jpg", imageAlt: "Sautéed shrimp"
}
]}
gridVariant="three-columns-all-equal-width"
@@ -180,9 +180,9 @@ export default function LandingPage() {
tag="Reserve or Order"
title="Taste the Ocean Tonight"
description="Reserve your table or order your favorites for delivery. Experience the freshness and warmth that defines Mermaids."
- background={{ variant: "circleGradient" }}
+ background={{ variant: "sparkles-gradient" }}
useInvertedBackground={false}
- imageSrc="http://img.b2bpic.net/free-photo/onion-rings-served-with-lettuce-sauce_141793-889.jpg?_wi=2"
+ imageSrc="http://img.b2bpic.net/free-photo/onion-rings-served-with-lettuce-sauce_141793-889.jpg"
imageAlt="Seafood platter"
mediaAnimation="slide-up"
mediaPosition="right"
diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx
index f214190..2dd80e8 100644
--- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx
+++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx
@@ -1,51 +1,38 @@
-"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";
- className?: string;
+interface SvgTextLogoProps extends SVGProps {
+ text?: string;
+ fontSize?: number;
+ fontFamily?: 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 = 'Webild',
+ fontSize = 48,
+ fontFamily = 'Arial, sans-serif',
+ ...props
+}) => {
return (
);
-});
-
-SvgTextLogo.displayName = "SvgTextLogo";
+};
export default SvgTextLogo;