feat(home): display curator in upcoming specials
This commit is contained in:
@@ -70,6 +70,7 @@ export default async function Home() {
|
|||||||
Coming soon: {upcomingSpecials.map(s => (
|
Coming soon: {upcomingSpecials.map(s => (
|
||||||
<span key={s.id} style={{ marginLeft: '0.5rem' }}>
|
<span key={s.id} style={{ marginLeft: '0.5rem' }}>
|
||||||
★ {s.name} ({s.launchDate?.toLocaleDateString()})
|
★ {s.name} ({s.launchDate?.toLocaleDateString()})
|
||||||
|
{s.curator && <span style={{ fontStyle: 'italic', marginLeft: '0.25rem' }}>Curated by {s.curator}</span>}
|
||||||
</span>
|
</span>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user