Tempt users? IDK
This commit is contained in:
parent
dce60ed63e
commit
fda1af7c18
1 changed files with 2 additions and 4 deletions
|
@ -104,14 +104,12 @@ 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>
|
<ConditionalNull condition={existingUser?.admin || jam.author_id == jam.id}><p><a href={`/jams/delete/jam/${jam.id}`}>Delete jam</a></p></ConditionalNull>
|
||||||
</div>
|
</div>
|
||||||
</ConditionalNull>
|
</ConditionalNull>
|
||||||
<ConditionalNull condition={jam.theme != ""}>
|
|
||||||
<div style={{textAlign: 'center'}}>
|
<div style={{textAlign: 'center'}}>
|
||||||
<p>The theme is:</p>
|
<p>The theme is:</p>
|
||||||
<h1>{jam.theme}</h1>
|
<h1>{jam.theme || "To be announced"}</h1>
|
||||||
<p>{jam.theme_description}</p>
|
<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>
|
<ConditionalNull condition={existingUser != null && started && !ended}><p><a href={`/jams/new/content/${jam.id}`}>Submit something</a></p></ConditionalNull>
|
||||||
</div>
|
</div>
|
||||||
</ConditionalNull>
|
|
||||||
<h1>Submissions</h1>
|
<h1>Submissions</h1>
|
||||||
{content.map(async (content:JSONContentTable) => {
|
{content.map(async (content:JSONContentTable) => {
|
||||||
let contentOwner = await db
|
let contentOwner = await db
|
||||||
|
|
Loading…
Reference in a new issue