diff --git a/source/index.html.erb b/source/index.html.erb index 6c98760..6afa118 100644 --- a/source/index.html.erb +++ b/source/index.html.erb @@ -18,7 +18,7 @@ <% link_to 'index.ics' do %> - @@ -45,14 +45,20 @@ <%= n = events.size attributes = n == 1 ? nil : { colspan: n } - content_tag :th, I18n.l(day, format: '%A %d %B'), attributes + content_tag :th, attributes do + content = I18n.l day, format: '%A %d %B' + content += '
Journée spéciale RGPD' if day == Date.new(2018, 6, 29) + content + end %> <% end %> <% planning.each do |_, events| %> <% events.each do |location, _| %> - <%= case location + + + <%= case location when :cinema 'Salle cinéma' when :hall @@ -60,7 +66,8 @@ when :town 'Village asso' end - %> + %> + <% end %> <% end %> diff --git a/source/stylesheets/site.css.scss b/source/stylesheets/site.css.scss index a179f13..9986c0c 100644 --- a/source/stylesheets/site.css.scss +++ b/source/stylesheets/site.css.scss @@ -5,13 +5,13 @@ $line-height: 150px; $background: #212121; -$background: #000; +//$background: #000; -$event-talk: #3F51B5; -$event-workshop: #f44336; -$event-concert: #4CAF50; -$event-round-table: #FFC107; -$event-misc: #673AB7; +//$event-talk: #3F51B5; +//$event-workshop: #f44336; +//$event-concert: #4CAF50; +//$event-round-table: #FFC107; +//$event-misc: #673AB7; //$event-talk: #2962FF; //$event-workshop: #DD2C00; @@ -23,6 +23,7 @@ $event-talk: #2980b9; $event-workshop: #c0392b; $event-concert: #27ae60; $event-round-table: #FFC107; +$event-misc: #673AB7; @mixin event($color) { background-color: $color;