π½οΈ The Grand Palette - Professional Restaurant Website
β¨ Professional Upgrades Completed
1. New Authentication Page (auth.html)
- β
Dedicated login page for registered users only
- β
Professional email/password validation
- β
Hardcoded demo accounts for testing:
-
Email: john@example.com |
Password: password123 |
-
Email: jane@example.com |
Password: secure456 |
-
Email: demo@example.com |
Password: demo123 |
- β
Guest access option
- β
Real-time form validation
- β
Smooth animations and transitions
2. Enhanced User Interface
- β
Modern gradient backgrounds with glassmorphism effects
- β
Professional color scheme (Dark blue/Gold luxury theme)
- β
Smooth hover animations and transitions
- β
Professional typography with Playfair Display & Inter fonts
- β
Improved spacing and visual hierarchy
3. New Sections
- β
Hero Section - Premium banner with animated text
- β
About Us Section - Restaurant achievements & statistics
- β
Enhanced Menu - Improved card design with better layout
- β
Menu Filters - Filter by: All, Starters, Mains, Desserts
- β
Enhanced Reservation - More fields (name, date, time, guests, phone, notes)
- β
Professional Footer - Links, hours, contact info, social media
- β
Item quantity tracking
- β
Subtotal calculation
- β
Tax calculation (18% GST)
- β
Total amount display
- β
Individual item removal
- β
Empty state with helpful message
- β
Professional modal design
5. User Experience Improvements
- β
User authentication dropdown (shows logged-in user)
- β
Logout functionality with confirmation
- β
Color-coded notifications (success/error/info)
- β
Smooth toast notifications
- β
Cart badge with item count
- β
Responsive design (Mobile, Tablet, Desktop)
6. Professional Styling
- β
Consistent design system with CSS variables
- β
Modern button styles with hover effects
- β
Glassmorphism effects with backdrop filters
- β
Custom scrollbar styling
- β
Smooth animations and transitions throughout
- β
Professional card shadows and depths
- β
LocalStorage for cart persistence
- β
LocalStorage for user sessions
- β
LocalStorage for reservations
- β
Optimized image loading
- β
Clean, modular JavaScript code
8. Responsive Design
- β
Mobile-first approach
- β
Tablet optimization
- β
Desktop optimization
- β
Touch-friendly buttons
- β
Readable font sizes on all devices
π― Key Features
Navigation
- Logo with hover effect
- Smooth nav links with underline animation
- Animated cart icon
- Cart badge with count
- User dropdown menu
Authentication Flow
- User clicks βLoginβ β Redirects to
auth.html
- Enters email & password
- Validation checks against demo database
- On success β Redirected to main page
- Auth dropdown shows user name
- Logout clears session
- 6 signature items (Starters, Mains, Desserts)
- Professional product cards
- Category filters
- Add to cart functionality
- Item descriptions & prices
Cart System
- Add unlimited items
- View cart with quantities
- Calculate subtotal, tax, & total
- Remove items individually
- Checkout confirmation
- Cart persists across sessions
Reservation System
- Book table with full details
- Date & time selection
- Guest count selection
- Phone number & special notes
- Data stored in LocalStorage
π File Structure
restaurantproject/
βββ html/
β βββ index.html (Main page)
β βββ auth.html (Login page)
βββ css/
β βββ index.css (Professional styling)
βββ js/
β βββ main.js (Enhanced functionality)
βββ assets/
βββ (image assets)
π How to Use
View the Website
- Main Page:
http://localhost:8000/html/index.html
- Login Page:
http://localhost:8000/html/auth.html
Test Demo Accounts
| Email | Password |
|ββ-|βββ-|
| john@example.com | password123 |
| jane@example.com | secure456 |
| demo@example.com | demo123 |
Features to Try
- β
Scroll through different sections
- β
Click βLoginβ and use demo credentials
- β
Filter menu by category
- β
Add items to cart
- β
View cart with calculations
- β
Make a reservation
- β
Check responsive design (resize browser)
π» Technologies Used
- HTML5 - Semantic markup
- CSS3 - Modern styling with animations
- JavaScript (ES6) - Dynamic functionality
- Bootstrap 5 - Responsive grid system
- LocalStorage - Client-side data persistence
- Unsplash Images - High-quality food photography
π¨ Design Highlights
- Color Scheme: Dark navy (#0f1419) + Gold (#D4AF37)
- Typography: Playfair Display (Headings) + Inter (Body)
- Effects: Glassmorphism, smooth transitions, gradient overlays
- Animations: Fade-in, slide, scale, rotate effects
- Accessibility: High contrast, readable fonts, clear CTAs
Professional Restaurant Website Ready! π