Подсветка свежих или недавно обновлённых постов

This commit is contained in:
Иван Кузьменко 2025-09-30 07:11:32 +03:00
parent 3c55a37ed8
commit 2e99b04261
2 changed files with 59 additions and 15 deletions

View file

@ -1,6 +1,7 @@
import path from 'path';
export const THUMBNAIL_DEFAULT = "https://teasanctuary.ru/common/background-day.webp";
export const BLOG_POST_FRESHNESS_MILLIS = 3 * 24 * 60 * 60 * 1000; // 3 дня
export type PostComparer = (a: App.BlogPost, b: App.BlogPost) => number;