import { Category, Section } from '@/types/content-types'
import Link from 'next/link'
export function Breadcrumb({ section, category }: { section?: Section; category?: Category }) {
return (
{section && (
<>
{section.title && section.id === 'getting-started' ? (
section.title
) : (
{section.title}
)}
{category && (
<>
{category.id === section.id + '_ucg' ? null : (
<>
{` / `}
{category.title}
>
)}
>
)}
>
)}
)
}