From 84dfbdfac69b81ea9c74e181387f675b2d761a5a Mon Sep 17 00:00:00 2001 From: Jason Costello Date: Fri, 3 Mar 2017 10:56:16 -0800 Subject: [PATCH] Add mega nav :zap: --- website/source/assets/javascripts/application.js | 2 ++ website/source/assets/stylesheets/application.scss | 3 +++ website/source/layouts/layout.erb | 1 + 3 files changed, 6 insertions(+) diff --git a/website/source/assets/javascripts/application.js b/website/source/assets/javascripts/application.js index 1e3f2f03e..ae13f1620 100644 --- a/website/source/assets/javascripts/application.js +++ b/website/source/assets/javascripts/application.js @@ -3,6 +3,8 @@ //= require lib/_Base +//= require hashicorp/mega-nav + //= require app/_app //= require app/_docs //= require app/_sidebar diff --git a/website/source/assets/stylesheets/application.scss b/website/source/assets/stylesheets/application.scss index 43d7006ea..dc2ac3bdb 100644 --- a/website/source/assets/stylesheets/application.scss +++ b/website/source/assets/stylesheets/application.scss @@ -6,6 +6,9 @@ @import url("//fonts.googleapis.com/css?family=Open+Sans:300,400,600"); @import url("//fonts.googleapis.com/css?family=Inconsolata:400,700"); +// Mega Nav +@import 'hashicorp/mega-nav'; + // Core variables and mixins @import "_variables"; diff --git a/website/source/layouts/layout.erb b/website/source/layouts/layout.erb index 0b46a4278..c91723a47 100644 --- a/website/source/layouts/layout.erb +++ b/website/source/layouts/layout.erb @@ -1,3 +1,4 @@ +<%= mega_nav :vagrant %> <%= partial "layouts/header" %> <%= partial "layouts/sidebar" %> <%= yield %>