feat: серии + count-up в Stats
- SeriesGrid: карточки серий с иконками (Sparkles/Plug/Zap/Layers) и цветовыми темами - /series/[slug]: страница серии с интро и сеткой статей в порядке из article_ids - Stats: count-up анимация (easeOutQuart 1.2s) при появлении в viewport через IntersectionObserver - sitemap.xml: добавлены /notes и все серии
This commit is contained in:
@@ -42,6 +42,16 @@ export async function getLive() {
|
||||
catch { return null; }
|
||||
}
|
||||
|
||||
export async function listSeries() {
|
||||
try { return await call('/api/series', { cache: 'no-store' }); }
|
||||
catch { return []; }
|
||||
}
|
||||
|
||||
export async function getSeries(slug) {
|
||||
try { return await call(`/api/series/${slug}`, { cache: 'no-store' }); }
|
||||
catch { return null; }
|
||||
}
|
||||
|
||||
export async function listNotes({ limit = 20 } = {}) {
|
||||
try { return await call(`/api/notes?limit=${limit}`, { cache: 'no-store' }); }
|
||||
catch { return []; }
|
||||
|
||||
Reference in New Issue
Block a user