feat: Add more pages

This commit is contained in:
2025-06-06 16:08:15 +03:00
parent f2aab1ab33
commit d74789a0d8
67 changed files with 3491 additions and 787 deletions

View File

@@ -25,10 +25,19 @@ class ArticlesStore {
en: [],
zh: [],
};
articleList: Article[] = [];
articleData: Article | null = null;
articleMedia: Media | null = null;
articleLoading: boolean = false;
getArticleList = async () => {
const response = await authInstance.get("/article");
runInAction(() => {
this.articleList = response.data;
});
};
getArticles = async (language: Language) => {
this.articleLoading = true;
const response = await authInstance.get("/article");