Skip to content

Commit 79fa40f

Browse files
committed
Add team page
1 parent 8a2ec51 commit 79fa40f

26 files changed

Lines changed: 297 additions & 38 deletions

data/team.json

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
{
2+
"contributors": [
3+
{
4+
"name": "John Yang",
5+
"role": "Co-Lead",
6+
"link": "https://john-b-yang.github.io/"
7+
},
8+
{
9+
"name": "Kilian Lieret",
10+
"role": "Co-Lead",
11+
"link": "https://www.lieret.net/"
12+
},
13+
{
14+
"name": "Joyce Yang",
15+
"role": "Contributor",
16+
"link": "https://joycebyang.github.io/"
17+
},
18+
{
19+
"name": "Carlos E. Jimenez",
20+
"role": "Contributor",
21+
"link": "https://www.carlosejimenez.com/#about"
22+
},
23+
{
24+
"name": "Ofir Press",
25+
"role": "Advisor",
26+
"link": "https://ofir.io/"
27+
},
28+
{
29+
"name": "Ludwig Schmidt",
30+
"role": "Advisor",
31+
"link": "https://people.csail.mit.edu/ludwigs/"
32+
},
33+
{
34+
"name": "Diyi Yang",
35+
"role": "Advisor",
36+
"link": "https://cs.stanford.edu/~diyiy/index.html"
37+
}
38+
],
39+
"sponsors": [
40+
{
41+
"name": "Laude Institute",
42+
"image": "/static/images/orgs/laude.jpg",
43+
"link": "https://www.laude.org/"
44+
},
45+
{
46+
"name": "Andreessen Horowitz",
47+
"image": "/static/images/orgs/a16z.png",
48+
"link": "https://a16z.com/"
49+
},
50+
{
51+
"name": "Open Philanthropy",
52+
"image": "/static/images/orgs/openphil.png",
53+
"link": "https://www.openphilanthropy.org/"
54+
}
55+
]
56+
}

pages/arenas/battlesnake.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
title: Battlesnake
2-
image: /static/images/arenas/battlesnake.png
2+
logo: /static/images/arenas/battlesnake.png
33
description: Snake AIs compete to survive and grow in a grid
4+
date-added: 2025-11-04
45
players: 2+
56
language: Python
6-
7-
---

pages/arenas/corewar.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
title: Core War
2-
image: /static/images/arenas/corewar.png
2+
logo: /static/images/arenas/corewar.png
33
description: Redcode warriors battle to control a virtual computer
4+
date-added: 2025-11-04
45
players: 2+
56
language: RedCode
6-
7-
---
8-

pages/arenas/halite.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
title: Halite
2-
image: /static/images/arenas/halite.png
2+
logo: /static/images/arenas/halite.png
33
description: Distribute resources wisely to conquer territory
4+
date-added: 2025-11-04
45
players: 2+
5-
language: C, C++, OCaml, Rust
6-
7-
---
6+
language: C, Cplusplus, OCaml, Rust

pages/arenas/poker.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
title: Poker
2-
image: /static/images/arenas/poker.png
2+
logo: /static/images/arenas/poker.png
33
description: No Limit Texas Hold'em with 2+ players
4+
date-added: 2025-11-04
45
players: 2+
56
language: Python
6-
7-
---

pages/arenas/robocode.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
title: RoboCode
2-
image: /static/images/arenas/robocode.png
2+
logo: /static/images/arenas/robocode.png
33
description: Tank combat - outlast and outgun opponents
4+
date-added: 2025-11-04
45
players: 2+
56
language: Java
6-
7-
---

pages/arenas/robotrumble.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
title: RobotRumble
2-
image: /static/images/arenas/robotrumble.png
2+
logo: /static/images/arenas/robotrumble.png
3+
preview: /static/images/arenas/robotrumble_gif.gif
34
description: Program swarms to overwhelm opponents
5+
date-added: 2025-11-04
46
players: 2
57
language: JavaScript, Python
6-
7-
<div style="display:flex;flex-direction:column;align-items:center;text-align:center;">
8-
<img src="/static/images/arenas/robotrumble_gif.gif" style="width:50%; display:block;" alt="RobotRumble preview"/>
9-
<p style="font-size:0.9em; margin-top:0.5em;width:50%;">Write logic that controls a swarm of robots to carry out coordinated attacks against an opposing swarm.</p>
10-
</div>

server.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,11 @@ def index():
3838
def page(path):
3939
return render_template('page.html', page=pages.get_or_404(path))
4040

41-
@app.route('/about/')
42-
def about():
43-
return render_template('about.html')
44-
4541
@app.route('/team/')
4642
def team():
47-
return render_template('team.html')
43+
with open("data/team.json") as f:
44+
team_data = json.load(f)
45+
return render_template('team.html', data=team_data)
4846

4947
@app.route('/insights/')
5048
def insights():

static/css/layout.css

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,3 +121,39 @@ body {
121121
@media (max-width: 540px) {
122122
.arenas-grid { grid-template-columns: 1fr; }
123123
}
124+
125+
/* Team grid - layout only */
126+
.team-grid {
127+
display: grid;
128+
grid-template-columns: repeat(4, 1fr);
129+
/* gap: 1rem; */
130+
/* padding: 1rem; */
131+
}
132+
133+
.team-card {
134+
display: block;
135+
padding: 1.5rem;
136+
border: 1px solid #e5e7eb;
137+
text-decoration: none;
138+
color: inherit;
139+
cursor: pointer;
140+
background-color: white;
141+
}
142+
143+
.team-card:hover {
144+
transform: translateY(-4px);
145+
/* box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15); */
146+
}
147+
148+
.team-name {
149+
font-weight: var(--weight-semibold);
150+
margin-bottom: 0.25rem;
151+
}
152+
153+
@media (max-width: 900px) {
154+
.team-grid { grid-template-columns: repeat(3, 1fr); }
155+
}
156+
157+
@media (max-width: 600px) {
158+
.team-grid { grid-template-columns: repeat(2, 1fr); }
159+
}

static/images/languages/c.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)