Maison Noir’s Dark & Gold Hero Section: AI-Coded Fine Dining Magic
Building a restaurant website can be a complex task, but with the right tools and techniques, it can be done efficiently. In this tutorial, we will guide you through the process of creating a dark, elegant fine dining restaurant website using React, Vite, TypeScript, Tailwind CSS, Framer Motion, shadcn/ui, and lucide-react.
What you need
- A computer with a text editor and internet access.
- Basic knowledge of HTML, CSS, and JavaScript.
- Node.js installed on your computer.
- A code editor like Visual Studio Code or Sublime Text.
- A text editor like VS Code or Sublime Text.
The full prompt
# Restaurant / Fine Dining Website Prompt
# websiteprompts.ai
Build a dark, elegant fine dining restaurant website called "Maison Noir" using React + Vite + TypeScript + Tailwind CSS + Framer Motion (motion/react) + shadcn/ui + lucide-react.
## Design System
### Colors
```css
:root {
--background: 30 8% 6%; /* near-black warm #0c0b0a */
--foreground: 40 20% 92%; /* warm off-white */
--primary: 42 65% 58%; /* warm gold #d4a853 */
--primary-foreground: 30 8% 6%;
--surface: 30 8% 10%;
--muted-foreground: 30 8% 55%;
--border: 30 8% 18%;
}
```
### Typography
- Import: `https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500&display=swap`
- Headlines: Cormorant Garamond 600–700 — italic gold accents
- Body: Inter 300–400
- Prices/data: Inter 500
## Sections
### 1. Navbar
- Micro-bar above navbar: "Open Tue–Sat · 18:00–23:00 · +44 20 7123 4567" in Inter 10px muted centered
- Sticky dark bg with blur backdrop
- Left: Cormorant italic wordmark "Maison Noir" in gold
- Right: Menu · About · Reservations · Events + "Reserve a table →" gold button
### 2. Hero
- Full-screen, dark background
- Full-bleed image with composition-independent gradient overlay: `linear-gradient(to top, rgba(12,11,10,0.98) 0%, rgba(12,11,10,0.55) 45%, rgba(12,11,10,0.25) 100%)`
- Content z-10 at bottom of hero, left-aligned in padded container
- Gold Cormorant italic badge pill: "Est. 2018 · Mayfair, London"
- Cormorant 700 `clamp(56px, 8vw, 120px)`: "A Dining\nExperience\nBeyond\nOrdinary"
- Inter 300 sub: "Contemporary French cuisine in the heart of Mayfair"
- Two CTAs: "Reserve a table" (gold bg, dark text) + "View menu →" (ghost gold outline)
{/* Image brief: fine dining table setting, elegantly plated dish, warm candlelight, dark moody restaurant interior, shallow depth of field */}
### 3. Philosophy Strip
- Full-width dark surface strip, `border-top: 1px solid hsl(var(--border))`
- Centered Cormorant italic 28px: "Every plate is a conversation between the seasons and the chef."
- Two 48px gold horizontal rules either side, scaleX 0→1 from center on scroll
### 4. Menu Teaser
- "The Menu" in Cormorant 700 with gold underline rule
- Two columns: Starters (3 dishes) / Mains (3 dishes)
- Each dish row: Cormorant 600 name left + Inter 500 gold price right + Inter 300 description below
- Border-bottom separator between rows with hover: background raises to surface
- "Download full menu →" gold outlined button centered below
- Stagger fade-up entrance on scroll
### 5. Chef Section
- Split: left portrait, right text
- Gold chip badge: "Executive Chef"
- Cormorant 700: "Chef Laurent Moreau"
- Inter 300 bio: 2 paragraphs — seasonal philosophy, local suppliers, Michelin background
- Three gold chips: "Michelin Trained · Seasonal Menu · Local Suppliers"
{/* Image brief: male executive chef portrait, dark kitchen, white chef jacket, confident pose, dramatic side lighting */}
### 6. Experiences
- 3 dark surface cards: Private Dining · Tasting Menu · Wine Pairing
- Each: gold lucide icon, Cormorant 600 title, Inter 300 description, "Enquire →" gold link
- Hover: gold border + `box-shadow: 0 0 24px hsl(42 65% 58% / 0.12)`
### 7. Press Strip
- "As Featured In" Inter 500 uppercase muted label
- Continuous marquee: "The Guardian · Evening Standard · Michelin Guide · Condé Nast Traveller · Time Out" in Cormorant italic, 5 opacity
- 20s CSS scroll, seamless loop
### 8. Testimonials
- 3 dark surface cards: gold 5-star row, Cormorant 400 italic quote, diner name + visit date in Inter 10px muted
- Stagger fade-up on scroll
### 9. Reservation CTA
- Full-width dark with subtle noise texture overlay (opacity 0.03)
- Cormorant 700 italic centered: "Reserve Your Table"
- Inter 300 sub: "We recommend booking 2–4 weeks in advance for weekends"
- Large gold "Make a reservation →" button
- "Or call: +44 20 7123 4567" Inter 300 muted below
### 10. Footer
- Dark surface, 3 columns: Brand (wordmark + tagline) · Hours (Tue–Sat 18:00–23:00) · Contact (address, phone, email)
- Bottom: "© 2026 Maison Noir · 14 Curzon Street, Mayfair, London W1J 5HP"
## Animations
- Hero text: stagger fade-up on mount (y: 30→0, 0.7s), badge first
- Menu rows: stagger fade-up on scroll, 0.06s delay per row
- Gold rules: scaleX 0→1 from center, 0.5s
- Press marquee: continuous CSS scroll
## Responsive
- Mobile: single column menu, stacked hero, hero type clamp(44px, 10vw, 80px), hamburger nav
## Full Copy
- Wordmark: "Maison Noir"
- Tagline: "Contemporary French cuisine · Mayfair, London"
- Hero: "A Dining Experience Beyond Ordinary" / "Contemporary French cuisine in the heart of Mayfair"
- Menu sample: Foie Gras Torchon £18 · Beef Tartare £16 · Aged Duck Breast £34 · Sea Bass £32 · Chocolate Fondant £12
- Chef bio: "Laurent trained under three Michelin-starred chefs before opening Maison Noir in 2018. His menu changes with the seasons — built around relationships with local farmers and coastal suppliers."
- Testimonial: "The tasting menu was simply extraordinary. Every course told a story." — Marcus T., April 2026
- Reservation: "Reserve Your Table" / "We recommend booking 2–4 weeks in advance"
- Hours: Tuesday–Saturday · 18:00–23:001Set Up Your Development Environment
- Install Node.js and npm if you haven't already.
- Open your terminal or command prompt and run
npm init -yto create a new Node.js project. - Install React, Vite, TypeScript, Tailwind CSS, Framer Motion, shadcn/ui, and lucide-react using npm:
npm install react react-dom vite typescript @types/react @types/react-dom @emotion/react @emotion/styled framer-motion shadcn/ui @radix-ui/react-icons lucide-react
Pro tip: Use Vite for fast development and build times.
2Create the Project Structure
- Create a new directory for your project and navigate to it.
- Create the following files and directories:
srccomponentspagesstylespublicvite.config.js
Pro tip: Organize your code into a clear structure.
3Install Tailwind CSS
- Create a
tailwind.config.jsfile in thestylesdirectory. - Copy the following code into the
tailwind.config.jsfile:
module.exports = {
content: ['./src/**/*.{js,ts,jsx,tsx}'],
theme: {
extend: {
colors: {
'background': '#300b0a',
'foreground': '#402092',
'primary': '#d4a853',
'primary-foreground': '#300b0a',
'surface': '#300b0a',
'muted-foreground': '#300b0a',
'border': '#300b0a',
},
typography: {
body: {
fontFamily: ['Inter', 'system-ui'],
fontSize: '1rem',
lineHeight: '1.5',
fontWeight: '400',
},
headings: {
fontFamily: ['Inter', 'system-ui'],
fontSize: '1.25rem',
lineHeight: '1.5',
fontWeight: '700',
},
},
},
},
plugins: [],
}Pro tip: Use Tailwind CSS for easy styling.
4Install Framer Motion
- Install Framer Motion using npm:
npm install framer-motion
Pro tip: Use Framer Motion for smooth animations.
5Install shadcn/ui
- Install shadcn/ui using npm:
npm install shadcn/ui
Pro tip: Use shadcn/ui for modern UI components.
6Install lucide-react
- Install lucide-react using npm:
npm install lucide-react
Pro tip: Use lucide-react for beautiful icons.
7Create the Homepage
- Create a new file
src/pages/Homepage.tsx. - Copy the following code into
src/pages/Homepage.tsx:
import React from 'react';
import { Container, Heading, Text, Button } from '@shadcn/ui';
const Homepage = () => {
return (
<Container>
<Heading size={'2xl'}>Welcome to Our Fine Dining Restaurant</Heading>
<Text>Experience the finest dining experience with us.</Text>
<Button variant={'outline'}>
Book a Table
</Button>
</Container>
);
};
export default Homepage;Pro tip: Create a simple homepage for your restaurant.
8Add Tailwind CSS and Framer Motion
- Add Tailwind CSS to your project by importing it in
src/index.css:
import './tailwind.css';Pro tip: Use Tailwind CSS to style your components.
9Add Framer Motion to your project
- Add Framer Motion to your project by importing it in
src/index.css:
import 'framer-motion/styles.css';Pro tip: Use Framer Motion for smooth animations.
10Run Your Project
- Run
npm run devto start your development server. - Open
http://localhost:3000in your browser to see your homepage.
Pro tip: Use Vite for fast development and build times.
11Add More Pages
- Create more pages in the
src/pagesdirectory as needed. - Use React components to build your pages.
Adapt it to your own brand
- Modify the colors and typography in the
tailwind.config.jsfile to match your restaurant's brand. - Add more components to your pages using shadcn/ui and lucide-react.
- Add more pages to your website to showcase your menu, reservations, and contact information.
- Add a contact form or a reservation form to your website.
- Add a footer to your website with links to your social media pages and contact information.
Common mistakes and fixes
- Not using a modern framework like React or Vite for your project.
- Not using Tailwind CSS or Framer Motion for styling and animations.
- Not using shadcn/ui or lucide-react for modern UI components and beautiful icons.
- Not using a modern code editor like Visual Studio Code or Sublime Text.
- Not using a modern version of Node.js and npm.
Frequently asked questions
How do I add more pages to my restaurant website?
Create more pages in the src/pages directory using React components.
How do I add more components to my restaurant website?
Use shadcn/ui and lucide-react for modern UI components and beautiful icons.
How do I add a contact form or a reservation form to my restaurant website?
Add a contact form or a reservation form to your website using React components.
How do I add a footer to my restaurant website?
Add a footer to your website with links to your social media pages and contact information.
Final thoughts
Building a dark, elegant fine dining restaurant website using AI is a complex task, but with the right tools and techniques, it can be done efficiently. Follow these steps to design and build a stunning restaurant website. Don't forget to experiment and customize the design to match your restaurant's brand.