A fully responsive, production-ready React web application showcasing Foxnuts Farm's premium, sustainably harvested foxnuts (makhana). Built with modern web technologies and designed to deliver an exceptional user experience.
- Premium Color Palette: Soft sage green, lavender mauve, and cream white
- Professional Typography: Playfair Display for headings, Inter for body text
- Smooth Animations: Powered by Framer Motion for engaging user interactions
- Fully Responsive: Mobile-first design that works perfectly on all devices
-
Hero Section
- Full-screen immersive banner with gradient overlay
- Compelling headline and call-to-action
- Four feature icons (Guilt Free, Sustainable, Organic, Community)
- Smooth scroll indicator
-
Featured Products
- Three premium product cards with hover effects
- Beautiful gradient backgrounds
- Add to cart functionality
- Responsive grid layout
-
Farm Section
- Interactive farm location display
- Live statistics (7,500+ bags sold)
- Customer testimonial showcase
- Farm metrics cards
-
Personality Quiz
- Interactive 3-question quiz
- Progress tracking with visual indicators
- Personalized product recommendations
- Beautiful result display with circular progress chart
-
Sustainability Meter
- Animated progress bars showing environmental metrics
- 90% Water Recycled, 100% Organic Farming
- Premium subscription box promotion
- Compelling benefits display
-
Footer
- Comprehensive site navigation
- Newsletter subscription
- Social media links
- Contact information
- Trust badges
- β Back to Top Button: Floating button for easy navigation
- β Smooth Scroll Animations: Framer Motion transitions on scroll
- β Lazy Loading Ready: Optimized for performance
- β WCAG AA Compliant: Accessible design with proper ARIA labels
- β SEO Optimized: Semantic HTML structure
- Framework: React 19.1.1
- Build Tool: Vite 7.x
- Styling: Tailwind CSS 3.x
- Animations: Framer Motion
- Icons: Emoji-based (zero external dependencies)
- Fonts: Google Fonts (Playfair Display, Inter)
- Node.js (v20.19.0 or higher recommended)
- npm or yarn package manager
-
Clone or navigate to the project directory
cd foxnutS -
Install dependencies
npm install
-
Start development server
npm run dev
-
Open your browser
- Navigate to
http://localhost:5173 - The app will hot-reload as you make changes
- Navigate to
npm run buildThe optimized production build will be in the dist folder.
npm run previewfoxnutS/
βββ public/ # Static assets
βββ src/
β βββ components/ # React components
β β βββ HeroSection.jsx
β β βββ FeaturedProducts.jsx
β β βββ FarmSection.jsx
β β βββ QuizSection.jsx
β β βββ SustainabilityMeter.jsx
β β βββ Footer.jsx
β β βββ BackToTop.jsx
β βββ App.jsx # Main app component
β βββ App.css # Component styles
β βββ index.css # Global styles & Tailwind
β βββ main.jsx # Entry point
βββ index.html # HTML template
βββ tailwind.config.js # Tailwind configuration
βββ postcss.config.js # PostCSS configuration
βββ vite.config.js # Vite configuration
βββ package.json # Dependencies
βββ README.md # This file
Full-screen hero with background image, headline, CTA, and four feature icons with hover effects.
Product showcase with three cards, each featuring product image, description, price, and add-to-cart button.
Farm story section with location map, statistics, testimonial overlay, and farm metrics.
Interactive personality quiz with progress tracking, multiple-choice questions, and personalized results.
Environmental commitment display with animated progress bars and subscription promotion card.
Comprehensive footer with navigation links, newsletter signup, social media, and trust badges.
Floating button that appears on scroll, smoothly returns user to top of page.
Edit tailwind.config.js to modify the color palette:
colors: {
sage: { /* Your sage green variations */ },
mauve: { /* Your mauve variations */ },
cream: { /* Your cream variations */ }
}Fonts are configured in tailwind.config.js:
fontFamily: {
serif: ['"Playfair Display"', 'serif'],
sans: ['"Inter"', 'sans-serif'],
}Update product data, testimonials, and text directly in component files.
- Chrome (latest)
- Firefox (latest)
- Safari (latest)
- Edge (latest)
- Mobile browsers (iOS Safari, Chrome Mobile)
- Semantic HTML structure
- ARIA labels on interactive elements
- Keyboard navigation support
- Color contrast meets WCAG AA standards
- Focus states on all interactive elements
- Alt text ready for images
- Mobile: < 768px
- Tablet: 768px - 1024px
- Desktop: > 1024px
- Component-based architecture for code splitting
- Framer Motion animations with GPU acceleration
- Optimized images (use WebP format recommended)
- Lazy loading ready structure
- Minimal dependencies
This project is created for Foxnuts Farm. All rights reserved.
This is a custom project for Foxnuts Farm. For modifications or enhancements, please contact the development team.
For technical support or questions:
- Email: hello@foxnutsfarm.com
- Phone: +91 123 456 7890
- Design inspired by modern e-commerce best practices
- Built with love for sustainable farming and healthy snacking
- Emoji icons for visual appeal and zero external dependencies
Built with β€οΈ for Foxnuts Farm πͺ·
Bringing ancient superfoods to modern tables through exceptional digital experiences.