Tempt users? IDK

This commit is contained in:
MeowcaTheoRange 2024-04-25 14:40:19 -05:00
parent dce60ed63e
commit fda1af7c18

View file

@ -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>
</div>
</ConditionalNull>
<ConditionalNull condition={jam.theme != ""}>
<div style={{textAlign: 'center'}}>
<p>The theme is:</p>
<h1>{jam.theme}</h1>
<p>{jam.theme_description}</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>
</ConditionalNull>
<h1>Submissions</h1>
{content.map(async (content:JSONContentTable) => {
let contentOwner = await db