From 1c43c6d59891ae696e9c5e5121a939468a364d7e Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 09:12:15 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 52c9117..be98776 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -58,7 +58,7 @@ export default function LandingPage() { { text: "Order Online", href: "https://www.swiggy.com" }, { text: "Call Now", href: "tel:+919876543210" } ]} - imageSrc="http://img.b2bpic.net/free-photo/top-view-delicious-chicken-skewers-wooden-board-other-stuffs-black-table_140725-147312.jpg?_wi=1" + imageSrc="http://img.b2bpic.net/free-photo/top-view-delicious-chicken-skewers-wooden-board-other-stuffs-black-table_140725-147312.jpg" imageAlt="Grilled kebabs from Miya Kebabs" mediaAnimation="slide-up" imagePosition="right" @@ -108,19 +108,19 @@ export default function LandingPage() { features={[ { id: "1", title: "Authentic Tandoor Flavors", tags: ["Traditional", "Cooked Fresh"], - imageSrc: "http://img.b2bpic.net/free-photo/group-friends-having-lunch-together-restaurant_23-2150520113.jpg?_wi=1", imageAlt: "Authentic tandoor cooking" + imageSrc: "http://img.b2bpic.net/free-photo/group-friends-having-lunch-together-restaurant_23-2150520113.jpg", imageAlt: "Authentic tandoor cooking" }, { id: "2", title: "Veg & Non-Veg Excellence", tags: ["All Options", "Delicious"], - imageSrc: "http://img.b2bpic.net/free-photo/people-walking-near-sign-board-subway_23-2148184350.jpg?_wi=1", imageAlt: "Variety of menu options" + imageSrc: "http://img.b2bpic.net/free-photo/people-walking-near-sign-board-subway_23-2148184350.jpg", imageAlt: "Variety of menu options" }, { id: "3", title: "Late Night Dining Till 12:30 AM", tags: ["Night Owls", "Premium"], - imageSrc: "http://img.b2bpic.net/free-photo/top-view-delicious-chicken-skewers-wooden-board-other-stuffs-black-table_140725-147312.jpg?_wi=2", imageAlt: "Late night dining experience" + imageSrc: "http://img.b2bpic.net/free-photo/top-view-delicious-chicken-skewers-wooden-board-other-stuffs-black-table_140725-147312.jpg", imageAlt: "Late night dining experience" }, { id: "4", title: "Prime Baner High Street Location", tags: ["Easy Access", "Convenient"], - imageSrc: "http://img.b2bpic.net/free-photo/group-friends-having-lunch-together-restaurant_23-2150520113.jpg?_wi=2", imageAlt: "Prime location at Baner High Street" + imageSrc: "http://img.b2bpic.net/free-photo/group-friends-having-lunch-together-restaurant_23-2150520113.jpg", imageAlt: "Prime location at Baner High Street" } ]} /> @@ -167,10 +167,11 @@ export default function LandingPage() { { value: "Open Daily", title: "12 PM - 12:30 AM" }, { value: "Baner", title: "Balewaldi High Street" } ]} - imageSrc="http://img.b2bpic.net/free-photo/people-walking-near-sign-board-subway_23-2148184350.jpg?_wi=2" + imageSrc="http://img.b2bpic.net/free-photo/people-walking-near-sign-board-subway_23-2148184350.jpg" imageAlt="Miya Kebabs storefront location" useInvertedBackground={false} mediaAnimation="slide-up" + metricsAnimation="slide-up" /> -- 2.49.1 From c9c85a38a07a71f94ea05d3ddf813da81c69a3c7 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 09:12:16 +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..ff1e74b 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