mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-19 08:05:20 +00:00
- refactored all markdown content as a shared library for use across both the ArtCraft website and the app (FAQ, tutorials, news) - added a news page to the website - added a news & updates option to the app's bottom right help context menu Instructions to add and build News Posts for both the site and app is in ``NEWS_POSTS.md`` but in short: - To add a new news post, create an .md file in ``libs/markdown-content/src/lib/content/news/`` folder - Restart the artcraft-website dev server after adding new posts (or in /frontend directory, run ``node scripts/generate-news-json.mjs`` manually) - this will update the public ``news.json`` file on the website. - This is just a temporary workaround - this way if the ArtCraft app itself hasn't updated, it'll still be able to load the latest public ``news.json`` file from the website to show within the app.
6 lines
191 B
TypeScript
6 lines
191 B
TypeScript
export * from './lib/markdown-content';
|
|
export * from './lib/pages/NewsIndex';
|
|
export * from './lib/pages/NewsPost';
|
|
export * from './lib/data/content';
|
|
export * from './lib/utils/markdown';
|