diff --git a/_config.yml b/_config.yml index dd60a8c87347dc5060827def3d1e4b63e59665e0..96c0a94c869e5d774cbec5b8704260ce35cedd04 100755 --- a/_config.yml +++ b/_config.yml @@ -22,6 +22,8 @@ navigation: url: /events - title: Headquarters url: /hq + - title: Coding Gym + url: /coding_gym - title: Contacts url: /contact diff --git a/_data/coding_gym/2019-10-29.yaml b/_data/coding_gym/2019-10-29.yaml new file mode 100644 index 0000000000000000000000000000000000000000..7fb51dff7d8a6854ed99ac7ca307d29451b9ce24 --- /dev/null +++ b/_data/coding_gym/2019-10-29.yaml @@ -0,0 +1,5 @@ +date: 2019-10-29 17:15 +room: E/F +coding_gym_url: https://coding-gym.org/events/2019-10-29-it-polimi/ +contest_url: https://www.hackerrank.com/coding-gym-polimi1019 +registration_url: https://coding-gym-polimi1019.eventbrite.it \ No newline at end of file diff --git a/_data/coding_gym/2019-11-25.yaml b/_data/coding_gym/2019-11-25.yaml new file mode 100644 index 0000000000000000000000000000000000000000..41e59eadd8b172caee1b1642c0fba408568b9327 --- /dev/null +++ b/_data/coding_gym/2019-11-25.yaml @@ -0,0 +1,5 @@ +date: 2019-11-25 17:15 +room: 5.0.3 +coding_gym_url: https://coding-gym.org/events/2019-11-25-it-polimi/ +contest_url: https://www.hackerrank.com/coding-gym-polimi1119 +registration_url: https://coding-gym-polimi1119.eventbrite.it \ No newline at end of file diff --git a/_data/coding_gym/2020-01-24.yaml b/_data/coding_gym/2020-01-24.yaml new file mode 100644 index 0000000000000000000000000000000000000000..88f924e0ae0b1f3d91b509a3ff2aceae25df48bf --- /dev/null +++ b/_data/coding_gym/2020-01-24.yaml @@ -0,0 +1,5 @@ +date: 2020-01-24 17:15 +room: 3.1.6 +coding_gym_url: https://coding-gym.org/events/2020-01-24-it-polimi/ +contest_url: https://www.hackerrank.com/coding-gym-polimi0120 +registration_url: https://coding-gym-polimi0120.eventbrite.it \ No newline at end of file diff --git a/_data/coding_gym/2020-02-26.yaml b/_data/coding_gym/2020-02-26.yaml new file mode 100644 index 0000000000000000000000000000000000000000..5db404197d7d378028b7feba1fd5dd48fe5923de --- /dev/null +++ b/_data/coding_gym/2020-02-26.yaml @@ -0,0 +1,5 @@ +date: 2020-02-26 17:15 +room: 5.0.2 +coding_gym_url: https://coding-gym.org/events/2020-02-26-it-polimi/ +contest_url: https://www.hackerrank.com/coding-gym-polimi0220 +registration_url: https://coding-gym-polimi0220.eventbrite.it \ No newline at end of file diff --git a/_plugins/values_filter.rb b/_plugins/values_filter.rb new file mode 100644 index 0000000000000000000000000000000000000000..f6772368ee76a6f598e0cd571d7a138de22e5ace --- /dev/null +++ b/_plugins/values_filter.rb @@ -0,0 +1,14 @@ +module Jekyll + module ValuesFilter + def values(input) + case + when input.instance_of?(Hash) + input.values + else + input + end + end + end +end + +Liquid::Template.register_filter(Jekyll::ValuesFilter) \ No newline at end of file diff --git a/coding_gym/coding_gym.css b/coding_gym/coding_gym.css new file mode 100644 index 0000000000000000000000000000000000000000..e5a86cf2d19842ed457c561432c4060028f8e067 --- /dev/null +++ b/coding_gym/coding_gym.css @@ -0,0 +1,87 @@ +#page { + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; +} + +#coding_gym_logo { + max-height: 200px; + margin-bottom: 50px; +} + +#sessions { + width: 100%; + display: grid; + grid-template-columns: repeat(auto-fill, 200px); + grid-gap: 20px; + justify-content: center; +} + +.session { + box-sizing: border-box; + display: flex; + flex-direction: column; + align-items: center; + justify-content: space-between; + width: 200px; + height: 200px; + flex-shrink: 0; + overflow: hidden; + font-size: 1em; + padding: 20px; + line-height: 1; + font-family: sans-serif; + text-align: center; + +} + +.session > div { + display: flex; + flex-direction: column; + align-items: center; +} + +.session > div > div { + margin: 0; +} + +.session > hr { + width: 70%; + height: 2px; + border: 0; + margin: 0; + color: #fff; + background-color: #fff; +} + +.session a { + font-size: 0.8em; + text-transform: uppercase; + color: inherit; + text-decoration: none; +} + +.session .year { + font-size: 0.8em; +} + +.session .room_caption { + font-size: 0.7em; +} + +.session.new { + background: #47c1c7; +} + +.session .time, .session .room, .session .registration_url { + display: none; +} + +.session.new .contest_url, .session.new .coding_gym_url { + display: none; +} + +.session.new .time, .session.new .room, .session.new .registration_url { + display: flex; +} \ No newline at end of file diff --git a/coding_gym/coding_gym_logo.svg b/coding_gym/coding_gym_logo.svg new file mode 100644 index 0000000000000000000000000000000000000000..b3e98a5d9670062866857a1ca4a894ff3f14df7b --- /dev/null +++ b/coding_gym/coding_gym_logo.svg @@ -0,0 +1,99 @@ + + + \ No newline at end of file diff --git a/coding_gym/index.html b/coding_gym/index.html new file mode 100644 index 0000000000000000000000000000000000000000..a5bf8d1e60087e80ca1ef70822779f2c178b4171 --- /dev/null +++ b/coding_gym/index.html @@ -0,0 +1,58 @@ +--- +layout: default +title: Coding Gym +--- + + + + + +
+ + +

«Coding Gym is a non-competitive programming lab format open to any language and + developed + for self-led improvement in technical and communication skills.»

+ +

In 2019 the POuL begins a collaboration with the association Coding Gym to + bring this interesting format inside Politecnico walls.

+ +

During the lab sessions, the attendees will organize in couples and they will try to solve a programming problem + in less than 30 minutes. At the end of the time there will be a comparison between the couples moderated by + trainers. This will be repeated for three problems.

+ +

Below, you will find the past and future Coding Gym sessions, you can register to the next ones and tackle again + the past challenges.

+ +

Sessions

+
+ {% assign sessions = site.data.coding_gym | values | order: "date" | reverse %} + {% for session in sessions %} +
+
+
{{ session.date | date: "%b %d" | upcase }}
+
{{ session.date | date: "%Y" }}
+
+
{{ session.date | date: "%H:%M" }}
+
+
Room
+
{{ session.room }}
+
+
+ registration + HackerRank contest + Coding Gym site +
+ {% endfor %} +
+
\ No newline at end of file