import { useReveal, Icons, getBootstrap } from './atoms.jsx'; function NewsCard({ tag, tagType, date, title, excerpt, featured, image_url }) { const ref = useReveal(); return (
{tag} {date && {date}}
{featured && image_url && (
{title}
)} {featured && !image_url && (
[ placeholder ] · 1600×800
)}

{title}

{excerpt}

); } export default function News() { const ref = useReveal(); const posts = getBootstrap().posts || []; return (
Хроники сервера

Новости и патчноуты

{posts.length === 0 ? ( ) : (
{posts.map((p) => ( ))}
)}
); } function NewsEmpty() { const ref = useReveal(); return (

Пока новостей нет

Хроники сервера ещё не открыли первую страницу. Загляни позже — здесь появятся патчноуты, события и девблоги.

); }