A comprehensive web application showcasing yoga asanas (poses) with detailed information in Polish. Built with Lit web components and modern JavaScript.
- 📚 Extensive Database: Over 80 yoga asanas organized by category
- 🖼️ Visual Reference: High-quality images for each pose
- 🇵🇱 Polish Language: Sanskrit names with Polish translations
- ℹ️ Detailed Information: Benefits and contraindications for each asana
- 📱 Responsive Design: Adaptive grid layout for all screen sizes
- ⚡ Fast Performance: Built with Vite for optimal loading times
- Pozycje stojące (Standing poses)
- Skłony do przodu (Forward bends)
- Wygięcia w tył (Backbends)
- Pozycje relaksacyjne (Relaxation poses)
- Skręty (Twists)
- Pozycje medytacyjne (Meditation poses)
- Pozycje dynamiczne (Dynamic poses)
- Pozycje równowagi (Balance poses)
- Pozycje odwrócone (Inverted poses)
npm installRun the development server with hot module replacement:
npm run devThen open your browser to http://localhost:5173 (or the URL shown in the terminal).
npm run buildnpm run previewyoga/
├── public/
│ ├── img/ # Asana images
│ └── favicon.svg # Site icon
├── src/
│ ├── components/
│ │ ├── cards.js # Main component with asanas grid
│ │ └── card.js # Individual asana card component
│ └── main.js # Application entry point
├── index.html # HTML entry point
├── package.json # Dependencies and scripts
├── vite.config.js # Vite configuration
└── README.md # This file
- Lit 3.x - Lightweight web components library
- Vite - Fast build tool and dev server
- ES Modules - Modern JavaScript module system
- CSS Grid - Responsive layout system
Each asana contains:
name- Sanskrit name (e.g., "Tadasana")polishName- Polish translation (e.g., "Pozycja góry")przeciwskazania- Contraindications and precautionskorzysci- Benefits and therapeutic effectsimage- Path to pose illustration
Main component that renders the responsive grid of all asanas. Uses Lit's repeat directive for efficient rendering.
Individual card component displaying:
- Asana image
- Sanskrit and Polish names
- Benefits
- Contraindications
Modern browsers with ES2020+ support:
- Chrome/Edge 80+
- Firefox 75+
- Safari 13.1+
This project is configured to automatically deploy to GitHub Pages using GitHub Actions.
- Push to the
mainbranch triggers automatic build and deployment - The site will be available at
https://mirafedas.github.io/yoga/
npm run buildThe built files will be in the dist/ directory.
ISC