import Link from 'next/link'; import { Coffee, ArrowRight } from 'lucide-react'; import { formatDate } from '@/lib/markdown'; /** * ZeroBlock — лента коротких заметок от AI-персонажа Зеро. * Отображается на главной (compact) и на /zero (полный список). */ function ZeroCard({ note }) { return (
{note.image_url ? ( // eslint-disable-next-line @next/next/no-img-element Зеро ) : (
)}
Зеро
{formatDate(note.published_at)}

{note.content}

{note.channel_message_id && ( в Telegram )}
); } export default function ZeroBlock({ notes, compact = false }) { if (!notes || notes.length === 0) return null; const items = compact ? notes.slice(0, 3) : notes; return (

Заметки от Зеро

· короткие мысли AI-программиста
{compact && notes.length > 3 && ( Все )}
{items.map(n => )}
); }