Add presskit and styles
This commit is contained in:
parent
15f147aeb1
commit
dd22187f5d
|
@ -1,14 +1,24 @@
|
|||
VERSION?="0.3.22"
|
||||
|
||||
build:
|
||||
@echo "==> Starting build in Docker..."
|
||||
@docker run \
|
||||
--interactive \
|
||||
--rm \
|
||||
--tty \
|
||||
--volume "$(shell pwd):/website" \
|
||||
hashicorp/middleman-hashicorp:${VERSION} \
|
||||
bundle exec middleman build --verbose --clean
|
||||
|
||||
website:
|
||||
@echo "==> Starting website in Docker..."
|
||||
@docker run \
|
||||
--interactive \
|
||||
--rm \
|
||||
--interactive \
|
||||
--rm \
|
||||
--tty \
|
||||
--publish "4567:4567" \
|
||||
--publish "35729:35729" \
|
||||
--volume "$(shell pwd):/website" \
|
||||
hashicorp/middleman-hashicorp:${VERSION}
|
||||
|
||||
.PHONY: website
|
||||
.PHONY: build website
|
||||
|
|
|
@ -7,6 +7,15 @@ activate :hashicorp do |h|
|
|||
end
|
||||
|
||||
helpers do
|
||||
# Returns the FQDN of the image URL.
|
||||
#
|
||||
# @param [String] path
|
||||
#
|
||||
# @return [String]
|
||||
def image_url(path)
|
||||
File.join(base_url, image_path(path))
|
||||
end
|
||||
|
||||
# Get the title for the page.
|
||||
#
|
||||
# @param [Middleman::Page] page
|
||||
|
|
BIN
website/source/assets/files/press-kit.zip
(Stored with Git LFS)
Normal file
BIN
website/source/assets/files/press-kit.zip
(Stored with Git LFS)
Normal file
Binary file not shown.
15
website/source/assets/images/logo-hashicorp.svg
Normal file
15
website/source/assets/images/logo-hashicorp.svg
Normal file
|
@ -0,0 +1,15 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 206.31 60.01">
|
||||
<defs>
|
||||
<style>
|
||||
.cls-1{fill:#1f9967;}.cls-2{fill:#25ba81;}
|
||||
</style>
|
||||
</defs>
|
||||
<g id="Layer_2" data-name="Layer 2">
|
||||
<g id="Logo">
|
||||
<path d="M78.49 21.83v24.24h-5.9v-32h8.06l12.14 24.32V14.1h5.9v32h-8.06zm34.6 24.72c-8 0-10.18-4.42-10.18-9.22v-5.9c0-4.8 2.16-9.22 10.18-9.22s10.18 4.42 10.18 9.22v5.91c0 4.79-2.16 9.21-10.18 9.21zm0-19.35c-3.12 0-4.32 1.39-4.32 4v6.29c0 2.64 1.2 4 4.32 4s4.32-1.39 4.32-4v-6.25c0-2.64-1.2-4.04-4.32-4.04zm27.99 18.87V29.75c0-1.25-.53-1.87-1.87-1.87a16.16 16.16 0 0 0-6.1 2v16.19h-5.86V22.69h4.46l.58 2a23.43 23.43 0 0 1 9.36-2.45 4.44 4.44 0 0 1 4.42 2.5 23 23 0 0 1 9.41-2.5c3.89 0 5.28 2.74 5.28 6.91v16.92h-5.86V29.75c0-1.25-.53-1.87-1.87-1.87a15.5 15.5 0 0 0-6.1 2v16.19zm41.81 0h-4.8l-.43-1.58a12.79 12.79 0 0 1-7 2.06c-4.27 0-6.1-2.93-6.1-7 0-4.75 2.06-6.58 6.82-6.58H177v-2.41c0-2.59-.72-3.5-4.46-3.5a32.71 32.71 0 0 0-6.48.72l-.72-4.46a30.52 30.52 0 0 1 8-1.1c7.34 0 9.5 2.59 9.5 8.45zM177 37.24h-4.32c-1.92 0-2.45.53-2.45 2.3s.53 2.35 2.35 2.35a9.2 9.2 0 0 0 4.42-1.2zm9.48-6.77c0-5.18 2.3-8.26 7.73-8.26a32.22 32.22 0 0 1 6.24.67v-9.74l5.86-.82v33.75h-4.66l-.58-2a12.31 12.31 0 0 1-7.39 2.45c-4.7 0-7.2-2.79-7.2-8.11zm14-2.64a26 26 0 0 0-5.18-.62c-2.11 0-2.93 1-2.93 3.12v8.26c0 1.92.72 3 2.88 3a8.28 8.28 0 0 0 5.23-2.11zM77 7.86V4.63h-3v3.23h-1.42V.11h1.51v3.25h3V.11h1.51v7.75zm7 0h-1.2l-.11-.38A3.28 3.28 0 0 1 81 8c-1.06 0-1.52-.7-1.52-1.66 0-1.14.51-1.57 1.7-1.57h1.4v-.62c0-.62-.18-.84-1.11-.84a8.46 8.46 0 0 0-1.61.17l-.18-1.07a7.89 7.89 0 0 1 2-.26c1.83 0 2.37.62 2.37 2zm-1.39-2.11h-1.07c-.48 0-.61.13-.61.55s.13.56.59.56a2.37 2.37 0 0 0 1.1-.29zM87.13 8a7.12 7.12 0 0 1-2-.32l.2-1.07a6.77 6.77 0 0 0 1.73.24c.65 0 .74-.14.74-.56s-.07-.52-1-.73c-1.42-.33-1.59-.68-1.59-1.76s.51-1.62 2.18-1.62a8 8 0 0 1 1.75.2L89 3.46a10.66 10.66 0 0 0-1.6-.16c-.63 0-.74.14-.74.48s0 .48.82.68c1.63.41 1.78.62 1.78 1.77S88.88 8 87.13 8zm6.68-.11V4c0-.3-.13-.45-.47-.45a4.14 4.14 0 0 0-1.52.45v3.86h-1.46V0l1.46.22v2.47a5.31 5.31 0 0 1 2.13-.54c1 0 1.32.65 1.32 1.65v4.06zm2.68-6.38V.11h1.46v1.37zm0 6.38V2.27h1.46v5.59zm2.62-5.54c0-1.4.85-2.22 2.83-2.22a9.37 9.37 0 0 1 2.16.25l-.17 1.25a12.21 12.21 0 0 0-1.95-.2c-1 0-1.37.34-1.37 1.16V5.5c0 .81.33 1.16 1.37 1.16a12.21 12.21 0 0 0 1.95-.2l.17 1.25a9.37 9.37 0 0 1-2.16.25c-2 0-2.83-.81-2.83-2.22zM107.33 8c-2 0-2.53-1.06-2.53-2.2V4.36c0-1.15.54-2.2 2.53-2.2s2.53 1.06 2.53 2.2v1.41c0 1.15-.54 2.23-2.53 2.23zm0-4.63c-.78 0-1.08.33-1.08 1v1.5c0 .63.3 1 1.08 1s1.08-.33 1.08-1V4.31c-.01-.63-.3-.96-1.08-.96zm6.64.09a11.57 11.57 0 0 0-1.54.81v3.6H111v-5.6h1.23l.1.62a6.63 6.63 0 0 1 1.53-.73zM119.8 6a1.73 1.73 0 0 1-1.92 2 8.36 8.36 0 0 1-1.55-.16v2.26l-1.46.22v-8H116l.14.47a3.15 3.15 0 0 1 1.86-.64c1.17 0 1.79.67 1.79 1.94zm-3.48.63a6.72 6.72 0 0 0 1.29.15c.53 0 .73-.24.73-.75v-2c0-.46-.18-.71-.72-.71a2.11 2.11 0 0 0-1.3.51z"/>
|
||||
<path d="M38.02 23.07v9.95l-6.93 4.01-4.84-3v25.98h.14l26.11-15V15.05l-.49-.01-13.99 8.03z" class="cls-1"/>
|
||||
<path d="M26.03.01L0 15.05l17.56 10.32 3.56-2.17 8.63 4.82v-10l8.27-4.97v10.02l14.48-8.02v-.04L26.03.01z" class="cls-2"/>
|
||||
<path d="M22.75 32.03v9.99l-7.88 5v-20l2.99-1.83L.15 15.05H0v29.96l26.25 15V34.03l-3.5-2z" class="cls-2"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 3.2 KiB |
BIN
website/source/assets/images/og-image.png
(Stored with Git LFS)
Normal file
BIN
website/source/assets/images/og-image.png
(Stored with Git LFS)
Normal file
Binary file not shown.
|
@ -12,10 +12,18 @@
|
|||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
pre {
|
||||
pre,
|
||||
code,
|
||||
pre code,
|
||||
tt {
|
||||
font-family: $font-family-monospace;
|
||||
font-size: ($font-size - 3);
|
||||
font-weight: normal;
|
||||
font-size: $font-size - 2;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
pre {
|
||||
padding: 20px;
|
||||
margin: 0 0 $font-size;
|
||||
padding: 20px;
|
||||
margin: 0 0 $font-size;
|
||||
|
||||
|
|
|
@ -4,20 +4,25 @@ $black: #000000;
|
|||
$gray: #555555;
|
||||
$gray-light: #CCCCCC;
|
||||
|
||||
$consul-pink: #D62783;
|
||||
$consul-pink-dark: #961D59;
|
||||
$nomad-green: #2DAA86;
|
||||
$nomad-green-dark:#0E7A65;
|
||||
$nomad-green-light: #27C48D;
|
||||
$packer-blue: #1DAEFF;
|
||||
$packer-blue-dark: #1D94DD;
|
||||
$terraform-purple: #5C4EE5;
|
||||
$terraform-purple-dark: #4040B2;
|
||||
$vagrant-blue: #1563FF;
|
||||
$vagrant-blue-dark: #104EB2;
|
||||
$vault-black: #000000;
|
||||
$vault-blue: #00ABE0;
|
||||
$vault-gray: #919FA8;
|
||||
|
||||
// Typography
|
||||
$font-family-klavika: 'klavika-web', 'Open Sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
$font-family-open-sans: 'Open Sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
$font-family-monospace: 'Menlo', 'Monaco', 'Consolas', "Courier New", monospace;
|
||||
$font-family-klavika: 'klavika-web', Helvetica, sans-serif;
|
||||
$font-family-open-sans: 'Open Sans', sans-serif;
|
||||
$font-family-monospace: 'Fira Mono', monospace;
|
||||
$font-size: 15px;
|
||||
$font-weight-reg: 400;
|
||||
$font-weight-bold: 600;
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
<li><a href="/docs/index.html">Docs</a></li>
|
||||
<li><a href="/community.html">Community</a></li>
|
||||
<li><a href="/security.html">Security</a></li>
|
||||
<li><a href="/assets/files/press-kit.zip">Press Kit</a></li>
|
||||
</ul>
|
||||
|
||||
<div class="divider"></div>
|
||||
|
|
|
@ -14,6 +14,17 @@
|
|||
<meta name="msapplication-config" content="/microsoft-tile.xml" />
|
||||
<meta name="theme-color" content="#ffffff">
|
||||
|
||||
<meta name="twitter:card" content="summary_large_image" />
|
||||
<meta name="twitter:site" content="@HashiCorp" />
|
||||
<meta name="twitter:creator" content="@HashiCorp" />
|
||||
<meta property="og:url" content="<%= File.join(base_url, current_page.url) %>" />
|
||||
<meta property="og:title" content="<%= title_for(current_page) %>" />
|
||||
<meta property="og:site_name" content="Nomad by HashiCorp"/>
|
||||
<meta property="og:image" content="<%= image_url("og-image.png") %>"/>
|
||||
<meta property="og:image:width" content="1200"/>
|
||||
<meta property="og:image:height" content="1200"/>
|
||||
<meta property="og:description" content="<%= description_for(current_page) %>" />
|
||||
|
||||
<title><%= title_for(current_page) %></title>
|
||||
|
||||
<%= stylesheet_link_tag "application" %>
|
||||
|
@ -97,6 +108,7 @@
|
|||
<li><a href="/docs/index.html">Docs</a></li>
|
||||
<li><a href="/community.html">Community</a></li>
|
||||
<li><a href="/security.html">Security</a></li>
|
||||
<li><a href="/assets/files/press-kit.zip">Press Kit</a></li>
|
||||
</ul>
|
||||
<ul class="footer-links nav navbar-nav navbar-right">
|
||||
<li><a href="<%= github_url :current_page %>">Edit this page</a></li>
|
||||
|
@ -114,25 +126,7 @@
|
|||
|
||||
ga('create', 'UA-68490725-1', 'nomadproject.io');
|
||||
ga('require', 'linkid');
|
||||
ga('send', 'pageview');
|
||||
</script>
|
||||
|
||||
<script type="text/javascript">
|
||||
adroll_adv_id = "6QAAFJDIWBG3DJBDRJ7BEX";
|
||||
adroll_pix_id = "PYT5HSNKNRDS7LMUR5B6YG";
|
||||
(function () {
|
||||
var oldonload = window.onload;
|
||||
window.onload = function(){
|
||||
__adroll_loaded=true;
|
||||
var scr = document.createElement("script");
|
||||
var host = (("https:" == document.location.protocol) ? "https://s.adroll.com" : "http://a.adroll.com");
|
||||
scr.setAttribute('async', 'true');
|
||||
scr.type = "text/javascript";
|
||||
scr.src = host + "/j/roundtrip.js";
|
||||
((document.getElementsByTagName('head') || [null])[0] ||
|
||||
document.getElementsByTagName('script')[0].parentNode).appendChild(scr);
|
||||
if(oldonload){oldonload()}};
|
||||
}());
|
||||
ga('send', 'pageview', location.pathname);
|
||||
</script>
|
||||
|
||||
<script type="application/ld+json">
|
||||
|
|
Loading…
Reference in a new issue