A modern, animated React website showcasing Maggi noodle products with interactive features and nutritional information.
- Interactive Hero Section: Animated hero with floating vegetables, call-to-action buttons, and product highlights
- Product Slider: Interactive carousel showcasing different Maggi noodle varieties
- Nutrition Information: Detailed nutritional facts for each product variant
- Smooth Animations: Built with Framer Motion for fluid, engaging animations
- Responsive Design: Optimized for all device sizes
- Modern UI/UX: Clean, appetizing design with food imagery and vibrant colors
The website showcases four Maggi noodle varieties:
- Maggi 2-Minute Noodles - The classic original
- Maggi Special Masala - Enhanced spicy flavor
- Maggi Veggie Masala - Wholesome vegetable variant
- Maggi Chicken Noodles - Protein-rich chicken flavor
- Frontend Framework: React 19.1.1
- Build Tool: Vite 7.1.0
- Animation Library: Framer Motion 12.23.12
- Intersection Observer: React Intersection Observer 9.16.0
- Styling: CSS with custom animations
- Linting: ESLint
maggie/
├── public/
│ ├── images/ # Product images and assets
│ │ ├── maggie1.png # Product variant images
│ │ ├── maggie2.png
│ │ ├── maggie3.png
│ │ ├── maggie4.png
│ │ ├── bowl.png # Hero section bowl image
│ │ ├── tomato.png # Decorative elements
│ │ ├── pea.png
│ │ └── basil1.png
│ └── vite.svg
├── src/
│ ├── components/
│ │ ├── Hero.jsx # Main hero section
│ │ ├── Hero.css # Hero styling
│ │ ├── Navbar.jsx # Navigation component
│ │ ├── Navbar.css # Navbar styling
│ │ ├── Slider.jsx # Product carousel
│ │ └── Slider.css # Slider styling
│ ├── App.jsx # Main application component
│ ├── App.css # Global styles
│ ├── main.jsx # Application entry point
│ └── index.css # Base styles
├── package.json # Dependencies and scripts
├── vite.config.js # Vite configuration
└── eslint.config.js # ESLint configuration
- Node.js (version 18 or higher)
- npm or yarn package manager
-
Clone the repository
git clone https://github.com/srimanpoloju/Maggie.git cd maggie -
Navigate to project directory
cd project -
Install dependencies
npm install
-
Start the development server
npm run dev
-
Open your browser Navigate to
http://localhost:5173to view the website
npm run buildThe built files will be in the dist directory.
npm run previewTo add a new Maggi product variant, edit the slides array in src/components/Slider.jsx:
const slides = [
// ... existing products
{
image: '/images/new-product.png',
name: 'Maggi New Variant',
desc: 'Product description here...',
nutrition: {
energy: 300,
protein: 6.0,
// ... other nutrition values
}
}
];- Hero section styles:
src/components/Hero.css - Slider styles:
src/components/Slider.css - Navbar styles:
src/components/Navbar.css - Global styles:
src/App.cssandsrc/index.css
Animations are powered by Framer Motion. Key animation variants are defined in:
Hero.jsx: Hero section animationsSlider.jsx: Carousel transitions
The website is designed to be fully responsive with breakpoints for:
- Mobile devices (up to 768px)
- Tablets (768px - 1024px)
- Desktop (1024px+)
Run ESLint to check for code quality issues:
npm run lint- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is open source and available under the MIT License.
For support and questions about this project, please open an issue on GitHub.
Built with ❤️ using React and Framer Motion
