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:
Alexey Pavlov
2026-05-31 10:10:18 +03:00
parent c27985614e
commit 03c10eab6e
6 changed files with 232 additions and 20 deletions
+10
View File
@@ -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 []; }