Skip to content

Commit 3ee82a3

Browse files
authored
Merge pull request #38 from ComputerScienceHouse/feature-gamejam
Added gamejam page
2 parents ff4664f + b65a6df commit 3ee82a3

File tree

7 files changed

+106
-3
lines changed

7 files changed

+106
-3
lines changed

src/app.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,10 @@ def static_from_root():
9595
def credits():
9696
return flask.render_template('credits.html', contributors = contributors.contributors)
9797

98+
@app.route('/gamejam')
99+
def gamejam():
100+
return flask.render_template('gamejam.html')
101+
98102
@app.errorhandler(Exception)
99103
def page404(e):
100104
eCode = 500

src/static/css/devcade.css

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,17 @@ u {
9393
background-color: var(--bg);
9494
}
9595

96+
#alertBar {
97+
position: absolute;
98+
top: 3em;
99+
left: 0;
100+
height: 3em;
101+
display: flex;
102+
justify-content: center;
103+
width: 100%;
104+
background-color: var(--csh-secondary);
105+
}
106+
96107
#nav {
97108
align-items: center;
98109
color: white;
@@ -159,6 +170,7 @@ img.header {
159170

160171
#bg {
161172
height: min(100vh, 400px);
173+
margin-top: 3em;
162174
}
163175

164176
.dropdown-toggle {
@@ -200,6 +212,33 @@ img.header {
200212
"e";
201213
}
202214

215+
#gamejamGrid {
216+
display: grid;
217+
grid-gap: 1em 1em;
218+
grid-template-columns: 1fr;
219+
grid-template-rows: auto;
220+
grid-template-areas:
221+
"a"
222+
"d"
223+
"c"
224+
"b"
225+
"e";
226+
}
227+
228+
#gamejam-flyer-wrapper {
229+
grid-area: a;
230+
display: flex;
231+
align-items: center;
232+
}
233+
234+
#gamejam-details-wrapper {
235+
grid-area: c;
236+
}
237+
238+
#about-gamejam-wrapper {
239+
grid-area: b;
240+
}
241+
203242
#about-devcade-wrapper {
204243
grid-area: a;
205244
}
@@ -405,6 +444,15 @@ a:hover {
405444
"c e";
406445
}
407446

447+
#gamejamGrid {
448+
grid-template-columns: 1fr 1fr;
449+
grid-template-rows: auto auto auto auto;
450+
grid-template-areas:
451+
"b a"
452+
"c a"
453+
"e e";
454+
}
455+
408456
.navbar-toggler-icon {
409457
display: none;
410458
}

src/static/files/GamejamFlyer.pdf

875 KB
Binary file not shown.

src/static/images/GamejamFlyer.png

1.15 MB
Loading

src/templates/gamejam.html

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{% extends "header.html" %} {% block headertext %}{%endblock%}
2+
{% block content %}
3+
4+
<div id="gamejamGrid">
5+
<div id="gamejam-flyer-wrapper" class="subcontent">
6+
<a href="{{ url_for('static', filename='files/GamejamFlyer.pdf') }}">
7+
<img style="width: 100%" src="{{ url_for('static', filename='images/GamejamFlyer.png') }}">
8+
</a>
9+
</div>
10+
<div id="about-gamejam-wrapper" class="subcontent">
11+
<h2>About the Gamejam</h2>
12+
<p>
13+
The Devcade team is hosting a week-long gamejam at <a target="_blank" href="https://www.rit.edu/magic/">
14+
RIT's MAGIC Center</a>! The event is open to all RIT students, regardless of major,
15+
and will consist of in-person working sessions, workshops, and seminars.
16+
</p>
17+
<p>
18+
You're encouraged to think outside of the box with your game! Some existing Devcade games include
19+
remakes of old arcade games, while some can be best classified as art projects. All are welcome to
20+
be submitted for the gamejam.
21+
</p>
22+
<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.
25+
</p>
26+
<p>
27+
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>!
29+
</p>
30+
<p></p>
31+
<a class="btn btn-red" target="_blank" href="https://forms.gle/hkzAfMA8CDTy2Cn18">Interested in participating?</a>
32+
</div>
33+
<div id="gamejam-details-wrapper" class="subcontent">
34+
<h2>What do I need to know before attending?</h2>
35+
<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>.
39+
</p>
40+
<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.
45+
</p>
46+
</div>
47+
</div>
48+
49+
{% endblock %}

src/templates/header.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,9 @@ <h1>Devcade</h1>
104104
</div>
105105
</div>
106106
</div>
107+
<div id="alertBar">
108+
<h1>We're hosting a week-long Gamejam open to all RIT students! <b><a href="/gamejam">Learn more</a></b></h1>
109+
</div>
107110
<div class="header">
108111
<img
109112
id="bg"

src/templates/home.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,8 @@ <h2>Who are we?</h2>
3131
API and databases, some on the onboard software, and some on the physical design of the
3232
cabinet itself -- there really is something for everyone on this project.
3333
</p>
34-
<p>
35-
<a href="credits">Read more</a>
36-
</p>
34+
<p></p>
35+
<a class="btn btn-red" href="credits">Read more</a>
3736
</div>
3837
<div id="about-csh-wrapper" class="subcontent">
3938
<h2>What is CSH?</h2>

0 commit comments

Comments
 (0)