8000
Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maison — Curated Home Living

A modern, elegant e-commerce website for premium home furnishings and décor. Built with vanilla JavaScript, HTML5, and CSS3 with smooth animations and dark mode support.

🏠 About

Maison is a fully-functional e-commerce platform specializing in curated home living products. The site features a sophisticated design with multiple product collections, an interactive shopping cart, and a seamless user experience across devices.

✨ Features

Product Management

  • 30+ Curated Products across 7 collections
  • Product Categories: New In, Living, Bedroom, Kitchen, Lighting, Outdoor, Office
  • Product details with pricing, descriptions, and availability tags
  • Sale, New, and Bestseller product indicators

Shopping Experience

  • Dynamic Cart System - Add/remove items with real-time updates
  • Product Collections - Browse by category with filter system
  • Responsive Design - Mobile-first approach with hamburger navigation
  • Product Pages - Detailed product views with related items

User Interface

  • Dark Mode Toggle - Seamless light/dark theme switching
  • Smooth Animations - GSAP-powered scroll triggers and transitions
  • Modern Typography - Premium fonts (Playfair Display & DM Sans)
  • Icon-Based Navigation - Search, cart, and account buttons

Navigation

  • Header Navigation - Quick access to all product collections
  • Mobile Drawer Menu - Slide-up menu for mobile devices
  • Collection Links - Direct links to category pages with query parameters

📁 File Structure

ecommers/
├── index.html           # Home page with hero and featured products
├── collection.html      # Collection/category page template
├── product.html         # Individual product detail page
├── app.js              # Product data and cart system logic
├── style.css           # Styles with CSS variables for theming
└── README.md           # Project documentation

🛠️ Technologies Used

  • Frontend: HTML5, CSS3, JavaScript (ES6+)
  • Animations: GSAP (GreenSock Animation Platform) with ScrollTrigger plugin
  • Fonts: Google Fonts (Playfair Display, DM Sans)
  • Icons: Custom SVG icons
  • Responsive: CSS Media Queries & Container Queries

📦 Product Collections

Collection Description Products
New In Latest arrivals 8 items
Living Living room furniture & décor 6 items
Bedroom Bedding & bedroom furniture 5 items
Kitchen Kitchen essentials & cookware 7 items
Lighting Lamps & light fixtures 4 items
Outdoor Garden & outdoor furniture 5 items
Office Workspace & office furniture 4 items

🎨 Design Features

Color Scheme (Light Mode)

  • Primary: #1a1a1a (Dark text)
  • Background: #fff (White)
  • Secondary Background: #fafaf8 (Off-white)
  • Accent: #333 (Secondary text)

Dark Mode

  • Automatically adjusts all colors for comfortable viewing
  • Maintains contrast and readability
  • Toggle button in header

Responsive Breakpoints

  • Mobile-first design
  • Tablet and desktop optimizations
  • Mobile drawer navigation on smaller screens

🚀 Getting Started

  1. Clone/Download the project files
  2. Open index.html in a web browser
  3. Browse products and explore collections
  4. Add items to cart for testing

No Build Process Required

This is a static site with no build steps. Simply open HTML files in a browser.

💳 Shopping Cart

  • Add to Cart - Each product can be added to cart
  • Cart Badge - Shows item count in header
  • Persistent Storage - Cart data can be saved to localStorage (if implemented)
  • Real-time Updates - Instant UI feedback on cart changes

🔗 Navigation

  • Home: index.html
  • Collection Pages: collection.html?col=[collection-name]
    • Examples: collection.html?col=new-in, collection.html?col=bedroom
  • Product Details: product.html?id=[product-id]

🎯 Key JavaScript Objects

PRODUCTS

Complete product database with:

  • Product ID, name, emoji icon
  • Pricing (current and sale prices)
  • Descriptions and tags
  • Collection associations

COLLECTIONS

Organized product groupings with:

  • Collection name
  • Item count
  • Associated product IDs

Cart System

  • Add/remove items
  • Update quantities
  • Calculate totals
  • Real-time cart badge updates

📱 Browser Support

  • Chrome/Edge (latest)
  • Firefox (latest)
  • Safari (latest)
  • Mobile browsers (iOS Safari, Chrome Mobile)

🌐 Links

  • Theme Toggle - Light/Dark mode
  • Search - Link to search functionality
  • Cart - Shopping cart view
  • Account - User login/profile

📝 Notes

  • All products use emoji icons for visual representation
  • Prices are in USD
  • All product data is stored in app.js
  • Animations use GSAP ScrollTrigger for performance
  • CSS variables enable easy theme customization

🔮 Future Enhancements

  • Product search functionality
  • User authentication system
  • Payment integration
  • Product reviews and ratings
  • Wishlist feature
  • Advanced filtering and sorting
  • Product inventory management
  • Email notifications

📄 License

This project is available for personal and commercial use.


Created by: Dhruv
Last Updated: 2026

About

Frontend ecommerce website template built with HTML, CSS, and JavaScript for fast, responsive, and customizable online shopping experiences.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Contributors

Languages

0