Files
progcode/web/fsd/pages/catalog/index.jsx
huncode 12562baeb5
Build and deploy / deploy (push) Successful in 2m39s
Implement ProgCode identity and real shared reading UI kit
2026-10-27 15:19:49 +03:00

4 lines
596 B
React

import Link from 'next/link';
import {ArticleListItem} from '../../entities/article';
export default function CatalogPage({title,articles}){return <main id="main" className="archive-page"><p className="kicker">ТЕМАТИЧЕСКИЙ ИНДЕКС</p><h1>{title}</h1><p className="large-text">Материалов по этой теме: {articles.length}. <Link href="/#journal">Перейти к поиску по всему журналу</Link>.</p><div className="journal-list">{articles.map(article=><ArticleListItem key={article.slug} article={article} shortDate={false}/>)}</div></main>}