From 0d47aa24daf464e4258921442ec10ff44ee99b49 Mon Sep 17 00:00:00 2001 From: cp-dharti-r Date: Tue, 12 Mar 2024 14:56:06 +0530 Subject: [PATCH] Use img tag everywhere --- website/app/category/[category]/restaurant.tsx | 2 +- website/app/restaurants/[restaurant]/menu/menu.tsx | 8 ++++---- website/components/FoodCategory/index.tsx | 8 ++++---- website/components/ItemCard/SingleItem.tsx | 2 +- website/components/YouMayLike/index.tsx | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/website/app/category/[category]/restaurant.tsx b/website/app/category/[category]/restaurant.tsx index 1112edf..cad3baa 100644 --- a/website/app/category/[category]/restaurant.tsx +++ b/website/app/category/[category]/restaurant.tsx @@ -41,7 +41,7 @@ const RestaurantsPage = ({ ) : ( - {
{restaurantData.images ? ( - { id={"image-" + data} > - {
- { }} >
- { href={`/category/${item.id}`} className="flex h-80 w-[15rem] cursor-pointer flex-col gap-2" > - { .replace(/ /g, "-")}`} className="flex h-80 w-[15rem] cursor-pointer flex-col gap-2" > - { .replace(/ /g, "-")}`} className="flex h-80 cursor-pointer flex-col gap-2" > - { .replace(/ /g, "-")}`} className="flex h-80 w-full cursor-pointer flex-col gap-2" > - { ) : ( - item-image + item-image )}
{ {item.images.map((data) => (
-