This is a modern and responsive online smartphone store built with Next.js, TypeScript, and Tailwind CSS.
- 🛒 View a catalog of smartphones
- ✅ Add smartphones to a shopping cart
- ➕ Increase/decrease quantity of products
- 💾 Persistent cart using local state
- 📦 Static product data (can be replaced with API)
- Next.js – React framework for SSR & static sites
- TypeScript – Typed JavaScript
- Tailwind CSS – Utility-first CSS framework
- React Context API – Global cart state management
/public/assets/images → Product images
/src/components → Reusable UI components
/src/context → Cart context provider
/src/data → Product data file
/src/styles → Global styles (if needed)
/src/utils → Utility functions
# Install dependencies
npm install
# Run the development server
npm run devThen open http://localhost:3000 in your browser.