feat(layout): add animated promotional side rails

This commit is contained in:
poyrazavsever
2026-08-31 19:39:22 +03:00
parent 1fd03bf614
commit eca56fab5c
7 changed files with 737 additions and 31 deletions
+5
View File
@@ -97,6 +97,11 @@ export async function getAllAgendaArticles(locale?: string): Promise<BlogArticle
return articles.filter((article) => isNewsletterCategory(article.category));
}
export async function getLatestAgendaArticle(locale?: string) {
const articles = await getAllAgendaArticles(locale);
return articles[0] ?? null;
}
export async function getHomeBlogNews(locale?: string, limit = 3) {
const articles = await getAllBlogArticles(locale);