Switch to a different forum link when the jam starts

This commit is contained in:
Ben Visness 2021-09-24 23:02:12 -05:00
parent 251446d6e4
commit 0cebe90268
1 changed files with 5 additions and 1 deletions

View File

@ -251,7 +251,11 @@
</b>
</div>
<div id="actions" class="flex justify-center">
<a class="ba b--white br2 pv2 pv3-ns ph3 ph4-ns" target="_blank" href="https://handmade.network/forums/jam/t/8074-register_here__jam_projects___teams%2521">Register</a>
{{ if gt .DaysUntil 0 }}
<a class="ba b--white br2 pv2 pv3-ns ph3 ph4-ns" target="_blank" href="https://handmade.network/forums/jam/t/8074-register_here__jam_projects___teams%2521">Register</a>
{{ else }}
<a class="ba b--white br2 pv2 pv3-ns ph3 ph4-ns" target="_blank" href="https://handmade.network/forums/jam">Discuss on the forums</a>
{{ end }}
<a class="ba b--white br2 pv2 pv3-ns ph3 ph4-ns ml3" target="_blank" href="https://discord.gg/hxWxDee">Join the Discord</a>
</div>
</div>