A premium, fully-responsive e-commerce web application for high-end audio equipment built with Next.js 14, TypeScript, and Tailwind CSS.
- Product Catalog: Browse headphones, speakers, and earphones with detailed product pages
- Shopping Cart: Add items, adjust quantities, and manage your cart with real-time updates
- Checkout Flow: Complete order form with billing, shipping, and payment details
- Order Confirmation: Beautiful success modal with order summary
- Fully Responsive: Seamless experience across mobile, tablet, and desktop devices
- Modern UI: Clean, minimalist design following a professional design system
- Smooth Animations: Hover effects, transitions, and micro-interactions
- Accessibility: Semantic HTML and keyboard navigation support
- Next.js 14: App Router with server and client components
- TypeScript: Full type safety throughout the application
- Context API: Global state management for shopping cart
- Image Optimization: Next.js Image component for optimized loading
- Tailwind CSS: Utility-first styling with custom design tokens
- Framework: Next.js 14
- Language: TypeScript
- Styling: Tailwind CSS
- Font: Manrope from Google Fonts
- State Management: React Context API
- Image Handling: Next.js Image Optimization
audiophile/
βββ src/
β βββ app/
β βββ components/
β β βββ Navbar.tsx # Navigation header
β β βββ Footer.tsx # Footer component
β β βββ CartModal.tsx # Shopping cart modal
β βββ context/
β β βββ CartContext.tsx # Cart state management
β βββ product/
β β βββ xx99-mark-two-headphones/
β β βββ xx99-mark-one-headphones/
β β βββ xx59-headphones/
β β βββ zx9-speaker/
β β βββ zx7-speaker/
β β βββ yx1-earphones/
β βββ headphones/
β β βββ page.tsx # Headphones category
β βββ speakers/
β β βββ page.tsx # Speakers category
β βββ earphones/
β β βββ page.tsx # Earphones category
β βββ checkout/
β β βββ page.tsx # Checkout page
β βββ layout.tsx # Root layout with providers
β βββ page.tsx # Home page
β βββ globals.css # Global styles
βββ public/ # Static assets (images)
βββ package.json
βββ tailwind.config.ts
βββ tsconfig.json
βββ next.config.js
- Node.js 18.17 or later
- npm, yarn, or pnpm
-
Clone the repository
git clone https://github.com/Visino2/audiophile.git cd audiophile -
Install dependencies
npm install # or yarn install # or pnpm install
-
Run the development server
npm run dev # or yarn dev # or pnpm dev
-
Open your browser Navigate to http://localhost:3000
Primary Orange: #D87D4A
Orange Hover: #FBAF85
Dark Background: #191919
Light Gray: #F1F1F1
Body Background: #FAFAFA
Black: #000000
White: #FFFFFF- Font Family: Manrope
- Weights: 400 (Regular), 500 (Medium), 700 (Bold)
- Button Text: 13px, Bold, 1px letter-spacing
- Body Text: 15px, 25px line-height
Mobile: < 768px
Tablet: 768px - 1023px
Desktop: β₯ 1024px- Select quantity with +/- controls
- Add multiple items at once
- Auto-opens cart modal on add
- View all items with thumbnails
- Adjust quantities inline
- Remove individual items
- Clear entire cart
- Real-time price calculations
- Form validation
- Multiple payment methods (e-Money, Cash on Delivery)
- Shipping cost calculation
- VAT calculation (20%)
- Order summary with grand total
- Hamburger menu navigation
- Stacked product layouts
- Touch-optimized controls
- Optimized image sizes
- 2-column product grids
- Balanced image and text layouts
- Medium-sized category cards
- Full navigation bar
- 3-column category grids
- Side-by-side product displays
- Large product images
The project uses a custom Tailwind configuration with the design system colors:
// tailwind.config.ts
export default {
theme: {
extend: {
colors: {
'audiophile-orange': '#D87D4A',
'audiophile-orange-light': '#FBAF85',
'audiophile-dark': '#191919',
'audiophile-gray': '#F1F1F1',
},
fontFamily: {
sans: ['Manrope', 'sans-serif'],
},
},
},
}- Hero section with featured product
- Category navigation cards
- Featured product showcases
- About section
- Product listings with images
- Product descriptions
- CTA buttons to product details
- Large product images
- Detailed specifications
- Features section
- "In the Box" contents
- Product gallery
- "You May Also Like" recommendations
- Add to cart functionality
- Billing details form
- Shipping information
- Payment method selection
- Order summary sidebar
- Success modal on completion
- User authentication and accounts
- Order history
- Product reviews and ratings
- Wishlist functionality
- Payment gateway integration (Stripe/PayPal)
- Backend API integration
- Product search functionality
- Filtering and sorting
- Email notifications
- Dark mode support
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the project
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Design inspiration from Frontend Mentor
- Icons and images are for demonstration purposes
- Manrope font by Google Fonts
victor aba - @visino twitter
Project Link: https://github.com/yourusername/audiophile