Winner tag
This commit is contained in:
parent
2dbb64b452
commit
5ae4e20d37
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@ export default async function Home({
|
||||||
<p><small>Submitted to <a href={`/jams/jam/${submittedJam?.id}?until=${content.submitted}`}>{submittedJam?.name}</a> - {new Date(parseInt(content.submitted)).toDateString()}</small></p>
|
<p><small>Submitted to <a href={`/jams/jam/${submittedJam?.id}?until=${content.submitted}`}>{submittedJam?.name}</a> - {new Date(parseInt(content.submitted)).toDateString()}</small></p>
|
||||||
</ConditionalNull>
|
</ConditionalNull>
|
||||||
<ConditionalNull condition={submittedJam == null}>
|
<ConditionalNull condition={submittedJam == null}>
|
||||||
<p><small>Submitted on {new Date(parseInt(content.submitted)).toDateString()}</small></p>
|
<p><small>Submitted on {new Date(parseInt(content.submitted)).toDateString()} {content.winner && submittedJam != null && <>- <b>WINNER!</b></>}</small></p>
|
||||||
</ConditionalNull>
|
</ConditionalNull>
|
||||||
<p>{content.description}</p>
|
<p>{content.description}</p>
|
||||||
</div>);
|
</div>);
|
||||||
|
|
Loading…
Reference in a new issue