A multilingual (LTR/RTL) blog built with Next.js 15, TypeScript, MUI, TailwindCSS, and React Query.
Supports dark/light mode, language switching, and mock API endpoints for development.
- Multi-language support (English / Arabic) with LTR & RTL layout.
- Dark / Light mode with persistent preference.
- Material UI + TailwindCSS for flexible styling.
- React Query for data fetching and caching.
- Mock posts API for local development.
Clone the repository:
git clone https://github.com/YOUR-USERNAME/YOUR-REPO-NAME.git
cd YOUR-REPO-NAMEInstall dependencies:
npm installnpm run devOpen your browser and navigate to http://localhost:3000.
- The app supports both English and Arabic.
- You can switch languages by changing the URL path (e.g.,
/enfor English,/arfor Arabic).
- The app supports dark and light mode.
- You can toggle between modes using the button in the top right corner.
- The app uses a mock API for posts.
- The API is set up to return a list of posts in both languages.