({ tag, label }: { tag?: string; label?: string })
| 23 | } |
| 24 | |
| 25 | function Eyebrow({ tag, label }: { tag?: string; label?: string }) { |
| 26 | if (!tag && !label) { |
| 27 | return null; |
| 28 | } |
| 29 | |
| 30 | return ( |
| 31 | <div className="flex items-center gap-x-3"> |
| 32 | {tag && <Tag>{tag}</Tag>} |
| 33 | {tag && label && ( |
| 34 | <span className="h-0.5 w-0.5 rounded-full bg-zinc-300 dark:bg-zinc-600" /> |
| 35 | )} |
| 36 | {label && ( |
| 37 | <span className="font-mono text-xs font-bold text-muted-foreground"> |
| 38 | {label} |
| 39 | </span> |
| 40 | )} |
| 41 | </div> |
| 42 | ); |
| 43 | } |
| 44 | |
| 45 | function Anchor({ |
| 46 | id, |
nothing calls this directly
no outgoing calls
no test coverage detected