From efe12fcc9fce79de4d039bcadd62da07c6efbd61 Mon Sep 17 00:00:00 2001 From: Alaguraj0361 Date: Tue, 14 Jul 2026 16:07:43 +0530 Subject: [PATCH] feat: replace the royal taste with premium breakfast classics menu card --- src/app/page.tsx | 10 +- src/components/MenuPreview.tsx | 398 +++++++++++++++------------------ 2 files changed, 185 insertions(+), 223 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index c9c54fe..ace8b2a 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -4,7 +4,6 @@ import { useEffect, useState } from "react"; import SmoothScroll from "@/components/SmoothScroll"; import EntranceExperience from "@/components/EntranceExperience"; import RestaurantStory from "@/components/RestaurantStory"; -import SignatureFoods from "@/components/SignatureFoods"; import ChefShowcase from "@/components/ChefShowcase"; import InteriorGallery from "@/components/InteriorGallery"; import Testimonials from "@/components/Testimonials"; @@ -41,8 +40,8 @@ export default function Home() { {/* Section 3: Heritage Story timeline */} - {/* Section 4: Signature Foods featuring interactive 3D WebGL plates */} - + {/* Section 4: Premium Breakfast Menu Card Section */} + {/* Section 5: Chef Sundaram showcase with canvas heat waves */} @@ -56,10 +55,7 @@ export default function Home() { {/* Section 8: Expanding Special Events Accordion */} - {/* Section 9: Luxury Menu Categories preview */} - - - {/* Section 10: Reservation Form with canvas sparks */} + {/* Section 9: Reservation Form with canvas sparks */} {/* Section 11: Cartographic Route SVG Map with animated Chariot */} diff --git a/src/components/MenuPreview.tsx b/src/components/MenuPreview.tsx index 5f19ec2..ad09e11 100644 --- a/src/components/MenuPreview.tsx +++ b/src/components/MenuPreview.tsx @@ -3,255 +3,221 @@ import { motion } from "framer-motion"; import Image from "next/image"; +interface MenuItemProps { + name: string; + price: string; + desc: string; + highlight?: string; +} + +const BannerBadge = ({ title }: { title: string }) => ( +
+ {/* Left decorative gold tip */} +
+
+ +
+ {title} +
+ + {/* Right decorative gold tip */} +
+
+
+); + +const MenuItemRow = ({ name, price, desc, highlight }: MenuItemProps) => ( +
+ {/* Top Row: Name, Dashed Line, Price */} +
+
+ {/* Flower gold bullet */} + +

+ {name} +

+
+ + {/* Dashed connector line */} +
+ + + {price} + +
+ + {/* Bottom Row: Description */} +

+ {desc} + {highlight && ( + + {highlight} + + )} +

+
+); + export default function MenuPreview() { - const leftColumnItems = [ - { - name: "ONION RAVA DOSA", - desc: "Crispy semolina crepe with onions, herbs & spices.", - tag: "RAVA SPL", - tagType: "green" - }, - { - name: "IDLI SAMBAR (2 PCS)", - desc: "Steamed fluffy rice & lentil cakes with hot sambar.", - tag: "TIFFIN SPL", - tagType: "gold" - }, - { - name: "MYSORE MASALA DOSA", - desc: "Rice crepe spread with spicy chutney & potato masala.", - tag: "CLASSIC", - tagType: "orange" - }, - { - name: "RAVA MASALA DOSA", - desc: "Crispy semolina crepe filled with spiced potato masala.", - tag: "RAVA SPL", - tagType: "green" - }, - { - name: "PURI BHAJI (3 PCS)", - desc: "Golden fluffy deep-fried puris with flavorful potato bhaji.", - tag: "TIFFIN SPL", - tagType: "gold" - } + const idlyItems = [ + { name: "Idly (2 pcs)", price: "$10.99", desc: "Soft steamed rice-lentil cakes served with chutney and sambar" }, + { name: "Thattu Idly (1 pc)", price: "$10.99", desc: "Plate-style fluffy idly with a homestyle South Indian touch" }, + { name: "Thattu Idly (2 pcs)", price: "$14.99", desc: "Extra serving of soft thattu idly for hearty appetites" }, + { name: "Ghee Podi Idly", price: "$14.99", desc: "Idly tossed with ghee and signature podi for bold flavour" }, + { name: "Mini Sambar Idly", price: "$13.99", desc: "Bite-sized idlies soaked in hot aromatic sambar" }, + { name: "Sambar Idly", price: "$13.99", desc: "Classic idly dipped in comforting house-made sambar" }, + { name: "Medhu Vada", price: "$9.99", desc: "Golden lentil doughnuts, crisp outside and soft inside" }, + { name: "Sambar Vada", price: "$13.99", desc: "Crispy medhu vada soaked in warm, flavourful sambar" }, + { name: "Dahi Vada", price: "$13.99", desc: "Soft vada topped with creamy yogurt and sweet-spiced chutneys" }, + { name: "Rasam Vada", price: "$13.99", desc: "Savoury vada immersed in peppery, tangy rasam" }, + { name: "Paruppu Vada", price: "$11.99", desc: "Crispy chana-dal fritters with onion, herbs, and spices" }, ]; - const rightColumnItems = [ - { - name: "MASALA DOSA", - desc: "Crispy thin rice & lentil crepe stuffed with potato masala.", - tag: "CLASSIC", - tagType: "orange" - }, - { - name: "ONION RAVA MASALA DOSA", - desc: "Semolina crepe with onions and spiced potato filling.", - tag: "RAVA SPL", - tagType: "green" - }, - { - name: "MEDU VADA (2 PCS)", - desc: "Deep fried crispy lentil donuts served with sambar & chutney.", - tag: "TIFFIN SPL", - tagType: "gold" - }, - { - name: "PAPER ROAST DOSA", - desc: "Extra large, paper-thin, crispy dosa served hot.", - tag: "CLASSIC", - tagType: "orange" - }, - { - name: "RAVA PLAIN DOSA", - desc: "Crispy semolina crepe served with chutney & sambar.", - tag: "RAVA SPL", - tagType: "green" - } + const breadItems = [ + { name: "Chapathi Kurma", price: "$13.99", desc: "Soft whole-wheat chapathis with flavourful kurma" }, + { name: "Parotta Kurma", price: "$14.99", desc: "Flaky layered parotta paired with rich kurma" }, + { name: "Poori Masala", price: "$13.99", desc: "Puffed pooris served with seasoned potato masala" }, ]; - const containerVariants = { - hidden: { opacity: 0 }, - show: { - opacity: 1, - transition: { - staggerChildren: 0.12 - } - } - } as const; - - const itemVariants = { - hidden: { opacity: 0, y: 15 }, - show: { opacity: 1, y: 0, transition: { duration: 0.5, ease: "easeOut" } } - } as const; + const tiffinItems = [ + { name: "Ghee Pongal", price: "$12.99", desc: "Creamy rice-lentil pongal tempered with ghee and pepper" }, + { name: "Rava Khichdi", price: "$12.99", desc: "Savoury semolina khichdi with vegetables and mild spices" }, + { name: "Mini Tiffin Combo", price: "$16.99", desc: "A curated mini tiffin selection for a satisfying meal" }, + { name: "Mega Tiffin Combo", price: "$19.99", desc: "A generous South Indian tiffin platter with idly, vada, dosa, pongal", highlight: "with coffee $2 extra" }, + ]; return ( -
+
- {/* Background Gopuram sketch (Left) */} - - Gopuram Sketch - + {/* Traditional Temple Borders */} +
- {/* Background Palace sketch (Right) */} - + {/* Ornate Gold Corner Borders */} +
+
+
+
+ + {/* Background sketches for heritage watermark feel */} +
Palace Sketch - +
-
+
- {/* Header Elements */} -
- {/* Top traditional gold design element */} -
-
- -

- Our Menu + {/* Menu Book Header */} +
+ + O U R M E N U + +

+ Breakfast Classics

- - {/* Double line with diamond ornament */} -
-
- -
-
- -

- Explore a wide variety of authentic South Indian vegetarian dishes,
- crafted with traditional recipes and the finest ingredients. +

+ Comforting morning favourites from South India

+ + {/* Traditional Gold Divider */} +
+
+
+
+
- {/* 2-Column Menu Layout wrapper */} -
+ {/* 2-Column Menu Card Layout */} +
- {/* Vertical Dotted Separator in the center (Desktop only) */} -
+ {/* Left Column: IDLY & VADA + Bottom Plate */} +
+ + +
+ {idlyItems.map((item, idx) => ( + + ))} +
- {/* Left Column Items */} - - {leftColumnItems.map((item, index) => ( + {/* Bottom Left Card: Pooris image card */} + + Crispy Vada Poori Combo + {/* Inner frame outline overlay */} +
+ +
+ + {/* Right Column: Top Illustration & Idlies Plate + Breads + Tiffin Specials */} +
+ + {/* Top Right Graphics Panel: Street scene background with overlapping floating plate */} +
+ {/* India Street Scene background */} +
+ Traditional South India Street Sketch +
+ + {/* Gold border mask */} +
+ + {/* Floating steel platter plate overlapping */} -
-
- {/* Double Dot Arrow Indicator */} - - ..> - -

- {item.name} -

-
-

- {item.desc} -

-
- - {/* Status Badges on the right */} -
- - {item.tag} - -
+ Idly Vada Platter
- ))} - +
- {/* Right Column Items */} - - {rightColumnItems.map((item, index) => ( - -
-
- {/* Double Dot Arrow Indicator */} - - ..> - -

- {item.name} -

-
-

- {item.desc} -

-
+ {/* BREADS section */} + +
+ {breadItems.map((item, idx) => ( + + ))} +
- {/* Status Badges on the right */} -
- - {item.tag} - -
-
- ))} -
+ {/* TIFFIN SPECIALS section */} +
+ +
+ {tiffinItems.map((item, idx) => ( + + ))} +
+
+ +
+

); }