Replace entire repo content with updated code from /root/shahikitchen-website/
This commit is contained in:
@@ -13,6 +13,7 @@ import {
|
||||
|
||||
interface DishDetailsModalProps {
|
||||
item: MenuItem;
|
||||
displayName: string;
|
||||
description: string;
|
||||
isOpen: boolean;
|
||||
onClose: () => void;
|
||||
@@ -24,6 +25,7 @@ interface DishDetailsModalProps {
|
||||
|
||||
export default function DishDetailsModal({
|
||||
item,
|
||||
displayName,
|
||||
description,
|
||||
isOpen,
|
||||
onClose,
|
||||
@@ -83,7 +85,7 @@ export default function DishDetailsModal({
|
||||
) : imageSrc ? (
|
||||
<img
|
||||
src={imageSrc}
|
||||
alt={item.name}
|
||||
alt={displayName}
|
||||
className="w-full h-[240px] sm:h-[280px] object-cover bg-[#F2EDE4]"
|
||||
onError={(e) => {
|
||||
applyNextImageFallback(
|
||||
@@ -114,7 +116,7 @@ export default function DishDetailsModal({
|
||||
id="dish-detail-title"
|
||||
className="font-serif text-2xl sm:text-[26px] tracking-[-0.4px] text-[#2C2A26]"
|
||||
>
|
||||
{item.name}
|
||||
{displayName}
|
||||
</h2>
|
||||
|
||||
{description && (
|
||||
|
||||
Reference in New Issue
Block a user