import { useState, useEffect } from "react"; import { motion, AnimatePresence } from "framer-motion"; /* ============================================================ DATA ============================================================ */ const NAV_ITEMS = [ { id: "home", label: "Home" }, { id: "menu", label: "Menu" }, { id: "about", label: "About" }, { id: "contact", label: "Contact" }, ]; const DISHES = [ { name: "Divyesh Special Galouti", price: "₹ 620", desc: "Melt-in-the-mouth minced lamb kebab, slow-pounded with over twenty spices, served on a warm ulta tawa paratha.", icon: ( ), }, { name: "Nalli Nihari", price: "₹ 780", desc: "Bone-in lamb shank, simmered overnight over embers with saffron and slow-fried onions, finished tableside.", icon: ( ), }, { name: "Lasooni Paneer Angara", price: "₹ 540", desc: "House paneer marinated in charred garlic and Kashmiri chilli, finished in the tandoor with a whisper of smoke.", icon: ( ), }, ]; const MENU_CATEGORIES = [ { id: "starters", label: "Beginnings", items: [ { veg: true, name: "Amritsari Aloo Tikki", desc: "Spiced potato patties, tamarind & mint chutney, whipped yoghurt.", price: "₹ 320" }, { veg: true, name: "Tandoori Mushroom Malai", desc: "Button mushrooms marinated in cream and cheese, char-grilled.", price: "₹ 380" }, { veg: false, name: "Murgh Malai Kebab", desc: "Chicken thigh marinated in cream, cashew and green chilli, tandoor-roasted.", price: "₹ 460" }, { veg: false, name: "Machli Amritsari", desc: "Ajwain-batter fried fish, crisp on the outside, delicate within.", price: "₹ 520" }, ], }, { id: "tandoor", label: "Tandoor & Grill", items: [ { veg: true, name: "Lasooni Paneer Angara", desc: "House paneer, charred garlic, Kashmiri chilli, tandoor smoke.", price: "₹ 540" }, { veg: false, name: "Divyesh Special Galouti", desc: "Slow-pounded minced lamb kebab, twenty spices, ulta tawa paratha.", price: "₹ 620" }, { veg: false, name: "Tandoori Prawns", desc: "Jumbo prawns, carom seed marinade, finished over live coals.", price: "₹ 780" }, { veg: false, name: "Whole Tandoori Chicken", desc: "Overnight-marinated, roasted whole, served with mint chutney.", price: "₹ 690" }, ], }, { id: "mains", label: "Curries & Mains", items: [ { veg: false, name: "Nalli Nihari", desc: "Bone-in lamb shank, saffron, slow-fried onions, overnight simmer.", price: "₹ 780" }, { veg: true, name: "Shahi Paneer Makhmali", desc: "Paneer in a velvet tomato-cashew gravy, finished with saffron cream.", price: "₹ 560" }, { veg: false, name: "Butter Chicken Darbari", desc: "Tandoor-charred chicken, tomato-butter gravy, fenugreek.", price: "₹ 620" }, { veg: true, name: "Dal Divyesh", desc: "Black lentils, slow-simmered overnight with butter and cream.", price: "₹ 420" }, ], }, { id: "biryani", label: "Biryani & Rice", items: [ { veg: false, name: "Lucknowi Gosht Biryani", desc: "Lamb, aged basmati, dum-sealed with saffron and rose water.", price: "₹ 680" }, { veg: true, name: "Subz Dum Biryani", desc: "Seasonal vegetables, aromatic basmati, sealed and slow-cooked.", price: "₹ 480" }, { veg: true, name: "Jeera Rice", desc: "Basmati tempered with cumin and ghee.", price: "₹ 260" }, ], }, { id: "breads", label: "Breads", items: [ { veg: true, name: "Butter Garlic Naan", desc: "Tandoor-baked, brushed with garlic butter.", price: "₹ 140" }, { veg: true, name: "Laccha Paratha", desc: "Layered wholewheat flatbread, ghee-roasted.", price: "₹ 130" }, { veg: true, name: "Ulta Tawa Paratha", desc: "Thin, crisp flatbread cooked on an inverted griddle.", price: "₹ 120" }, ], }, { id: "desserts", label: "Sweet Endings", items: [ { veg: true, name: "Gulab Jamun Tart", desc: "Warm milk-solid dumplings in saffron syrup, on a crisp tart base.", price: "₹ 280" }, { veg: true, name: "Kesar Pista Kulfi", desc: "Saffron and pistachio frozen milk dessert, slow-set the traditional way.", price: "₹ 260" }, ], }, { id: "beverages", label: "Beverages", items: [ { veg: true, name: "Masala Chaas", desc: "Spiced buttermilk, curry leaf tempering.", price: "₹ 140" }, { veg: true, name: "Rose Lassi", desc: "Thick yoghurt churned with rose syrup.", price: "₹ 180" }, { veg: true, name: "Masala Chai", desc: "Slow-brewed with cardamom, ginger and clove.", price: "₹ 110" }, ], }, ]; const TIMELINE = [ { yr: "Founding", title: "The First Tandoor", desc: "A single oven and a family recipe book laid the foundation for everything that followed." }, { yr: "Second Generation", title: "The Dining Room Expands", desc: "What was once a family kitchen grew into a proper dining room, welcoming guests from across the city." }, { yr: "Third Generation", title: "A Refined Table", desc: "The current kitchen carries the same recipes forward, plated with a quieter, more considered elegance." }, { yr: "Today", title: "Divyesh Restaurant", desc: "Every dish still begins the same way it always has — with time, patience, and a well-worn recipe book." }, ]; const INFO = [ { label: "Address", value: "Divyesh Restaurant, Ring Road, Surat, Gujarat 395002", icon: ( ), }, { label: "Phone", value: "+91 99999 99999", href: "tel:+919999999999", icon: ( ), }, { label: "Email", value: "hello@divyeshrestaurant.com", href: "mailto:hello@divyeshrestaurant.com", icon: ( ), }, { label: "Hours", value: "Every day, 12:00 pm – 3:00 pm & 7:00 pm – 11:00 pm", icon: ( ), }, ]; /* ============================================================ SHARED PIECES ============================================================ */ function Divider() { return (
); } function Reveal({ children, delay = 0, className = "" }) { return ( {children} ); } function ArchFrame({ children, delay = 0 }) { return (
{children}
); } function Hero({ eyebrow, title, tagline, big = false, children }) { return (
{eyebrow} {title} {tagline} {children}
); } function Nav({ page, goTo, mobileOpen, setMobileOpen }) { return (
goTo("home")}> Divyesh Restaurant
{mobileOpen && ( {NAV_ITEMS.map((item) => ( goTo(item.id)}> {item.label} ))} goTo("contact")}>Reserve )}
); } function Footer({ goTo }) { return ( ); } function FormField({ id, label, error, children }) { return (
{children} {error && ( {error} )}
); } /* ============================================================ PAGES ============================================================ */ function HomePage({ goTo }) { return ( <> goTo("menu")}> View Menu goTo("contact")}> Reserve a Table
Signature Dishes

From the Tandoor & Beyond

Three dishes our regulars never let us take off the menu.

{DISHES.map((d, i) => (
{d.icon}

{d.name}

{d.price}

{d.desc}

))}
Our Story

Three generations, one kitchen

Divyesh Restaurant began as a single tandoor oven and a family recipe book. Today, the same slow methods — hand-ground spices, dum-cooked biryanis, bread proofed overnight — shape every plate that leaves our kitchen.

goTo("about")}> Read Our Story
"Every dish arrives as if it has been waiting all evening just for you. This is the most gracious Indian dining room in the city."
— Priya Mehta, Food Columnist
); } function MenuPage() { const [active, setActive] = useState(MENU_CATEGORIES[0].id); const activeCat = MENU_CATEGORIES.find((c) => c.id === active); return ( <> Every dish is prepared fresh, to order. Vegetarian   Non-Vegetarian } />
{MENU_CATEGORIES.map((cat) => ( setActive(cat.id)} > {cat.label} ))}

{activeCat.label}

{activeCat.items.map((item, i) => (

{item.name}

{item.desc}

{item.price}
))}
); } function AboutPage({ goTo }) { return ( <>
Chapter One

Where it began

Divyesh Restaurant opened its doors with one tandoor oven, a handwritten recipe book, and a belief that good food takes time. What started as a modest family kitchen has grown into a dining room known across Surat for its patience — dishes that are dum-cooked, slow-simmered, and never rushed.

Every recipe on our menu traces back to that first oven, adjusted only in scale, never in spirit.

Milestones

A journey, one dish at a time

{TIMELINE.map((t, i) => (
{t.yr}

{t.title}

{t.desc}

))}
"We don't cook to impress. We cook the way our grandmother did — slowly, generously, and with a great deal of patience."
— The Divyesh Kitchen
); } const EMPTY_FORM = { name: "", phone: "", guests: "2", date: "", time: "", notes: "" }; function ContactPage() { const [form, setForm] = useState(EMPTY_FORM); const [errors, setErrors] = useState({}); const [submittedName, setSubmittedName] = useState(null); function handleChange(e) { const { id, value } = e.target; setForm((f) => ({ ...f, [id]: value })); if (errors[id]) setErrors((er) => ({ ...er, [id]: null })); } function validate() { const er = {}; if (!form.name.trim()) er.name = "Please enter your name."; if (!form.phone.trim()) er.phone = "Please enter a phone number."; else if (!/^[0-9+\-\s]{7,15}$/.test(form.phone)) er.phone = "That doesn't look like a valid phone number."; if (!form.date) er.date = "Please choose a date."; if (!form.time) er.time = "Please choose a time."; return er; } function handleSubmit(e) { e.preventDefault(); const er = validate(); setErrors(er); if (Object.keys(er).length === 0) { setSubmittedName(form.name); setForm(EMPTY_FORM); setTimeout(() => setSubmittedName(null), 6000); } } return ( <>
Find Us

Get in Touch

Map — Ring Road, Surat, Gujarat
    {INFO.map((item) => (
  • {item.icon}

    {item.label}

    {item.href ? {item.value} : item.value}

  • ))}
Reserve a Table

Book Your Evening