consul/website/source/layouts/_header.erb

84 lines
3.6 KiB
Plaintext
Raw Normal View History

2014-02-08 00:41:03 +00:00
<!DOCTYPE html>
2014-10-18 23:18:56 +00:00
<html lang="en">
<head>
<meta charset="utf-8">
<title><%= title_for(current_page) %></title>
<meta name="description" content="<%= description_for(current_page) %>" />
2014-10-18 23:18:56 +00:00
<%= stylesheet_link_tag "application" %>
<meta name="HandheldFriendly" content="True" />
<meta name="MobileOptimized" content="320" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="white">
<link rel="shortcut icon" href="<%= image_path('favicon.png') %>">
<script type="text/javascript" src="//use.typekit.net/kgv0shi.js"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
2017-01-27 20:41:42 +00:00
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-NR2SD7C');</script>
<!-- End Google Tag Manager -->
<!-- Typekit script to import Klavika font -->
<script src="https://use.typekit.net/wxf7mfi.js"></script>
<script>try{Typekit.load({ async: true });}catch(e){}</script>
2014-10-18 23:18:56 +00:00
<%= yield_content :head %>
</head>
<body class="page-<%= current_page.data.page_title ? "#{current_page.data.page_title} layout-#{current_page.data.layout} page-sub" : "home layout-#{current_page.data.layout}" %> -displaying-bnr">
2017-01-27 20:41:42 +00:00
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-NR2SD7C"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<div id="header" class="navigation <%= current_page.data.page_title == "home" ? "" : "navbar-static-top" %>">
2017-03-03 16:39:55 +00:00
<%= mega_nav :consul %>
<div class="container">
2015-11-07 07:17:00 +00:00
<div class="row">
<div class="col-xs-12">
<div class="navbar-header">
<div class="navbar-brand">
2016-01-12 19:58:30 +00:00
<a class="logo" href="/">Consul</a>
2015-11-07 07:17:00 +00:00
</div>
<button class="navbar-toggle white" type="button">
2015-11-07 07:17:00 +00:00
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<div class="buttons hidden-xs">
<nav class="navigation-links" role="navigation">
<ul class="external-links white nav navbar-nav navbar-right">
2015-11-07 07:17:00 +00:00
<li class="first download">
<a href="/downloads.html"><%= partial "layouts/svg/svg-download" %>Download</a>
</li>
<li class="github">
<a href="https://github.com/hashicorp/consul"><%= partial "layouts/svg/svg-github" %>GitHub</a>
</li>
</ul>
<ul class="main-links white nav navbar-nav navbar-right">
2015-11-07 07:17:00 +00:00
<li class="first li-under"><a href="/intro/index.html">Intro</a></li>
<li class="li-under"><a href="/docs/index.html">Docs</a></li>
<li class="li-under"><a href="/community.html">Community</a></li>
<li class="li-under"><a href="https://www.hashicorp.com/products/consul/">Enterprise</a></li>
<li class="li-under"><a href="http://demo.consul.io/">Demo</a></li>
2015-11-07 07:17:00 +00:00
</ul>
</nav>
</div>
</div>
2014-10-18 23:18:56 +00:00
</div>
2015-11-07 07:17:00 +00:00
</div>
2014-10-18 23:18:56 +00:00
</div>