import { Article, Category, Section } from '@/types/content-types' import Link from 'next/link' export function Breadcrumb({ section, category, article, }: { section?: Section category?: Category article?: Article }) { return (
tldraw {section && ( <> {` / `} {section.title} {category && ( <> {category.id === 'ucg' ? null : ( <> {` / `} {category.title} )} {article && ( <> {` / `} {article.title} )} )} )}
) }