diff --git a/_layouts/post.html b/_layouts/post.html index cb87156..10ce1f9 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -1,16 +1,64 @@ --- layout: default --- -
+
-
+
-
-
-

{{ page.title }}

-

{{page.workshop_dates}}

-
- {{ content }} +
+
+
+

ClojureBridge {{ page.city }}

+

{{ page.city }}, {{ page.country }}

+

{{ page.workshop_dates }}

+ {{ content }} +
+
+
+
+ {{ page.city }} map +

Location

+

{{ page.street }}, {{ page.city }}, {{ page.country }}

+
+

Organizer{% if page.organizers.names.size > 1 %}s{% endif %}

+

+ We are grateful for the involvement of + {{ page.organizers.names | join: ' and ' }}, + who will host this workshop, and will answer any + questions you might have before or during the workshop. +

+ + +
+
+

A huge thank you to our sponsors:

+
    + {% for sponsor in page.sponsors %} +
  • + {{ sponsor.name }} +
  • + {% endfor %} +
+
+
+
diff --git a/_plugins/md5.rb b/_plugins/md5.rb new file mode 100644 index 0000000..b4fdc0c --- /dev/null +++ b/_plugins/md5.rb @@ -0,0 +1,9 @@ +require 'digest/md5' + +module MD5 + def md5 input + Digest::MD5.hexdigest input + end +end + +Liquid::Template.register_filter MD5 diff --git a/_posts/2016-08-15-Auckland.md b/_posts/2016-08-15-Auckland.md deleted file mode 100644 index 85147fb..0000000 --- a/_posts/2016-08-15-Auckland.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -layout: post -title: "Event in Auckland" -date: 2016-08-15 11:37:37 +0200 ---- -Hello! diff --git a/_posts/2016-09-15-Berlin.md b/_posts/2016-09-15-Berlin.md deleted file mode 100644 index 40ce4c2..0000000 --- a/_posts/2016-09-15-Berlin.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -layout: post -title: "Berlin, Germany" -date: 2017-09-16 11:37:37 +0200 -workshop_dates: 16–17 September 2017 ---- -Hello! diff --git a/_posts/2017-05-05-Stockholm.md b/_posts/2017-05-05-Stockholm.md new file mode 100644 index 0000000..b909b32 --- /dev/null +++ b/_posts/2017-05-05-Stockholm.md @@ -0,0 +1,87 @@ +--- +layout: post +country: Sweden +city: Stockholm +street: Klarna AB Sveavägen 46 +latitude: 59.3371711 +longitude: 18.0623905 +date: 2018-05-05 18:00:00 +0200 +workshop_dates: 5–6 May 2018 +city_image_url: https://upload.wikimedia.org/wikipedia/commons/8/88/Stockholm_Port.jpg +organizers: + email: ClojureBridgeSE@gmail.com + names: ["Mariana Bocoi", "Josh Glover"] +accounts: +- service: github + username: ClojureBridgeSE +- service: twitter + username: ClojureBridgeSE +- service: unrecognized + username: ClojureBridgeSE +sponsors: +- name: Klarna AB + image: http://s3.amazonaws.com/clojurebridge/thumb/197/klarna-blue-black.png?1488765101 + url: https://lifeatklarna.com/ +- name: PurelyFunctional.tv + image: http://s3.amazonaws.com/clojurebridge/thumb/198/95571868-0513-11e7-80b1-f62efc8b6793.png?1489095657 + url: https://purelyfunctional.tv/ +--- + +### Description + +ClojureBridge is a free 1-day workshop aimed at increasing the participation +of women in the Clojure community. It will be held in Stockholm, on Saturday +May 6th, 2017 with an install fest on Friday May 5th, 2017 in the evening. +The workshop is intended both for those new to programming, as well as those +with some programming experience who would like to explore programming using +Clojure, a modern functional programming language. If you have a lot of +programming experience, you may find the pace a bit slow; consider joining +us as a coach! :) + +The workshop will introduce you to fundamental programming concepts and +approaches. Participants will fill out a quick survey to help us create groups +based on prior knowledge and understanding. Although participants can install +the required software for the workshop on their own, it is recommended everyone +attend on Friday to set up her programming environment. Saturday will be spent +learning and practising Clojure programming. You will be working in small +groups of around 3 attendees each. Each participant needs to bring a laptop +computer with a fairly recent operating system (Mac, Linux or Windows). If you +have questions about your hardware or you don’t have a laptop, please don’t +hesitate to send an email to the organisers before the event. + +The workshop will be held in English, but we will have a few Swedish speakers +on hand, as well. + +### Contact us + +We're on Twitter at [ClojureBridgeSE](https://twitter.com/ClojureBridgeSE). + +### Who can attend? + +The workshop is open to all women, trans*, and gender nonconforming people. + +### Code of Conduct + +The workshop provides a safe and welcoming environment for everyone, +so we will be asking all learners and event volunteers to respect our +[Code of Conduct](http://bridgefoundry.org/code-of-conduct/), which will be +strictly enforced. Our aim is that ClojureBridge Stockholm will introduce +learners to new possibilities in programming and grow the tech community +into a more diverse and interesting group. + +### Schedule + +#### Friday + +- 6:00 PM Installfest + +#### Saturday + +- 9:00 AM Doors open +- 9:30 AM Welcome and introductions +- 10:00 AM Group workshops +- 12:30 PM Lunch +- 1:30 PM Lightning talk +- 2:00 PM Group workshop +- 5:30 PM Demo +- 6:30 PM After party diff --git a/css/main.css b/css/main.css index 49a44e7..6210c18 100644 --- a/css/main.css +++ b/css/main.css @@ -1,6 +1,7 @@ body { margin: 0; font: 16px/1.4 "freight-sans-pro", "Helvetica", "Arial", sans-serif; + color: #222; } .content h1 { @@ -109,15 +110,21 @@ body { #events-list { padding: 0; list-style: none; + overflow: hidden; } #events-list li { + float: left; width: 247px; padding: 0 0 2em; background: #e9e9e9; text-align: center; } +#events-list li + li { + margin-left: 30px; +} + #events-list h3 { margin-top: 0.2em; font-weight: normal; @@ -132,11 +139,9 @@ body { #events-list .city { width: 247px; height: 247px; - background-position: center; - background-size: cover; } -#events-list img.organizer { +#events-list .organizer { margin: -40px auto 0; display: block; width: 57px; @@ -162,13 +167,21 @@ a { } h1, h2, h3, h4, h5, h6 { - margin: 0; + margin: 0.2em 0 0.5em; + color: #33343e; } img { max-width: 100%; } +.background-image { + background-position: 50%; + -webkit-background-size: cover; + -moz-background-size: cover; + background-size: cover; +} + .fa span { display: none; } @@ -194,6 +207,94 @@ img { margin-bottom: 1.0em; } +.content-0:after { + display: block; + clear: both; + content: ""; +} + +.content-1 { + float: left; + width: 50%; +} + +.content-1 .content-inner { + padding: 0 0.9375em 0 0; +} + +.content-2 { + float: right; + width: 50%; +} + +.content-2 .content-inner { + padding: 0 0 0 0.9375em; +} + +.location { + margin: -0.55em 0 0.5em; + font-size: 1.5em; + color: #33343e; +} + +.dates { + background: #e9e9e9; + padding: 0.25em 0.5em; + font-size: 90%; + color: #33343e; +} + +h3 { + margin-bottom: 0.375em; + border-bottom: 2px solid #999a9f; + padding-bottom: 0.375em; + font-size: 1.125em; +} + +.organizers { + background: #e9e9e9; + padding: 0.5em 1em; +} + +.organizers .social-media { + margin-bottom: 0; + font-weight: bold; + font-size: 90%; + color: #707178; + text-transform: uppercase; +} + +.organizers ul { + margin: 0.5em 0; + padding: 0; + list-style: none; +} + +.sponsors p { + margin: 1.5em 0 0.5em; + font-weight: 100; + font-size: 1.5em; +} + +.sponsors ul { + margin: 0; + padding: 0; + list-style: none; +} + +.sponsors li { + margin-bottom: 4px; +} + +.sponsors img { + border: 1px solid #e9e9e9; + padding: 5px; +} + +.sponsors a:hover img { + border-color: #33343e; +} + @media screen and (min-width: 640px) { #paypal-button { text-align: right; diff --git a/index.html b/index.html index 6a0f3bb..8d45d2a 100644 --- a/index.html +++ b/index.html @@ -20,24 +20,21 @@

Upcoming Events

+ {% assign upcoming_events = site.posts | where_exp: 'post', 'post.date >= site.time' %} + {% if upcoming_events.size == 0 %} +

There are no upcoming workshops.

+ {% else %}
    - - {% assign curDate = site.time | date: '%s' %} - {% for post in site.posts %} - {% assign postStartDate = post.date | date: '%s' %} - {% if postStartDate >= curDate %} -
  • -
    - -

    - {{ post.title }} -

    -

    {{ post.workshop_dates }}

  • - - {% endif %} - {% endfor %} - + {% for post in upcoming_events reversed %} +
  • +
    +
    +

    {{ post.city }}

    +

    {{ post.workshop_dates }}

  • + + {% endfor %}
+ {% endif %}