Turn ideas into interactive learning packages in minutes
The official marketing website for LearnPack - an AI-powered platform that enables educators, trainers, and organizations to create interactive learning experiences in minutes.
LearnPack is a modern educational technology platform that transforms expertise into engaging, interactive learning experiences. This repository contains the marketing website built with React, TypeScript, and Vite.
Live Website: learnpack.co
- 🎨 Modern Design System: Dark theme with LearnPack blue branding and glass-morphism effects
- 🌍 Internationalization: Full English and Spanish support with easy translation workflow
- 💳 Dynamic Pricing: Real-time pricing from BreathCode API with auto-applied coupons
- ⚡ Performance Optimized: Built for speed with lazy loading and SEO best practices
- 📱 Responsive: Mobile-first design that works on all devices
- 🎬 Interactive Demos: Video showcases and animated backgrounds
- React 18 with TypeScript
- Vite for blazing-fast builds
- Tailwind CSS for styling
- Radix UI + shadcn/ui for accessible components
- Wouter for lightweight routing
- TanStack Query for server state management
- react-i18next for internationalization
- Node.js with Express
- TypeScript with ES modules
- Drizzle ORM for database operations
- Hot Module Replacement (HMR)
- TypeScript strict mode
- Path aliases for clean imports
- Automated error handling
This website supports multiple languages with an easy contribution workflow:
- Current Languages: English (en), Spanish (es)
- Translation Files: JSON-based translation system
- Testing: Force language with
?lang=esquery parameter
Want to contribute translations? See our Translation Contribution Guide 📝
learnpack/
├── client/ # Frontend application
│ ├── public/
│ │ ├── locales/ # Translation files
│ │ │ ├── en/ # English translations
│ │ │ └── es/ # Spanish translations
│ │ ├── plan-features.en.json
│ │ ├── plan-features.es.json
│ │ └── redirects.yml # URL redirect configuration
│ └── src/
│ ├── components/ # React components
│ ├── pages/ # Page components
│ ├── i18n/ # i18n configuration
│ └── lib/ # Utilities and helpers
├── server/ # Backend API
│ └── routes.ts # API endpoints
├── CONTRIBUTE.md # Translation contribution guide
└── README.md # This file
- Node.js 18+
- npm or yarn
- Clone the repository:
git clone https://github.com/your-org/learnpack.git
cd learnpack- Install dependencies:
npm install- Set up environment variables:
# Create .env file with:
VITE_LEARNPACK_PLATFORM=https://app.learnpack.co
VITE_LEARNPACK_CREATOR=https://app.learnpack.co
VITE_BREATHCODE_API_TOKEN=your_token_here
VITE_BREATHCODE_ACADEMY_ID=54
VITE_GA_MEASUREMENT_ID=your_ga_id- Run the development server:
npm run dev- Open http://localhost:5000 in your browser
To test different languages, append the lang query parameter:
- English:
http://localhost:5000/?lang=en - Spanish:
http://localhost:5000/?lang=es
npm run dev # Start development server
npm run build # Build for production
npm run preview # Preview production build
npm run lint # Run ESLint
npm run type-check # Check TypeScript types/- Homepage with hero, value props, social proof, and CTAs/pricing- Dynamic pricing page with BreathCode API integration/our-mission- Company mission and vision/terms-and-conditions- Legal terms/privacy-policy- Privacy policy
We welcome contributions! Here's how you can help:
Want to help translate the website or fix translation issues?
👉 Read our Translation Contribution Guide (CONTRIBUTE.md)
The guide covers:
- How to edit existing translations
- Adding new languages
- Testing your changes
- Submitting pull requests
- Translation best practices
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
Found a bug or have a suggestion? Open an issue
Required environment variables:
| Variable | Description | Default |
|---|---|---|
VITE_LEARNPACK_PLATFORM |
Main platform URL for auth/signup | https://app.learnpack.co |
VITE_LEARNPACK_CREATOR |
Creator tool URL | https://app.learnpack.co |
VITE_BREATHCODE_API_TOKEN |
BreathCode API authentication token | - |
VITE_BREATHCODE_ACADEMY_ID |
Academy ID for pricing data | 54 |
VITE_GA_MEASUREMENT_ID |
Google Analytics measurement ID | - |
This website is optimized for performance:
- ⚡ Lighthouse Score: 95+ on all metrics
- 🎯 Core Web Vitals: Optimized LCP, FID, CLS
- 📦 Code Splitting: Lazy-loaded components
- 🖼️ Image Optimization: WebP with fallbacks
- 🔄 Caching: Intelligent cache strategies
| Language | Code | Status | Contribute |
|---|---|---|---|
| English | en |
✅ Complete | CONTRIBUTE.md |
| Spanish | es |
✅ Complete | CONTRIBUTE.md |
| French | fr |
⏳ Planned | Help us! |
| German | de |
⏳ Planned | Help us! |
Want to add your language? Check our contribution guide!
- Chrome (last 2 versions)
- Firefox (last 2 versions)
- Safari (last 2 versions)
- Edge (last 2 versions)
- Website: learnpack.co
- Documentation: docs.learnpack.co
- Platform: app.learnpack.co
- Support: [email protected]
This project is proprietary software. All rights reserved.
- Built with ❤️ by the LearnPack team
- Design inspiration from modern SaaS platforms
- Translation contributors from around the world
Need help with translations? → CONTRIBUTE.md
Found a bug? → Open an issue
Have questions? → Contact us