From d2bddbce9865b6dc5a88974d44b861c943f3088d Mon Sep 17 00:00:00 2001 From: "Chris Baudouin, Jr" Date: Wed, 12 Feb 2020 09:34:43 -0500 Subject: [PATCH] - Removes BH6 references - Adds Devpost link --- app/views/layouts/_nav_ty.html.erb | 51 ++++++++++++++++++++----- app/views/layouts/_shared_head.html.erb | 2 +- app/views/layouts/application.html.erb | 2 +- 3 files changed, 44 insertions(+), 11 deletions(-) diff --git a/app/views/layouts/_nav_ty.html.erb b/app/views/layouts/_nav_ty.html.erb index 04039b9ca..d43b4e56b 100644 --- a/app/views/layouts/_nav_ty.html.erb +++ b/app/views/layouts/_nav_ty.html.erb @@ -1,23 +1,56 @@ <% - pages = [''] + simplified_nav = false if !defined?(simplified_nav) + if simplified_nav + pages = ['Home'] + else + pages = ['Devpost'] + end %> - -Major League Hacking 2020 Hackathon Season + + Major League Hacking 2020 Hackathon Season + + + diff --git a/app/views/layouts/_shared_head.html.erb b/app/views/layouts/_shared_head.html.erb index 2a0bab0e2..45ecd91f1 100644 --- a/app/views/layouts/_shared_head.html.erb +++ b/app/views/layouts/_shared_head.html.erb @@ -1,6 +1,6 @@ <% title = "BrickHack" - description = "Feb 8 & 9, 2020 - RIT's premiere collegiate hackathon devoted to bringing 600 designers, developers, and all sorts of makers together for 24 hours to create something from nothing." + description = "RIT's premiere collegiate hackathon devoted to bringing 600 designers, developers, and all sorts of makers together for 24 hours to create something from nothing." url = "https://brickhack.io" %> diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 85bd1e109..799baa979 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -1,7 +1,7 @@ - <%= yield(:title).presence || "BrickHack 6 – Feb 8-9, 2020" %> + <%= yield(:title).presence || "BrickHack" %> <%= render "layouts/shared_head" %> <%= stylesheet_link_tag "application", :media => "all" %> <%= yield(:head) %>