This project is a blog built with Remix, using MDX for content and supporting i18n.
https://blog-patient-pond-7135.fly.dev/
- The blog is based on Remix framework
- Content is written in MDX format
- PandaCSS is used for styling
- ParkUI is used for the UI components
- Internationalization (i18n) is implemented for multiple language support
- All content is located in the
content/{lang}
directory - Blog posts are specifically stored in
content/{lang}/blog
Spin up the Vite dev server:
npm run dev
Or build your app for production and run it:
npm run build
npm run start
- Create a new MDX file in the appropriate language folder under
app/content/{lang}/blog
- Write your content using MDX syntax
- The new content will be automatically picked up by the blog system
- Create a new MDX file in the appropriate language folder under
app/content/{lang}
- Write your content using MDX syntax
- Create a new route in
app/routes
- Import the MDX file in the route loader by using the
getPost
function - ???
- Profit
To add support for a new language:
- Create a new folder under
content/
with the language code (e.g.,content/fr
for French) - Add translated content files to this new folder
- Update your i18n configuration to include the new language
For more information on deploying Remix apps, refer to the Remix deployment documentation.
Inspired by Remix-vite-i18next and Remix blog mdx