From a61af16551d490cb86bd1bb0c7c5f2c95d75975d Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 03:52:39 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 8e0125d..d6799eb 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -54,9 +54,9 @@ export default function LandingPage() { buttonAnimation="slide-up" background={{ variant: "plain" }} carouselItems={[ - { id: "1", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-delicious-pizza-table_23-2148305632.jpg?_wi=1", imageAlt: "Margherita Pizza" }, - { id: "2", imageSrc: "http://img.b2bpic.net/free-photo/pizza-word-written-flour-wooden-board_23-2148753794.jpg?_wi=1", imageAlt: "Pepperoni Pizza" }, - { id: "3", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-baking-delicious-pizza_23-2150235780.jpg?_wi=1", imageAlt: "Specialty Pizza" }, + { id: "1", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-delicious-pizza-table_23-2148305632.jpg", imageAlt: "Margherita Pizza" }, + { id: "2", imageSrc: "http://img.b2bpic.net/free-photo/pizza-word-written-flour-wooden-board_23-2148753794.jpg", imageAlt: "Pepperoni Pizza" }, + { id: "3", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-baking-delicious-pizza_23-2150235780.jpg", imageAlt: "Specialty Pizza" }, { id: "4", imageSrc: "http://img.b2bpic.net/free-photo/thyme-kneaded-dough-with-dusted-flour-black-kitchen-worktop_23-2147975142.jpg", imageAlt: "Gourmet Pizza" }, { id: "5", imageSrc: "http://img.b2bpic.net/free-photo/pizza-wooden-plate_181624-990.jpg", imageAlt: "Classic Pizza" }, { id: "6", imageSrc: "http://img.b2bpic.net/free-photo/top-view-square-pizza-with-tomatoes_23-2149235619.jpg", imageAlt: "Wood-Fired Pizza" } @@ -79,9 +79,9 @@ export default function LandingPage() { animationType="slide-up" gridVariant="three-columns-all-equal-width" products={[ - { id: "1", name: "Margherita Classic", price: "$14.99", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-delicious-pizza-table_23-2148305632.jpg?_wi=2", imageAlt: "Margherita Pizza" }, - { id: "2", name: "Pepperoni Perfection", price: "$16.99", imageSrc: "http://img.b2bpic.net/free-photo/pizza-word-written-flour-wooden-board_23-2148753794.jpg?_wi=2", imageAlt: "Pepperoni Pizza" }, - { id: "3", name: "House Special", price: "$18.99", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-baking-delicious-pizza_23-2150235780.jpg?_wi=2", imageAlt: "House Special Pizza" } + { id: "1", name: "Margherita Classic", price: "$14.99", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-delicious-pizza-table_23-2148305632.jpg", imageAlt: "Margherita Pizza" }, + { id: "2", name: "Pepperoni Perfection", price: "$16.99", imageSrc: "http://img.b2bpic.net/free-photo/pizza-word-written-flour-wooden-board_23-2148753794.jpg", imageAlt: "Pepperoni Pizza" }, + { id: "3", name: "House Special", price: "$18.99", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-baking-delicious-pizza_23-2150235780.jpg", imageAlt: "House Special Pizza" } ]} /> -- 2.49.1 From 941fc270310e9efe5065efa9d1ae91c582b08084 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 03:52:40 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 50 ++++++------------- 1 file changed, 14 insertions(+), 36 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..077e7f0 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,29 @@ -"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; 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, className = '' }) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1