Design a restaurant menu with categories, item cards, dietary icons, and order builder.…
Private research annotation
Sign in to add a private research label or note.
- User
Design a restaurant menu with categories, item cards, dietary icons, and order builder. Pre-populated with sample menu.
Assistant
I will start by listing the files in the directory to see the project structure and understand what files are already present.
I will read the
package.jsonfile to check the available dependencies, especially for icons (like lucide-react) or utility libraries, so that I can determine if any npm packages need to be installed.I will install the
lucide-reactpackage to provide high-quality icons for categories, dietary indicators, cart actions, and other visual decorations in our restaurant menu application.I will read the current
src/App.tsxfile to see what is currently in place and how it is structured.I will read the
index.htmlfile to see what it contains, which will allow me to update the application's title to something more suitable for a gourmet restaurant menu.I will edit
index.htmlto update the title to "L'Ambroisie - Exquisite Menu & Interactive Table Planner" and link some high-quality Google Fonts ('Playfair Display' for that luxury classic elegance, and 'Plus Jakarta Sans' for a modern, readable user interface).I will create
src/data/menuData.ts, containing a curated collection of culinary masterpieces. Each item contains rich metadata such as name, French subtitle, premium description, beautiful Unsplash images, base price, calories, ratings, customization options (sizes, temperature, exquisite add-ons with extra costs), and dietary classifications (Vegan, Gluten-Free, Dairy-Free, Spicy, contains nuts). This creates a highly realistic, interactive fine-dining database.I will create the
src/components/MenuCard.tsxcomponent. It renders a beautiful card for each dish, featuring:- Premium high-resolution Unsplash food images with a luxury zoom transition effect on hover.
- Double titles (English and French).
- Exquisite rating stars and review count.
- Dynamic dietary tags (using custom styled badges and emojis with interactive tooltips).
- Premium preparation time and calorie counts.
- Interactive actions to trigger the deluxe Customizer or add directly to the order.
I will create the
src/components/CustomizerModal.tsxcomponent. This component serves as the core "Order Builder". When a user clicks "Customize" on any item, this interactive modal opens and displays:- Exquisite close-up image and item details.
- Required selections (e.g., Steak Doneness, Pasta Prep Style).
- Optional gourmet add-ons (e.g., Edible 24K Gold Leaf, Shaved Périgord Black Truffle, Extra Caviar).
- Special dietary notes text area.
- A live-updated price calculator that shows the complete item value with additions in real-time.
- Responsive design with micro-interactions.
I will fix the TypeScript lint error in
src/components/CustomizerModal.tsxwhere the unused parameterisRequiredis declared in thehandleOptionTogglemethod. I will remove the parameter.I will update the function call inside the customizer selection button so that it passes exactly 3 arguments to
handleOptionToggleinstead of 4, resolving the TypeScript compiler warning.I will create the
src/components/ChefRecommendation.tsxcomponent. This component is an interactive, multi-step "Gastronomic Concierge" quiz. It guides users through an elegant set of inquiries regarding their appetite, preferred flavors, and dining occasion. It then leverages custom logic to recommend the absolute perfect dish from the menu, allowing them to instantly customize and order it. This adds an engaging, premium layer of gamified personalization to the dining experience.I will edit
src/components/ChefRecommendation.tsxto remove the unusedproteinPreferencestate, resolving the TypeScript compiler warning. We pass the protein selection directly to thegenerateRecommendationhandler, so we don't need to persist it in state.I will remove the remaining reference to
setProteinPreferenceinside therestartQuizfunction.I will create the
src/components/OrderSummary.tsxcomponent. It renders the order cart and Checkout experience, including:- Clear list of ordered items, displaying specific sizes, cooking temperatures, and luxury add-ons with sub-pricing.
- Quantity increments, decrements, and instant deletion.
- A dynamic table selector for dine-in guests, or a postal delivery locator.
- A promo code system supporting codes like
GOURMET20(20% off) andWELCOME10(10% off), showing real-time recalculated discounts. - Transparent tax & service fee breakdowns.
- An interactive, animated "Order Live Tracker" timeline that starts when they submit. This tracker simulates kitchen cooking phases (Pending, Chef Searing/Prepping, Plating, and Served/En Route) with an active chef countdown clock.
I will now overwrite
src/App.tsxwith a fully featured, elegant fine-dining application. This application includes:- Interactive Table Map Planner: A visual, interactive map of the restaurant's floor plan (Window Views, Cozy Corners, Private Alcoves, Chef's Table). Users can click on tables to dynamically assign their dine-in table number.
- Gourmet Header & Brand Area: Incorporating beautiful typography, live order tracking alerts, and active cart counting.
- Advanced Filter Deck: Real-time searching, sorting by price/rating/popularity, and a luxury price range slider.
- Dietary Legends: Toggleable active dietary filters (Vegan, Gluten-Free, Spicy, Dairy-Free, Nut-Free) that immediately filter down the list of courses with micro-animations.
- Gastronomic Concierge: Integrates the custom AI-styled Chef recommendation quiz directly.
- Unified State Management: Orchestrates the interaction between the food menu, customizer builder modal, and cart order checkout drawer.
I will edit
src/App.tsxto addFlameto the list of icons imported fromlucide-react, which will resolve the TypeScript compiler error.I will now run the
build_projecttool to compile and verify that the whole application compiles flawlessly and does not contain any remaining TypeScript, configuration, or structural warnings.I have successfully designed and built a premium, immersive digital restaurant menu, interactive table planner, and gourmet order builder for the prestigious restaurant L'Ambroisie.
What I Did:
-
Curated Culinary Database (
src/data/menuData.ts):- Designed a robust database of gourmet dishes featuring beautiful high-definition Unsplash imagery (Wagyu Filet Mignon, Japanese Scallops, Maine Lobster, Decadent Lava Cakes, Rare Red Wines).
- Enhanced metadata including: dual English/French descriptions, calorie indices, preparation timers, reviews, and interactive ratings.
- Categorized each with rich toggleable dietary indicators: 🌱 Vegan, 🌾 Gluten-Free, 🥛 Dairy-Free, 🌶️ Spicy, 🥜 Contains Nuts, and ⭐️ Chef's Signature.
-
Customizer & Live Order Builder (
src/components/CustomizerModal.tsx):- Integrated full-screen glassmorphic modal with a dynamic, real-time price calculator.
- Fully customizable options per item (e.g., choice of Steak Doneness, luxury additions like Shaved Périgord Black Truffle or Foie Gras or Edible 24K Gold Leaf).
- Added user notes input for custom culinary/dietary requirements with automatic validation.
-
"Gastronomic Concierge" Recommendation Engine (
src/components/ChefRecommendation.tsx):- Designed a delightful, interactive 3-step recommendation quiz.
- Asks users about their flavor preferences (Savory, Light, Sweet) and dietary preferences to dynamically suggest the absolute perfect menu item.
-
Interactive Table Map & Live Order Tracker (
src/components/OrderSummary.tsx):- Dynamic order side-drawer detailing each dish's configurations, quantity selector, and total price breakdown.
- Built a top-down Table Layout Map allowing users to interactively pick their seat table setup (Window views, Private Wine Vaults, Chef's Table).
- Implemented real-time interactive promo code validation (e.g.,
GOURMET20yields a 20% discount,WELCOME10yields a 10% discount). - Simulated Kitchen Countdown Timer: When an order is sent, an active timeline starts, simulating physical kitchen preparation stages (Verifying -> Cooking/Plating -> Waitstaff Serving -> Dine & Enjoy) with a live-ticking countdown.
-
Exquisite Responsive Front-End (
src/App.tsx,index.html):- Beautiful editorial styled layout utilizing Google Fonts (
Playfair Displayfor high-end headers and for modern UI elements).
- Beautiful editorial styled layout utilizing Google Fonts (
Files built:
index.html,src/data/menuData.ts,src/components/MenuCard.tsx,src/components/CustomizerModal.tsx,src/components/ChefRecommendation.tsx,src/components/OrderSummary.tsx,src/App.tsx
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Identical first prompt
claude-fable-5-webdevCompare side by side →
- gpt-5.6-sol-xhigh-webdevCompare side by side →
- laguna-m.1-v2Compare side by side →
kimi-k2.5-webdevCompare side by side →
- gpt-5.5-high-webdevCompare side by side →
- laguna-xs-2.1Compare side by side →
deepseek-v4-flash-webdevCompare side by side →
qwen3.6-plus-v1-webdevCompare side by side →
- gpt-5.4-mini-highCompare side by side →
claude-sonnet-4-6Compare side by side →