Skip to content

Commit a0b8826

Browse files
Implement basics of past
1 parent 995f6e4 commit a0b8826

34 files changed

+87
-28
lines changed

content/past.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
layout: past
3+
type: page
4+
---

data/past.yaml

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
- year: 2024
2-
content: >
2+
content: |
33
# USAPhO
44
TJ had 10 semi-finalists invited to take the USAPhO exam.
55
Calvin Wang and Eric Xie were awarded Silver Medals. Alexander Gu,
@@ -29,7 +29,7 @@
2929
pic: 2023-24/akshaya.png
3030

3131
- year: 2023
32-
content: >
32+
content: |
3333
# USAPhO
3434
TJ had 6 semi-finalists invited to take the USAPhO exam.
3535
David Wei received a silver medal, while Vishal Nandakumar received a bronze medal
@@ -58,7 +58,7 @@
5858
pic: 2023-24/akshaya.png
5959

6060
- year: 2022
61-
content: >
61+
content: |
6262
# USAPhO
6363
TJ had 4 semi-finalists invited to take the USAPhO exam.
6464
David Wei received an honorable mention.
@@ -86,7 +86,7 @@
8686
pic: 2021-2022/alvan.png
8787

8888
- year: 2021
89-
content: >
89+
content: |
9090
# USAPhO
9191
TJ had 5 semi-finalists invited to take the USAPhO exam.
9292
Medalist information was not released.
@@ -116,7 +116,7 @@
116116
pic: 2020-2021/nafi.jpg
117117

118118
- year: 2020
119-
content: >
119+
content: |
120120
# USAPhO
121121
TJ had 7 semi-finalists invited to take the USAPhO exam.
122122
Unfortunately, testing was not official due to Covid-19.
@@ -146,7 +146,7 @@
146146
pic: 2019-2020/rohan.jpg
147147

148148
- year: 2019
149-
content: >
149+
content: |
150150
# USAPhO
151151
TJ had 8 semi-finalists invited to take the USAPhO exam.
152152
Ryan Kim and Kevin Zhang received bronze medals while Charlie Gunn,
@@ -168,7 +168,7 @@
168168
role: Webmaster
169169

170170
- year: 2018
171-
content: >
171+
content: |
172172
# USAPhO
173173
TJ had 14 semi-finalists invited to take the USAPhO exam.
174174
Alexander Heckett received a gold medal, while Matthew Cox, Ryan Kim, and Franklyn Wang received silver medals.
@@ -190,7 +190,7 @@
190190
role: Webmaster
191191

192192
- year: 2017
193-
content: >
193+
content: |
194194
# USAPhO
195195
TJ had 19 semi-finalists invited to take the USAPhO exam.
196196
Franklyn Wang got a gold medal, while Aaditya Singh and Kody Stremick received silver medals.
@@ -213,7 +213,7 @@
213213
role: Webmaster
214214

215215
- year: 2016
216-
content: >
216+
content: |
217217
# U.S. Physics Team & Camp
218218
Charles Wang was invited to be a member of the 2016 U.S. Physics Team and will attend the camp soon, vying for a spot to represent the US at the International Physics Olympiad this summer in Switzerland.
219219
# USAPhO
@@ -246,7 +246,7 @@
246246
role: Webmaster
247247

248248
- year: 2015
249-
content: >
249+
content: |
250250
# U.S. Physics Team & Camp
251251
Shankar Balasubramanian (TJPT Captain ‘14-15), Allen Cheng, and Charles Wang were invited to be members of the 2015 U.S. Physics Team and attended the camp.
252252
@@ -257,15 +257,15 @@
257257
Samuel Hsiang placed 34th overall in Division 1, and was 1st in Region 1 as a Division 1 student. Charles Wang placed 70th overall and Shankar Balasubramanian (TJPT Captain ‘14-15) placed 73rd overall in Division 2. TJ placed 32nd overall in Division 1 and 1st in Region 1 in Division 1, while placing 12th overall in Division 2.
258258
259259
- year: 2014
260-
content: >
260+
content: |
261261
# USAPhO
262262
TJ had eleven semi-finalists invited to take the USAPhO exam. Of those, Shankar Balasubramanian (TJPT Captain ‘14-15) and Charles Wang got a gold medal, Victoria Xia and Sreenath Are got silver, and Ross Dempsey (TJPT Captain ‘15-16) got bronze.
263263
264264
# Physics Bowl
265265
Leon M. Kim placed 7th overall in Division 1, while Ross Dempsey (TJPT Captain ‘15-16) placed 8th overall. Nirmaan Shanker tied for 1st overall in Region 1 as a Division 1 student. Sreenath Are placed in the Physics Bowl Division 2 Merit Roll, with a Top 20 score overall. TJ placed 1st overall in Division 1, and tied for 3rd in Region 1 in Division 2.
266266
267267
- year: 2013
268-
content: >
268+
content: |
269269
# U.S. Physics Team & Camp
270270
Owen Gray and Kalki Seksaria were invited to be members of the 2013 U.S. Physics Team and attended the camp.
271271
@@ -276,7 +276,7 @@
276276
TJ placed 3rd overall in Region 1 in Division 2.
277277
278278
- year: 2012
279-
content: >
279+
content: |
280280
# U.S. Physics Team & Camp
281281
Samuel Nicoll was invited to be a member of the 2012 U.S. Physics Team and attended the camp.
282282
@@ -287,7 +287,7 @@
287287
Archis Bhandarkar placed 1st in Region 1 in Division 1. Kalki S. Seksaria placed 1st in Region 1 in Division 2. TJ placed 3rd overall in Division 1, while placing 1st in Region 1 in Division 2.
288288
289289
- year: 2011
290-
content: >
290+
content: |
291291
# U.S. Physics Team & Camp
292292
Stephen Eltinge and James Bradbury were invited to be members of the 2011 U.S. Physics Team and attended the camp.
293293
@@ -298,87 +298,87 @@
298298
Albert Gural placed 1st in Region 1 in Division 1. TJ placed 1st in Region 1 in Division 1 and 6th overall in Division 1.
299299
300300
- year: 2010
301-
content: >
301+
content: |
302302
# USAPhO
303303
TJ had 16 semi-finalists invited to take the USAPhO exam. Of those, James Bradbury, Albert Gural, and Samuel Nicoll got a gold medal. Zeming Lin and Mitchell Lee got silver. The remaining semi-finalists received honorable mentions.
304304
305305
# Physics Bowl
306306
Albert Gural placed 1st in Region 1 Division 1, and James Bradbury placed 3rd overall in Division 2.
307307
308308
- year: 2009
309-
content: >
309+
content: |
310310
# USAPhO
311311
TJ had 14 semi-finalists invited to take the USAPhO exam. Of those, Samuel Nicoll got a gold medal, and James Bradbury received a bronze medal.
312312
313313
# Physics Bowl
314314
TJ placed 4th overall in Region 1 in Division 1 and 7th overall in Division 2.
315315
316316
- year: 2008
317-
content: >
317+
content: |
318318
# USAPhO
319319
TJ had 13 semi-finalists invited to take the USAPhO exam. Of those, Zeming Lin and Adam Hood received silver medals.
320320
321321
# Physics Bowl
322322
TJ placed 6th overall in Region 1 Division 2.
323323
324324
- year: 2007
325-
content: >
325+
content: |
326326
# USAPhO
327327
TJ had 10 semi-finalists invited to take the USAPhO exam. Of those, Owen Gray, Zeming Lin, and Samuel Nicoll received bronze medals.
328328
329329
# Physics Bowl
330330
TJ placed 8th overall in Region 1 in Division 1.
331331
332332
- year: 2006
333-
content: >
333+
content: |
334334
# USAPhO
335335
TJ had 12 semi-finalists invited to take the USAPhO exam. Of those, Kalki Seksaria and Adam Hood received gold medals.
336336
337337
# Physics Bowl
338338
TJ placed 5th overall in Region 1 Division 1.
339339
340340
- year: 2005
341-
content: >
341+
content: |
342342
# USAPhO
343343
TJ had 9 semi-finalists invited to take the USAPhO exam. Of those, Kalki Seksaria and Adam Hood received gold medals.
344344
345345
# Physics Bowl
346346
TJ placed 10th overall in Region 1 Division 1.
347347
348348
- year: 2004
349-
content: >
349+
content: |
350350
# USAPhO
351351
TJ had 10 semi-finalists invited to take the USAPhO exam. Of those, Owen Gray received a silver medal.
352352
353353
# Physics Bowl
354354
TJ placed 5th overall in Region 1 Division 2.
355355
356356
- year: 2003
357-
content: >
357+
content: |
358358
# USAPhO
359359
TJ had 8 semi-finalists invited to take the USAPhO exam. Of those, Matthew Golden received a silver medal.
360360
361361
# Physics Bowl
362362
TJ placed 3rd overall in Region 1 Division 1.
363363
364364
- year: 2002
365-
content: >
365+
content: |
366366
# USAPhO
367367
TJ had 7 semi-finalists invited to take the USAPhO exam. Of those, Daniel Jang received a bronze medal.
368368
369369
# Physics Bowl
370370
TJ placed 2nd overall in Region 1 Division 1.
371371
372372
- year: 2001
373-
content: >
373+
content: |
374374
# USAPhO
375375
TJ had 6 semi-finalists invited to take the USAPhO exam. Of those, Jonathan Chow received a bronze medal.
376376
377377
# Physics Bowl
378378
TJ placed 1st overall in Region 1 Division 1.
379379
380380
- year: 2000
381-
content: >
381+
content: |
382382
# USAPhO
383383
TJ had 5 semi-finalists invited to take the USAPhO exam. Of those, Daniel Choi received a silver medal.
384384

layouts/page/past.html

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
{{ define "head" }}
2+
<script>
3+
$(function() {
4+
$(".floatable h1").addClass("text-blue-400 text-xl font-nunito font-thin");
5+
6+
setInterval(() => {
7+
let lineHeight = Math.abs($("#timeline li:first").offset().top - $("#timeline li:last").offset().top);
8+
$("#vertical-line").css("height", `${lineHeight}px`);
9+
}, 100);
10+
})
11+
</script>
12+
{{ end }}
13+
14+
{{ define "main" }}
15+
<div class="flex flex-col text-center bg-gradient-to-bl from-cyan-500 via-blue-400 to-teal-400 w-screen min-h-screen">
16+
{{ partial "nav" (dict "context" . "sticky" true) }}
17+
18+
<section class="flex flex-col items-center mx-auto w-full">
19+
<div class="absolute h-[97%] w-[.75vh] bg-white mt-10 mx-auto" id="vertical-line"></div>
20+
21+
<ul class="text-center w-full pt-5 m-auto" id="timeline">
22+
{{ range $.Site.Data.past }}
23+
<li class="text-center pb-7 [&>.floatable]:even:float-right [&>.floatable]:odd:float-left overflow-auto">
24+
<div class="relative text-left bg-white rounded-lg floatable max-w-[45%] m-10 mt-0 shadow-2xl shadow-gray-600">
25+
<div class="m-5">
26+
{{ transform.Markdownify .content }}
27+
{{ if isset . "officers" }}
28+
<h1>Officers</h1>
29+
<ul class="flex flex-wrap list-disc list-inside">
30+
{{ range .officers }}
31+
<li class="flex pr-3 pb-2">
32+
{{ if isset . "pic" }}
33+
<img src='{{ printf "img/team/%s" .pic | relURL }}' class="h-8 rounded-full mr-2">
34+
{{ end }}
35+
<div class="flex flex-col">
36+
<p class="text-teal-400 text-sm font-sm">{{ .name }}</p>
37+
<p class="font-sm text-sm">{{ .role }}</p>
38+
</div>
39+
</li>
40+
{{ end }}
41+
</ul>
42+
{{ end }}
43+
</div>
44+
</div>
45+
46+
<div class="absolute left-1/2 -translate-x-1/2 z-10 text-white w-8 h-8 bg-indigo-800 rounded-full flex justify-center items-center">
47+
<p class="text-xs font-nunito leading-relaxed">
48+
{{ .year }}
49+
</p>
50+
</div>
51+
</li>
52+
{{ end }}
53+
</ul>
54+
</section>
55+
</div>
56+
{{ end }}

layouts/partials/nav.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
<a class="px-5 text-white text-[2vh] font-medium" href='{{ relURL "" }}' goto="home">Home</a>
1010
<a class="px-5 text-white text-[2vh] font-medium">TJPhO</a>
1111
<a class="px-5 text-white text-[2vh] font-medium" href='{{ relURL "events" }}'>Events</a>
12-
<!-- <a class="px-5 text-white text-[2vh] font-medium">Rankings</a> -->
13-
<a class="px-5 text-white text-[2vh] font-medium">Past</a>
12+
<a class="px-5 text-white text-[2vh] font-medium" href='{{ relURL "past" }}'>Past</a>
1413
</div>
1514
<a href='{{ relURL "" }}'>
1615
<img src='{{ relURL "img/logo/whitegreen.png" }}' class="h-[4vh]">
@@ -46,7 +45,7 @@
4645
<a href='{{ relURL "events" }}' class="block py-2 px-3 text-blue-400 rounded">Events</a>
4746
</li>
4847
<li>
49-
<a href="#" class="block py-2 px-3 text-blue-400 rounded">Past</a>
48+
<a href='{{ relURL "past" }}' class="block py-2 px-3 text-blue-400 rounded">Past</a>
5049
</li>
5150
<li>
5251
<a href="#" class="block py-2 px-3 text-blue-400 rounded">A Team</a>

static/img/team/2019-2020/alex.png

79.5 KB
Loading
44.2 KB
Loading
34.6 KB
Loading
37.9 KB
Loading
59.8 KB
Loading
22.7 KB
Loading

0 commit comments

Comments
 (0)