From 40ffb3dbc3546acd845ac4d82eb0f545606b645b Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 09:27:40 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 2a710d9..10429a4 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -21,7 +21,7 @@ export default function LandingPage() { borderRadius="pill" contentWidth="small" sizing="largeSmallSizeLargeTitles" - background="aurora" + background="circleGradient" cardStyle="gradient-mesh" primaryButtonStyle="double-inset" secondaryButtonStyle="layered" @@ -45,7 +45,7 @@ export default function LandingPage() { @@ -161,27 +161,27 @@ export default function LandingPage() { products={[ { id: "1", brand: "Specialty Pizza", name: "Fajita Pizza", price: "From ₹450", rating: 5, - reviewCount: "89", imageSrc: "http://img.b2bpic.net/free-photo/pizza-with-garlic-tomatoes-lemon-olives-corn-pizza-cutter-top-view-dark-wooden-background_176474-4613.jpg?_wi=2", imageAlt: "Fajita Pizza signature dish" + reviewCount: "89", imageSrc: "http://img.b2bpic.net/free-photo/pizza-with-garlic-tomatoes-lemon-olives-corn-pizza-cutter-top-view-dark-wooden-background_176474-4613.jpg", imageAlt: "Fajita Pizza signature dish" }, { id: "2", brand: "Appetizer", name: "Wonton Chilly", price: "From ₹280", rating: 5, - reviewCount: "72", imageSrc: "http://img.b2bpic.net/free-photo/front-view-delicious-sushi-fish-rolls-with-fish-rice-along-with-green-pepper-grey-wall_140725-46261.jpg?_wi=2", imageAlt: "Wonton Chilly appetizer" + reviewCount: "72", imageSrc: "http://img.b2bpic.net/free-photo/front-view-delicious-sushi-fish-rolls-with-fish-rice-along-with-green-pepper-grey-wall_140725-46261.jpg", imageAlt: "Wonton Chilly appetizer" }, { id: "3", brand: "Beverage", name: "Yuzu Bloom Mocktail", price: "₹220", rating: 5, - reviewCount: "65", imageSrc: "http://img.b2bpic.net/free-photo/orange-strawberry-cocktail-with-strawberry-orange-slices-ice_140725-269.jpg?_wi=2", imageAlt: "Yuzu Bloom signature mocktail" + reviewCount: "65", imageSrc: "http://img.b2bpic.net/free-photo/orange-strawberry-cocktail-with-strawberry-orange-slices-ice_140725-269.jpg", imageAlt: "Yuzu Bloom signature mocktail" }, { id: "4", brand: "Specialty Pizza", name: "Wood-Fired Farm Pizza", price: "From ₹480", rating: 5, - reviewCount: "81", imageSrc: "http://img.b2bpic.net/free-photo/pizza-with-garlic-tomatoes-lemon-olives-corn-pizza-cutter-top-view-dark-wooden-background_176474-4613.jpg?_wi=3", imageAlt: "Wood-Fired Farm Pizza" + reviewCount: "81", imageSrc: "http://img.b2bpic.net/free-photo/pizza-with-garlic-tomatoes-lemon-olives-corn-pizza-cutter-top-view-dark-wooden-background_176474-4613.jpg", imageAlt: "Wood-Fired Farm Pizza" }, { id: "5", brand: "Beverage", name: "Berry Berry Mocktail", price: "₹220", rating: 5, - reviewCount: "58", imageSrc: "http://img.b2bpic.net/free-photo/orange-strawberry-cocktail-with-strawberry-orange-slices-ice_140725-269.jpg?_wi=3", imageAlt: "Berry Berry refreshing drink" + reviewCount: "58", imageSrc: "http://img.b2bpic.net/free-photo/orange-strawberry-cocktail-with-strawberry-orange-slices-ice_140725-269.jpg", imageAlt: "Berry Berry refreshing drink" }, { id: "6", brand: "Dessert", name: "San Sebastian Cheesecake", price: "₹320", rating: 5, - reviewCount: "94", imageSrc: "http://img.b2bpic.net/free-photo/slice-strawberry-cake-with-fresh-strawberries_123827-37218.jpg?_wi=2", imageAlt: "San Sebastian premium cheesecake" + reviewCount: "94", imageSrc: "http://img.b2bpic.net/free-photo/slice-strawberry-cake-with-fresh-strawberries_123827-37218.jpg", imageAlt: "San Sebastian premium cheesecake" } ]} buttons={[{ text: "Order Now", href: "https://wa.me/075597559228?text=Hi%20Mimi%20Cafe,%20I'd%20like%20to%20place%20an%20order" }]} -- 2.49.1 From 680abbd2d8c208e47456fb89ac833b415e9002b5 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 09:27:40 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 71 ++++++++----------- 1 file changed, 29 insertions(+), 42 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..d46450a 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,38 @@ -"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; + textClassName?: string; + preserveAspectRatio?: string; + dominantBaseline?: 'auto' | 'text-top' | 'hanging' | 'text-before-edge' | 'ideographic' | 'middle' | 'central' | 'mathematical' | 'text-after-edge' | 'text-bottom' | 'baseline' | 'use-script' | 'no-change' | 'reset-size' | 'inherit'; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - - return ( - - ( + ({ text, className = '', textClassName = '', preserveAspectRatio = 'xMidYMid meet', dominantBaseline = 'middle' }, ref) => { + return ( + - {logoText} - - - ); -}); + + {text} + + + ); + } +); -SvgTextLogo.displayName = "SvgTextLogo"; +SvgTextLogo.displayName = 'SvgTextLogo'; export default SvgTextLogo; -- 2.49.1