import { FolderOpen } from 'lucide-react'; import { CategoryBadge } from '../components/articles/CategoryBadge'; import { sampleArticles, sampleCategories } from '../data/sample'; /** * Categories listing page (placeholder layout). * * Renders the known categories with article counts derived from the sample * feed; the real listing will be fetched from the backend in a later * milestone. */ export function CategoriesPage() { const counts = sampleCategories.map((category) => ({ category, articleCount: sampleArticles.filter((article) => article.categoryId === category.id).length, })); return (
Browse newzy by topic. This layout is a placeholder — category pages with full article listings arrive in a later milestone.
{category.name}
/{category.slug}