From aa20bbf8d6da5a656c062f3f321f385511d96222 Mon Sep 17 00:00:00 2001 From: Lorin Werthen Date: Sat, 27 Aug 2016 20:15:00 +0200 Subject: [PATCH] styling and markup --- .../assets/stylesheets/includes/tiles.scss | 5 +- content/events/15-16/awk.md | 1 + content/index.erb | 79 +++++++++++++++++-- layouts/eventpost.erb | 20 ++--- layouts/generic.erb | 1 - layouts/partials/_navbar.erb | 5 +- layouts/partials/_tile.erb | 28 +++---- 7 files changed, 103 insertions(+), 36 deletions(-) diff --git a/content/assets/stylesheets/includes/tiles.scss b/content/assets/stylesheets/includes/tiles.scss index 722699b..14a3d75 100644 --- a/content/assets/stylesheets/includes/tiles.scss +++ b/content/assets/stylesheets/includes/tiles.scss @@ -1,5 +1,8 @@ -.notification.is-info { +.notification.is-info, +.notification.is-success, +.notification.is-primary { .content { + color: white; h1 { color: white; font-weight: bold; diff --git a/content/events/15-16/awk.md b/content/events/15-16/awk.md index 3a49a7a..bf4c6e0 100644 --- a/content/events/15-16/awk.md +++ b/content/events/15-16/awk.md @@ -1,6 +1,7 @@ --- title: AWK-les banner: https://zeus.ugent.be/wp-content/uploads/2016/02/awkles-768x1007.jpg +description: Een AWK-les voor AWK gerelateerde dingen created_at: 01-02-2016 time: 23-02-2016 location: Auditorium A1, Campus Sterre, Gebouw S9 diff --git a/content/index.erb b/content/index.erb index d2432f2..35b85b6 100644 --- a/content/index.erb +++ b/content/index.erb @@ -1,16 +1,83 @@
-
- <%= render '/partials/_tile.*', article: sorted_articles[0] %> +
+ <%= render '/partials/_tile.*', article: all_events[0] %>
- <% sorted_articles[1..-1].each do |article| %>
-
- <%= render '/partials/_tile.*', article: article %> +
+ <%= render '/partials/_tile.*', article: all_events[1] %> +
+
+
+
+ IDK LOL +
+
+
+
+
+ <%= fa 'wikipedia-w' %> +
+
+
+
+ <%= fa 'video-camera' %> +
+
+
+
+
+
+ <%= fa 'github' %> +
+
+
+
+ <%= fa 'facebook-official' %> +
+
+
+
+
+
+
+
+

<%= sorted_articles.first[:title] %>

+ <%= sorted_articles.first[:description] %> +
+
+
+
+
+
+

+ Numero uno: @werthen +

+

+ Numero dos: @myncke +

+

+ Numero tres: @iepoev +

+

+ Numero quatro: @becousae +

+
+
+
+
+
+ GITHUB +
+
+
+
+ GITHUB +
+
- <% end %>
diff --git a/layouts/eventpost.erb b/layouts/eventpost.erb index 9efe6c3..4573d95 100644 --- a/layouts/eventpost.erb +++ b/layouts/eventpost.erb @@ -26,21 +26,21 @@
- -
-
-
-
    -
  • <%= fa 'clock-o', li: true %><%= item[:time] %>
  • -
  • <%= fa 'globe', li: true %><%= item[:location] %>
  • -
-
+ +
<%= yield %>
-
diff --git a/layouts/generic.erb b/layouts/generic.erb index 35fecc3..2e02fbb 100644 --- a/layouts/generic.erb +++ b/layouts/generic.erb @@ -19,6 +19,5 @@

-
diff --git a/layouts/partials/_navbar.erb b/layouts/partials/_navbar.erb index 843efe6..47c499f 100644 --- a/layouts/partials/_navbar.erb +++ b/layouts/partials/_navbar.erb @@ -1,6 +1,6 @@