feat(specials): add curator field

This commit is contained in:
Hördle Bot
2025-11-23 02:25:45 +01:00
parent 6fd5f8ed0c
commit 2a38bce02c
6 changed files with 41 additions and 14 deletions

View File

@@ -44,17 +44,23 @@ export default async function Home() {
{/* Active Specials */}
{activeSpecials.map(s => (
<Link
key={s.id}
href={`/special/${s.name}`}
style={{
color: '#be185d', // Pink-700
textDecoration: 'none',
fontWeight: '500'
}}
>
{s.name}
</Link>
<div key={s.id} style={{ display: 'flex', flexDirection: 'column', alignItems: 'center' }}>
<Link
href={`/special/${s.name}`}
style={{
color: '#be185d', // Pink-700
textDecoration: 'none',
fontWeight: '500'
}}
>
{s.name}
</Link>
{s.curator && (
<span style={{ fontSize: '0.75rem', color: '#666' }}>
Curated by {s.curator}
</span>
)}
</div>
))}
</div>