Source identity
| Field | Recorded value |
|---|---|
| Source type | GitHub source |
| Original record | Janady13/llms-txt-hub / apps/web/components/product-hunt-badge.tsx |
| Date | Not specified in source |
| Repository | Janady13/llms-txt-hub |
| Revision | e0f4bf978d4df168369c7601d9c5f5ea89e84377 |
| Branch | main |
| Path or archive member | apps/web/components/product-hunt-badge.tsx |
| Original SHA-256 | 1e26a710d93c0270c1336f77085740aef16eade4c13714c5fdadb7f15ec01170 |
| Git blob SHA | 29416a5094cc3188895b4baead5a99c0806bc200 |
| Reading-copy SHA-256 | 1e26a710d93c0270c1336f77085740aef16eade4c13714c5fdadb7f15ec01170 |
Recovered source transcript
Download complete source text ↓15 lines · 0.5 KB
import { Trophy } from 'lucide-react'
interface ProductHuntBadgeProps {
type: 'product-of-the-day' | 'developer-tools'
}
export function ProductHuntBadge({ type }: ProductHuntBadgeProps) {
return (
<div className="inline-flex items-center gap-2 bg-white text-[#DA552F] px-4 py-2 rounded-full text-sm font-medium">
<Trophy className="size-4" />
{type === 'product-of-the-day' ? '#1 Product of the Day' : '#1 Developer Tools'}
</div>
)
}