refactor: Update component structure to use behavior and stack attributes, enhancing clarity and functionality across services, tools, and frontends

This commit is contained in:
2026-02-23 16:32:55 -08:00
parent 3343e955fd
commit 56b9c8ddf1
45 changed files with 698 additions and 667 deletions

View File

@@ -0,0 +1,11 @@
import { stackLabel } from "@/lib/labels"
export function StackBadge({ stack }: { stack: string | null }) {
if (!stack) return null
return (
<span className="text-[0.65rem] font-mono px-1.5 py-0.5 rounded bg-[var(--border)] text-[var(--muted)]">
{stackLabel(stack)}
</span>
)
}