From a4914f260e42cc48dd6215dc98848d721d28d7dc Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 19:33:01 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) 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" -- 2.49.1 From 86c4430bc89378f3ee10316f9b9c40fa07f5524e Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 19:33:02 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 63 ++++++++----------- 1 file changed, 25 insertions(+), 38 deletions(-) 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 ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1