Fire Tablet
A beautiful, interactive presentation of the Fire Tablet as a responsive slide show with elegant book-like design and smooth transitions
๐
January 2024๐ป JavaScript00
ReactTailwindCSSJavaScriptCSS3HTML5GitHub PagesResponsive DesignAnimations
reactfrontendui-uxspiritualpresentationresponsiveanimationstailwindcss
Fire Tablet
A beautiful, interactive presentation of the Fire Tablet as a responsive slide show. Each verse is presented on an elegantly styled page inspired by ancient religious manuscripts.
โจ Features
- Elegant Book-like Design: Pages styled to resemble ancient religious manuscripts with decorative elements
- Smooth Transitions: Gentle fade animations between slides for a meditative experience
- Responsive Layout: Adapts beautifully to all screen sizes from mobile to desktop
- Touch Navigation: Swipe support for mobile devices with visual indicators
- Keyboard Navigation: Use arrow keys for quick navigation
- Consistent Page Size: Fixed dimensions with scrollable content for longer verses
- Decorative Typography: Custom styling for first letters and beautiful font combinations
- Progress Tracking: Subtle page numbering and estimated reading time
๐ Getting Started
Prerequisites
- Node.js (v12.0 or higher recommended)
- npm or yarn
Installation
-
Clone the repository:
git clone https://github.com/vramdhanie/fire.git cd fire
-
Install dependencies:
npm install # or yarn install
-
Start the development server:
npm start # or yarn start
-
Open your browser and visit
http://localhost:3000
๐ฎ Usage
- Click on the page or use right arrow key to move to the next verse
- Left arrow key to move to the previous verse
- On mobile, swipe left to go to the next verse or swipe right to go to the previous verse
- Use the navigation buttons at the top or bottom to navigate between verses
- The reset button (โบ) returns to the first verse
๐ป Technologies Used
- React - Frontend library
- TailwindCSS - Utility-first CSS framework
- React Transition Group - Animation library
- Google Fonts - EB Garamond, Cinzel Decorative, and Tangerine fonts
๐๏ธ Project Structure
fire/
โโโ public/ # Static files
โโโ src/ # Source code
โ โโโ assets/ # CSS and other assets
โ โ โโโ main.css # Main TailwindCSS file
โ โ โโโ religious-theme.css # Custom styling
โ โ โโโ transitions.css # Animation definitions
โ โโโ App.js # Main application component
โ โโโ slide.js # Slide component
โ โโโ controls.js # Navigation controls
โ โโโ tablet.js # Fire Tablet text content
โโโ package.json # Dependencies and scripts
โโโ tailwind.config.js # TailwindCSS configuration
๐จ Design Features
Manuscript Styling
- Ancient aesthetic: Inspired by religious manuscripts and illuminated texts
- Decorative elements: Ornate borders and typography flourishes
- Typography: Beautiful font combinations with custom styling
- Color palette: Warm, meditative colors suitable for spiritual content
Responsive Design
- Mobile-first approach: Optimized for touch devices
- Adaptive layouts: Content adjusts to different screen sizes
- Touch gestures: Swipe navigation for mobile users
- Keyboard support: Full keyboard navigation for desktop users
Animations
- Smooth transitions: Gentle fade effects between slides
- Performance optimized: Hardware-accelerated animations
- Accessibility: Respects user's motion preferences
- Progressive enhancement: Works without JavaScript
๐ Deployment
The application is deployed using GitHub Pages. To deploy your own version:
npm run deploy
# or
yarn deploy
๐ฏ User Experience
Navigation
- Intuitive controls: Clear visual indicators for navigation
- Progress tracking: Users know where they are in the presentation
- Multiple input methods: Click, keyboard, and touch support
- Reset functionality: Easy return to the beginning
Accessibility
- Keyboard navigation: Full keyboard support
- Screen reader friendly: Proper semantic HTML structure
- Motion preferences: Respects user's animation settings
- High contrast: Readable text in various lighting conditions
Performance
- Optimized assets: Efficient image and font loading
- Smooth animations: 60fps transitions
- Responsive images: Appropriate sizing for different devices
- Minimal dependencies: Lightweight bundle size
๐ค Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
๐ License
This project is licensed under the MIT License - see the LICENSE file for details.
๐ Acknowledgements
- The Fire Tablet text is from Bahรก'รญ Prayers
- Inspired by ancient manuscript design traditions
- Built with modern web technologies for accessibility and performance
Made with โค๏ธ by Vincent Ramdhanie