this was bothering me
This commit is contained in:
parent
dd0225fea4
commit
49d886a6f2
1 changed files with 2 additions and 0 deletions
|
@ -113,12 +113,14 @@ export default async function Home({
|
|||
<ConditionalNull condition={existingUser?.admin || jam.author_id == jam.id}><p><a href={`/jams/delete/jam/${jam.id}`}>Delete jam</a></p></ConditionalNull>
|
||||
</div>
|
||||
</ConditionalNull>
|
||||
<br />
|
||||
<div style={{textAlign: 'center'}}>
|
||||
<p>The theme is:</p>
|
||||
<h1>{jam.theme || "To be announced"}</h1>
|
||||
<p>{jam.theme_description || "Something exciting, maybe?"}</p>
|
||||
<ConditionalNull condition={existingUser != null && started && !ended}><p><a href={`/jams/new/content/${jam.id}`}>Submit something</a></p></ConditionalNull>
|
||||
</div>
|
||||
<br />
|
||||
<ConditionalNull condition={contentWinners.length > 0}>
|
||||
<h1>Winners</h1>
|
||||
{contentWinners.map(async (content:JSONContentTable) => {
|
||||
|
|
Loading…
Reference in a new issue