A modern, responsive web application designed to display prayer times, announcements, and Islamic content for mosque displays. Built with React and Material-UI, it features a responsive design that adapts to various screen sizes and orientations.
-
π Prayer Times Display
- Real-time prayer time updates
- Countdown timer to next prayer
- Hijri date conversion
- Dynamic updates based on location
-
π± Responsive Design
- Adapts to different screen sizes and orientations
- Dynamic text scaling for optimal readability
- No scrolling required - fits all content on screen
- Optimized for mosque display screens
-
π’ Content Features
- Hadith of the Day display
- Announcement banner
- Custom content management
- Rich text editing support
-
β‘ Performance
- PWA support with offline capabilities
- Optimized for 24/7 display operation
- Smooth animations and transitions
- Efficient resource management
- Frontend Framework: React 18 with TypeScript
- UI Components: Material-UI (MUI) v5
- State Management: React Context + Hooks
- Styling: Emotion (CSS-in-JS)
- Date Handling: Moment.js with Hijri support
- Text Editor: TipTap
- Animations: Framer Motion
- Build Tool: Create React App
-
Clone the repository
git clone [repository-url] cd masjidscreen
-
Install dependencies
npm install
-
Start the development server
npm start
The application will run on
http://localhost:3000
-
Build for production
npm run build
src/
βββ assets/ # Images and static assets
βββ components/ # Reusable UI components
βββ hooks/ # Custom React hooks
βββ pages/ # Page components
βββ state/ # Global state management
βββ utils/ # Utility functions
Create a .env
file in the root directory:
REACT_APP_API_URL=your_api_url
- Chrome (recommended for display screens)
- Firefox
- Safari
- Edge
- 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
This project is licensed under the MIT License.