diff --git a/.gitignore b/.gitignore index 82e6258..acf03ab 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ crash.log* .sass-cache/ node_modules/ +*.iml diff --git a/Gemfile b/Gemfile index 9faaa71..68cc260 100644 --- a/Gemfile +++ b/Gemfile @@ -1,7 +1,7 @@ # frozen_string_literal: true source 'https://rubygems.org' -gem 'nanoc', '4.3.5' +gem 'nanoc', '4.3.7' gem 'kramdown' gem 'coffee-script' gem 'sass' @@ -14,6 +14,8 @@ gem 'w3c_validators' # ical files gem 'icalendar' +gem 'therubyracer' + # Autoprefixing for class gem 'autoprefixer-rails' diff --git a/Gemfile.lock b/Gemfile.lock index bcc434d..452be76 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -3,7 +3,7 @@ GEM specs: adsf (1.2.1) rack (>= 1.0.0) - autoprefixer-rails (6.5.0.1) + autoprefixer-rails (6.5.1.1) execjs builder (3.2.2) coderay (1.1.1) @@ -38,6 +38,7 @@ GEM icalendar (2.4.1) json (2.0.2) kramdown (1.12.0) + libv8 (3.16.14.15) listen (3.1.5) rb-fsevent (~> 0.9, >= 0.9.4) rb-inotify (~> 0.9, >= 0.9.7) @@ -45,32 +46,35 @@ GEM lumberjack (1.0.10) method_source (0.8.2) mini_portile2 (2.1.0) - nanoc (4.3.5) + nanoc (4.3.7) cri (~> 2.3) hamster (~> 3.0) + parallel (~> 1.9) ref (~> 2.0) nenv (0.3.0) - nokogiri (1.6.8) + nokogiri (1.6.8.1) mini_portile2 (~> 2.1.0) - pkg-config (~> 1.1.7) notiffany (0.1.1) nenv (~> 0.1) shellany (~> 0.0) - pkg-config (1.1.7) + parallel (1.9.0) pry (0.10.4) coderay (~> 1.1.0) method_source (~> 0.8.1) slop (~> 3.4) rack (2.0.1) - rb-fsevent (0.9.7) + rb-fsevent (0.9.8) rb-inotify (0.9.7) ffi (>= 0.5.0) ref (2.0.0) - ruby_dep (1.4.0) + ruby_dep (1.5.0) sass (3.4.22) shellany (0.0.1) slop (3.6.0) terminal-notifier-guard (1.7.0) + therubyracer (0.12.2) + libv8 (~> 3.16.14.0) + ref thor (0.19.1) w3c_validators (1.2) json @@ -88,9 +92,10 @@ DEPENDENCIES highline icalendar kramdown - nanoc (= 4.3.5) + nanoc (= 4.3.7) sass terminal-notifier-guard + therubyracer w3c_validators BUNDLED WITH diff --git a/Rules b/Rules index 9dbb431..3c32557 100644 --- a/Rules +++ b/Rules @@ -128,7 +128,7 @@ compile '/projects/*' do end # Don't create specific project pages for now -route '/projects/*' do; end +route '/projects/*' do; end # # GENERIC ERB PAGES diff --git a/content/assets/images/apple.svg b/content/assets/images/apple.svg new file mode 100644 index 0000000..383b9d1 --- /dev/null +++ b/content/assets/images/apple.svg @@ -0,0 +1,76 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/content/assets/images/google.svg b/content/assets/images/google.svg new file mode 100644 index 0000000..cbf3dde --- /dev/null +++ b/content/assets/images/google.svg @@ -0,0 +1,196 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/content/assets/images/win.png b/content/assets/images/win.png deleted file mode 100644 index 695f375..0000000 Binary files a/content/assets/images/win.png and /dev/null differ diff --git a/content/assets/images/windows.svg b/content/assets/images/windows.svg new file mode 100644 index 0000000..6304929 --- /dev/null +++ b/content/assets/images/windows.svg @@ -0,0 +1,61 @@ + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/content/assets/stylesheets/includes/blogpost.scss b/content/assets/stylesheets/includes/blogpost.scss index 0b4fbd9..fd18369 100644 --- a/content/assets/stylesheets/includes/blogpost.scss +++ b/content/assets/stylesheets/includes/blogpost.scss @@ -32,22 +32,6 @@ dl { margin-bottom:10px; } -.bolder { - > * { - color:#565C5E; - font-weight: bold; - font-size: 20pt; - font-family: 'Avenir'; - - border-left: 3px solid $zeus-orange; - - padding-left: 10px; - } - - a { - border-left: none; - } -} .blogwidth{ width: 75%; margin:auto; diff --git a/content/assets/stylesheets/includes/projects.scss b/content/assets/stylesheets/includes/projects.scss index c441143..bc45664 100644 --- a/content/assets/stylesheets/includes/projects.scss +++ b/content/assets/stylesheets/includes/projects.scss @@ -1,19 +1,23 @@ -#flex-align-links { - width: 100%; - height: 60%; - padding-right: 5%; - display: flex; - justify-content: flex-end; -} - .links { + flex: 1; align-self: flex-end; + align-items: flex-end; + padding-right: 20px; + + div { + margin: 10px; + } } -.links > .column { - display: inline-block; - max-width: 160px; - align-items: center; +@media (max-width: #{$tablet}) { + .links { + align-self: center; + } +} + +.rows { + display: flex; + flex-direction: column; } .project { diff --git a/content/posts/16-17/bestuur.md b/content/posts/16-17/bestuur.md index b38b2e2..a627787 100644 --- a/content/posts/16-17/bestuur.md +++ b/content/posts/16-17/bestuur.md @@ -71,9 +71,6 @@ Favoriete taal Favoriete OS : archlinux -Een van je quotes -: - ![alt text](//i.imgur.com/5c22RvF.gif) {: .imgcenter } diff --git a/content/projects.erb b/content/projects.erb index 3a43a15..92c9e10 100644 --- a/content/projects.erb +++ b/content/projects.erb @@ -10,23 +10,28 @@ order: 30 -
+

Hydra

-

Android, iOS, and Windows 10 application providing all the information a student at Ghent University needs.

- +<% end %> \ No newline at end of file diff --git a/layouts/archive_page.erb b/layouts/archive_page.erb index 53f9250..3904455 100644 --- a/layouts/archive_page.erb +++ b/layouts/archive_page.erb @@ -15,13 +15,24 @@ <% end %>
-
-
    +
+
diff --git a/lib/filters/autoprefixer.rb b/lib/filters/autoprefixer.rb index b96b310..bbb374e 100644 --- a/lib/filters/autoprefixer.rb +++ b/lib/filters/autoprefixer.rb @@ -1,4 +1,6 @@ +require 'v8' require 'autoprefixer-rails' + Nanoc::Filter.define(:autoprefixer) do |content, _params| AutoprefixerRails.process(content).css end diff --git a/lib/helpers/projects.rb b/lib/helpers/projects.rb index cbebd53..e743ec6 100644 --- a/lib/helpers/projects.rb +++ b/lib/helpers/projects.rb @@ -3,4 +3,10 @@ module ProjectsHelper def all_projects @items.find_all('/projects/*') end + # Inline a svg file. + def svg(name) + File.open("content/assets/images/#{name}.svg", "rb") do |file| + "
" + file.read + "
" + end + end end