"use client"; import { useRef } from "react"; import { motion } from "framer-motion"; import Image from "next/image"; interface MenuItemProps { name: string; desc: string; tag: string; type: "green" | "gold" | "orange"; img: string; } const LotusOrnament = () => ( {/* Center Petal */} {/* Left Petal */} {/* Right Petal */} {/* Left scroll wing */} {/* Right scroll wing */} ); const TitleDivider = () => (
); const MiniOrnament = () => ( ); const BoardCornerDecor = ({ position }: { position: "tl" | "tr" | "bl" | "br" }) => { const styles = { tl: "top-4 left-4 rotate-0", tr: "top-4 right-4 -scale-x-100", bl: "bottom-4 left-4 -scale-y-100", br: "bottom-4 right-4 scale-[-1]" }; return ( ); }; const CategoryPill = ({ tag, type }: { tag: string; type: "green" | "gold" | "orange" }) => { const styles = { green: { bg: "bg-[#e8f5e9]/95 text-[#1b5e20] border-[#a5d6a7]/70", icon: "✓" }, gold: { bg: "bg-[#fff8e1]/95 text-[#b78103] border-[#ffe082]/70", icon: "★" }, orange: { bg: "bg-[#fbe9e7]/95 text-[#c62828] border-[#ffab91]/70", icon: "●" } }; const style = styles[type]; return ( {style.icon} {tag} ); }; const MenuItemCard = ({ name, desc, tag, type, img, index }: MenuItemProps & { index: number }) => ( {/* Inner decorative inset line */}
{/* Classic inset corner notched borders using background-matching circular masks with hover support */}
{/* Protruding traditional brass thali container */}
{/* Inner Rim of the Plate */}
{/* Green Banana Leaf Inner Liner */}
{/* Food Image */}
{name}
{/* Content Section */}
{/* Name and Pill Badge */}

{name}

{/* Description */}

{desc}

); export default function MenuPreview() { const sectionRef = useRef(null); const leftColumnItems: MenuItemProps[] = [ { name: "ONION RAVA DOSA", desc: "Crispy semolina crepe with onions, herbs & spices.", tag: "RAVA SPL", type: "green", img: "/images/masala_dosa_luxury.png" }, { name: "IDLI SAMBAR (2 PCS)", desc: "Steamed fluffy rice & lentil cakes with hot sambar.", tag: "TIFFIN SPL", type: "gold", img: "/images/my_dosa_place_food.png" }, { name: "MYSORE MASALA DOSA", desc: "Rice crepe spread with spicy chutney & potato masala.", tag: "CLASSIC", type: "orange", img: "/images/masala_dosa_luxury.png" }, { name: "RAVA MASALA DOSA", desc: "Crispy semolina crepe filled with spiced potato masala.", tag: "RAVA SPL", type: "green", img: "/images/masala_dosa_luxury.png" }, { name: "PURI BHAJI (3 PCS)", desc: "Golden fluffy deep-fried puris with flavorful potato bhaji.", tag: "TIFFIN SPL", type: "gold", img: "/images/royal_dining_experience.png" } ]; const rightColumnItems: MenuItemProps[] = [ { name: "MASALA DOSA", desc: "Crispy thin rice & lentil crepe stuffed with potato masala.", tag: "CLASSIC", type: "orange", img: "/images/masala_dosa_luxury.png" }, { name: "ONION RAVA MASALA DOSA", desc: "Semolina crepe with onions and spiced potato filling.", tag: "RAVA SPL", type: "green", img: "/images/masala_dosa_luxury.png" }, { name: "MEDU VADA (2 PCS)", desc: "Deep fried crispy lentil donuts served with sambar & chutney.", tag: "TIFFIN SPL", type: "gold", img: "/images/south_indian_thali_luxury.png" }, { name: "PAPER ROAST DOSA", desc: "Extra large, paper-thin, crispy dosa served hot.", tag: "CLASSIC", type: "orange", img: "/images/masala_dosa_luxury.png" }, { name: "RAVA PLAIN DOSA", desc: "Crispy semolina crepe served with chutney & sambar.", tag: "RAVA SPL", type: "green", img: "/images/masala_dosa_luxury.png" } ]; return ( ); } const BottomFeatures = () => (
{/* Feature 1 */}
100% Vegetarian
100% Vegetarian

Pure Veg. Good Food

{/* Feature 2 */}
Authentic Recipes
Authentic Recipes

Traditional Taste

{/* Feature 3 */}
Finest Ingredients
Finest Ingredients

Always Fresh

{/* Feature 4 */}
Made With Love
Made With Love

For You

);