A cutting-edge, futuristic subscription plans page with AI-powered features, Indian tax invoice generation, and seamless WhatsApp integration.
π Live Demo β’ π± WhatsApp Support β’ π Documentation
The AI Course Generator Subscription Plans is a modern, responsive web application built with React and Tailwind CSS. It features a futuristic design with advanced UI/UX elements, complete Indian GST compliance, and seamless WhatsApp integration for customer support and payment processing.
- π¨ Futuristic Design: Glassmorphic UI with smooth animations and transitions
- π Dark/Light Mode: Persistent theme switching with system preference detection
- π± WhatsApp Integration: Direct redirection to +91 9353241308 for instant support
- π§Ύ Indian Tax Invoice: Complete GST compliance with HSN codes and proper tax structure
- π Performance Optimized: Fast loading with smooth animations and transitions
- π± Mobile Responsive: Works flawlessly on all devices and screen sizes
- Glassmorphic Design: Modern blur effects and transparency
- Gradient Animations: Dynamic background animations with floating orbs
- Micro-interactions: Hover effects, scale animations, and smooth transitions
- Loading States: Professional loading animations and feedback
- Responsive Grid: Adaptive layout for all screen sizes
- Dark/Light Toggle: Instant theme switching with animation
- Persistent Storage: Theme preference saved to localStorage
- System Detection: Automatically detects user's preferred color scheme
- Smooth Transitions: Animated theme changes without flickering
| Plan | Price | Features | Popular |
|---|---|---|---|
| Starter | βΉ0/forever | 5 Basic Courses, 3 Generations/month | - |
| Pro | βΉ799/month | 20+ Courses, 15 Generations/month | β Most Popular |
| Elite | βΉ1499/month | Unlimited Access, Advanced Features | - |
- GST Compliant: 18% GST (9% CGST + 9% SGST)
- HSN Code: 998314 for Software Services
- Professional Layout: Complete invoice with company details
- Auto Generation: Instant invoice creation with unique numbers
- PDF Download: Professional invoice download functionality
- Amount in Words: Automatic number to words conversion
- Instant Redirection: Direct link to +91 9353241308
- Pre-filled Messages: Automated message with plan details
- Invoice Details: Complete invoice information in WhatsApp message
- Customer Support: 24/7 support through WhatsApp
- React 18.2.0: Latest React with Hooks and functional components
- JavaScript ES6+: Modern JavaScript features and syntax
- Tailwind CSS 3.3.0: Utility-first CSS framework
- Lucide React: Beautiful, customizable SVG icons
- CSS Grid & Flexbox: Modern layout techniques
- Custom Animations: CSS transitions and transforms
- Create React App: Development environment and build process
- PostCSS: CSS processing and optimization
- Autoprefixer: Automatic vendor prefixing
- React Hooks: useState, useEffect for state management
- Local Storage API: Theme persistence
- Media Query API: System theme detection
- Node.js (v14.0.0 or higher)
- npm or yarn package manager
- Git for version control
-
Clone the repository
git clone https://github.com/yourusername/ai-course-subscription-plans.git cd ai-course-subscription-plans -
Install dependencies
npm install # or yarn install -
Configure Tailwind CSS
npm install -D tailwindcss postcss autoprefixer npx tailwindcss init -p
-
Start development server
npm start # or yarn start -
Open in browser
http://localhost:3000
npm run build
# or
yarn buildai-course-subscription-plans/
βββ π public/
β βββ index.html # Main HTML template
β βββ logo.svg # Company logo
β βββ manifest.json # PWA manifest
βββ π src/
β βββ π components/
β β βββ SubscriptionPlans.jsx # Main component
β βββ π styles/
β β βββ index.css # Global styles
β β βββ tailwind.css # Tailwind imports
β βββ App.js # Root component
β βββ index.js # Entry point
β βββ reportWebVitals.js # Performance monitoring
βββ π package.json # Dependencies and scripts
βββ π tailwind.config.js # Tailwind configuration
βββ π postcss.config.js # PostCSS configuration
βββ π README.md # Project documentation
βββ π .gitignore # Git ignore rules
// tailwind.config.js
module.exports = {
content: ["./src/**/*.{js,jsx,ts,tsx}"],
darkMode: 'class',
theme: {
extend: {
animation: {
'pulse': 'pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite',
'bounce': 'bounce 1s infinite',
},
colors: {
// Custom color palette can be added here
}
},
},
plugins: [],
}Update the invoice company details in SubscriptionPlans.jsx:
companyInfo: {
name: 'Your Company Name Pvt Ltd',
address: 'Your Complete Address',
gstin: 'Your-GSTIN-Number',
pan: 'Your-PAN-Number',
phone: '+91 9353241308',
email: 'billing@yourcompany.com',
website: 'www.yourcompany.com'
}// Update gradient colors in the plans array
gradient: 'from-blue-500 via-purple-500 to-pink-500'// Modify plans in the SubscriptionPlans component
{
id: 'custom',
name: 'Custom Plan',
price: 'βΉ999',
features: ['Feature 1', 'Feature 2'],
// ... other properties
}// Update WhatsApp number in handleSelectPlan function
window.open(`https://wa.me/919353241308?text=${message}`, '_blank');- Mobile: 320px - 768px
- Tablet: 768px - 1024px
- Desktop: 1024px and above
- Touch-friendly button sizes
- Optimized typography scaling
- Simplified navigation
- Gesture-based interactions
- HSN/SAC Code: 998314 (Software/IT Services)
- CGST: 9% (Central Goods and Services Tax)
- SGST: 9% (State Goods and Services Tax)
- Total GST: 18%
- Company Information: GSTIN, PAN, Address
- Customer Details: WhatsApp, Address, State
- Product/Service Details: Description, HSN, Quantity, Rate
- Tax Calculation: CGST, SGST breakdown
- Total Amount: With amount in words
- Terms & Conditions: Payment terms and policies
// Automatic invoice generation on plan selection
const invoice = generateInvoice(selectedPlan);
// Includes unique invoice number, GST calculations, and formatting// WhatsApp message format
const message = `π€ Hi! I want to subscribe to the *${plan.name}* plan!
π Plan: ${plan.name} (${plan.price} ${plan.period})
π Invoice: ${invoice.invoiceNumber}
π·οΈ HSN Code: ${invoice.products[0].hsnCode}
π° Total: βΉ${invoice.total} (including 18% GST)`;- Payment Gateway Integration (Razorpay, Stripe)
- Email Invoice Delivery
- Customer Management System
- Analytics and Reporting
# Install gh-pages
npm install --save-dev gh-pages
# Add to package.json
"homepage": "https://yourusername.github.io/ai-course-subscription-plans",
"predeploy": "npm run build",
"deploy": "gh-pages -d build"
# Deploy
npm run deploy- Connect GitHub repository
- Build command:
npm run build - Publish directory:
build - Deploy automatically on git push
# Install Vercel CLI
npm i -g vercel
# Deploy
vercel --prodnpm start # Start development server
npm test # Run tests
npm run build # Build for production
npm run eject # Eject from Create React App
npm run deploy # Deploy to GitHub Pages- ESLint: Code linting and formatting
- Prettier: Code formatting
- Husky: Git hooks for quality checks
- Code Splitting: Dynamic imports for better loading
- Image Optimization: Compressed and optimized assets
- Lazy Loading: Components loaded on demand
- Memoization: React.memo for expensive calculations
1. Dark mode not working
// Ensure Tailwind dark mode is configured
// tailwind.config.js
module.exports = {
darkMode: 'class', // Enable class-based dark mode
// ...
}2. WhatsApp not opening
// Check URL encoding
const message = encodeURIComponent("Your message here");3. Invoice not downloading
// Ensure blob creation and URL handling
const blob = new Blob([invoiceHTML], { type: 'text/html' });- Chrome (latest)
- Firefox (latest)
- Safari (latest)
- Edge (latest)
We welcome contributions! Please follow these steps:
- Fork the repository
- Create feature branch:
git checkout -b feature/amazing-feature - Commit changes:
git commit -m 'Add amazing feature' - Push to branch:
git push origin feature/amazing-feature - Open Pull Request
- Follow existing code style and patterns
- Add comments for complex logic
- Test thoroughly before submitting
- Update documentation as needed
This project is licensed under the MIT License - see the LICENSE file for details.
MIT License
Copyright (c) 2024 AI Course Generator
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
- π± WhatsApp: +91 9353241308
- π§ Email: support@aicoursegen.com
- π Issues: GitHub Issues
- π¬ Discussions: GitHub Discussions
- πΌ Partnerships: business@aicoursegen.com
- π― Custom Development: dev@aicoursegen.com
- π Enterprise Solutions: enterprise@aicoursegen.com
- React Team - For the amazing React framework
- Tailwind CSS - For the utility-first CSS framework
- Lucide - For beautiful, customizable icons
- GitHub - For hosting and version control
- Open Source Community - For inspiration and resources
- Payment Gateway Integration (Razorpay/Stripe)
- User Dashboard and Account Management
- Email Invoice Delivery System
- Multi-language Support (Hindi, English)
- Advanced Analytics Dashboard
- Mobile App (React Native)
- AI-Powered Plan Recommendations
- Social Media Integration
- Advanced Reporting Features
- Multi-tenant Architecture
- API for Third-party Integrations
- Advanced Security Features
- Enterprise-grade Scalability
β Star this repository if it helped you! β
Made with β€οΈ by Your Name
π Ready to revolutionize AI-powered learning? Get started today!