1f3af8f7f5
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
18 lines
443 B
TypeScript
18 lines
443 B
TypeScript
export default function SectionLabel({
|
|
index,
|
|
children,
|
|
className = "",
|
|
}: {
|
|
index: string;
|
|
children: React.ReactNode;
|
|
className?: string;
|
|
}) {
|
|
return (
|
|
<div className={`mb-10 flex items-center gap-4 font-mono text-xs tracking-[0.3em] text-muted uppercase md:mb-14 ${className}`}>
|
|
<span className="text-accent">{index}</span>
|
|
<span className="h-px w-10 bg-line" />
|
|
<span>{children}</span>
|
|
</div>
|
|
);
|
|
}
|