Skip to content

Commit 57b2e4c

Browse files
committed
Updated gamejam page
1 parent db75be3 commit 57b2e4c

File tree

2 files changed

+42
-14
lines changed

2 files changed

+42
-14
lines changed

src/static/css/devcade.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,6 @@ img.header {
232232

233233
#gamejam-flyer-wrapper {
234234
grid-area: a;
235-
display: flex;
236235
align-items: center;
237236
}
238237

src/templates/gamejam.html

Lines changed: 42 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
{% extends "header.html" %} {% block headertext %}{%endblock%}
22
{% block content %}
33

4+
<h1 id="countdown" style="text-align:center; font-size:1.5em;">Time Left to Submit: </h1>
5+
46
<div id="gamejamGrid">
57
<div id="gamejam-flyer-wrapper" class="subcontent">
8+
<h2>Important Dates</h2>
9+
<p>Submission Deadline: April 14th 5pm</p>
10+
<p>Closing Ceremony: April 16th 4pm</p>
11+
<p></p>
612
<a href="{{ url_for('static', filename='files/GamejamFlyer.pdf') }}">
713
<img style="width: 100%" src="{{ url_for('static', filename='images/GamejamFlyer.png') }}">
814
</a>
@@ -20,30 +26,53 @@ <h2>About the Gamejam</h2>
2026
be submitted for the gamejam.
2127
</p>
2228
<p>
23-
Food will be provided for all in-person work sessions. Please fill out the below interst form if you
24-
plan on attending to let us know of any dietary restrictions you may have.
29+
All participants are encouraged to build their games using either the
30+
<a target="_blank" href="https://www.monogame.net/">Monogame</a> framework (C#) or the
31+
<a target="_blank" href="https://bevyengine.org/">Bevy</a> engine (Rust). To learn more about using
32+
Devcade with Monogame or Bevy, check out the
33+
<a href="https://devcade-docs.csh.rit.edu/#/Getting-started/">Getting Started</a> page on the Devcade Docs.
2534
</p>
2635
<p>
2736
There are $700 of prizes available to win, including an <i>Elgato StreamDeck+, Raspberry Pi 4Bs,
28-
a Wacom Drawing Tablet, Visa Prepaid Gift Cards, and many more</i>!
37+
a Wacom Drawing Tablet, and many more</i>!
2938
</p>
30-
<p></p>
31-
<a class="btn btn-red" target="_blank" href="https://forms.gle/hkzAfMA8CDTy2Cn18">Interested in participating?</a>
3239
</div>
3340
<div id="gamejam-details-wrapper" class="subcontent">
34-
<h2>What do I need to know before attending?</h2>
41+
<h2>How can I participate?</h2>
3542
<p>
36-
If you plan on attending, please fill out the above interest form and we will reach out to you
37-
with further information! If you feel you need to reach out to us, send us an email at
38-
<a href="mailto:[email protected]">[email protected]</a>.
43+
The gamejam has already started but it's not too late to start participating! Anyone can
44+
join the gamejam Discord server to ask questions and stay updated.
3945
</p>
4046
<p>
41-
All participants are required to build their games using either the
42-
<a target="_blank" href="https://www.monogame.net/">Monogame</a> framework (C#) or the
43-
<a target="_blank" href="https://bevyengine.org/">Bevy</a> engine (Rust). We will be presenting (and recording)
44-
seminars on the fundamentals and build processes of both.
47+
<a href="https://discord.gg/mxg7uY2e">Join the Discord!</a>
48+
</p>
49+
<p>
50+
Please reach out to us via the Discord or by email at
51+
<a href="mailto:[email protected]">[email protected]</a> if you have any questions!
4552
</p>
4653
</div>
4754
</div>
4855

56+
<script>
57+
var cdDate = new Date("Apr 14, 2023 21:00:00").getTime(); // 9pm UTC == 5pm EST
58+
59+
var count = setInterval(function() {
60+
var now = new Date().getTime();
61+
62+
var timeleft = cdDate - now;
63+
64+
var days = Math.floor(timeleft / (1000 * 60 * 60 * 24));
65+
var hours = Math.floor((timeleft % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
66+
var minutes = Math.floor((timeleft % (1000 * 60 * 60)) / (1000 * 60));
67+
var seconds = Math.floor((timeleft % (1000 * 60)) / 1000);
68+
69+
document.getElementById("countdown").innerHTML = "Time Left to Submit: " + days + "d " + hours + "h " + minutes + "m " + seconds + "s ";
70+
71+
if (timeleft < 0) {
72+
clearInterval(count);
73+
document.getElementById("countdown").innerHTML = "Gamejam Ended! Thank you to all who participated!";
74+
}
75+
}, 1000);
76+
</script>
77+
4978
{% endblock %}

0 commit comments

Comments
 (0)