From 211af6fa831dbcc44300a58173f340e50f607156 Mon Sep 17 00:00:00 2001 From: Lorin Werthen Date: Thu, 1 Jun 2017 02:39:55 +0200 Subject: [PATCH 1/6] bump --- content/cammie.erb | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/content/cammie.erb b/content/cammie.erb index 20c7b75..0ae23ce 100644 --- a/content/cammie.erb +++ b/content/cammie.erb @@ -9,7 +9,7 @@ title: Cammie
- cammie + cammie
@@ -29,7 +29,7 @@ title: Cammie <%= fa 'chevron-circle-left' %>
- +
<%= fa 'chevron-circle-right' %> diff --git a/package.json b/package.json index a255e50..104075a 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,6 @@ "license": "MIT", "repository": "https://github.com/ZeusWPI/zeus.ugent.be", "dependencies": { - "bulma": "0.4.1" + "bulma": "0.4.2" } } From bd471f58d44eb48d5f4025f33d1359f5c317ad1d Mon Sep 17 00:00:00 2001 From: Wout Schellaert Date: Sat, 3 Jun 2017 12:33:32 +0200 Subject: [PATCH 2/6] Add PageSpeed badges --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 072cd6b..edf4c9d 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ # zeus.ugent.be [![Build Status](https://travis-ci.org/ZeusWPI/zeus.ugent.be.svg?branch=master)](https://travis-ci.org/ZeusWPI/zeus.ugent.be) [![Code Climate](https://codeclimate.com/github/ZeusWPI/zeus.ugent.be.png)](https://codeclimate.com/github/ZeusWPI/zeus.ugent.be) +[![PageSpeed](https://pagespeed-badges.herokuapp.com/?url=zeus.ugent.be&strat=desktop&showStratLabel=true)](https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fzeus.ugent.be&tab=desktop) +[![PageSpeed](https://pagespeed-badges.herokuapp.com/?url=zeus.ugent.be&strat=mobile&showStratLabel=true)](https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fzeus.ugent.be&tab=mobile) ## Setup From cdcc9c026a5fed7bb60cff24821ffd4864949ad6 Mon Sep 17 00:00:00 2001 From: Wout Schellaert Date: Sat, 3 Jun 2017 18:41:17 +0200 Subject: [PATCH 3/6] Rearrange CSS and JS imports for improved speed --- layouts/default.erb | 51 ++++++++++++++++++++++++++------------------- 1 file changed, 30 insertions(+), 21 deletions(-) diff --git a/layouts/default.erb b/layouts/default.erb index 76e17b6..575fe81 100644 --- a/layouts/default.erb +++ b/layouts/default.erb @@ -18,37 +18,46 @@ - - + + + + + <%= asset :css, :main %> + + + + + + + + + + + + - - <%= asset :css, :main %> - - - - - - + <%= content_for(@item, :head) %> +
<%= yield %> From f33a3845d2ff2a6996fed1486e7958af91693a1f Mon Sep 17 00:00:00 2001 From: Wout Schellaert Date: Sat, 3 Jun 2017 18:55:48 +0200 Subject: [PATCH 4/6] Fix css order bug --- layouts/default.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/default.erb b/layouts/default.erb index 575fe81..ab69cfc 100644 --- a/layouts/default.erb +++ b/layouts/default.erb @@ -27,11 +27,11 @@ - - <%= asset :css, :main %> - + + + <%= asset :css, :main %> From 2d78c03fe75bafb611bfc7e920c7565f45cdf3f6 Mon Sep 17 00:00:00 2001 From: Lorin Werthen Date: Sun, 4 Jun 2017 16:29:22 +0200 Subject: [PATCH 5/6] improve project page look ever so slightly --- content/assets/stylesheets/includes/projects.scss | 10 ++++++++-- layouts/partials/_project.erb | 2 +- package-lock.json | 11 +++++++++++ 3 files changed, 20 insertions(+), 3 deletions(-) create mode 100644 package-lock.json diff --git a/content/assets/stylesheets/includes/projects.scss b/content/assets/stylesheets/includes/projects.scss index 4b3241e..2dce0e1 100644 --- a/content/assets/stylesheets/includes/projects.scss +++ b/content/assets/stylesheets/includes/projects.scss @@ -33,8 +33,12 @@ margin-top: 30px; } +.logo-wrapper { + padding-top: 0; + padding-bottom: 0; +} + .logo { - height: 10vw; width: 10vw; min-width: 100px; min-height: 100px; @@ -42,12 +46,14 @@ margin-right: auto; display: flex; align-items: center; + + height: 100%; } .logo-initial { margin: auto; color: white; - font-size: 6vw; + font-size: 5rem; font-family: $family-sans-serif; } diff --git a/layouts/partials/_project.erb b/layouts/partials/_project.erb index a217c44..34c49b5 100644 --- a/layouts/partials/_project.erb +++ b/layouts/partials/_project.erb @@ -1,6 +1,6 @@
-
+
<% if project[:logo_image] %>