first day of vibe coding

This commit is contained in:
k
2026-04-20 22:11:18 +08:00
commit 1747fc489f
38 changed files with 15267 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
'use client'
interface PillProps {
active: boolean
onClick: () => void
children: React.ReactNode
}
export default function Pill({ active, onClick, children }: PillProps) {
return (
<button
onClick={onClick}
className={
`rounded-full px-3 py-1 text-xs transition-colors ` +
(active
? 'bg-[#141414] text-white border border-[#222222]'
: 'text-[#555555] border border-[#141414] hover:text-white')
}
>
{children}
</button>
)
}