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: support@learnpack.co
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