Hide footer links on mobile

This commit is contained in:
Joshua Ogle 2019-03-28 16:15:48 -06:00
parent 63705661b4
commit 5df7d63f7d
2 changed files with 22 additions and 24 deletions

View File

@ -7,5 +7,9 @@
span:not(:first-child) {
display: inline-block;
padding: 0 0.5rem;
@include until($mobile) {
display: none;
}
}
}

View File

@ -1,29 +1,23 @@
{{outlet}}
<footer class="footer has-text-grey">
<div class="level">
<div class="level-item is-size-7 has-text-centered">
<span class="has-text-grey-light">
{{i-con glyph="hashicorp" size=18 aria-label="HashiCorp logo" }}
</span>
<span class="is-inline-block">
&copy; {{date-format (now) "YYYY"}} HashiCorp, Inc.
</span>
<span>
Vault {{activeCluster.leaderNode.version}}
</span>
{{#if (is-version "OSS")}}
<span>
{{#upgrade-link linkClass="has-text-grey"}}
Upgrade to Vault Enterprise
{{/upgrade-link}}
</span>
{{/if}}
<span>
<a class="has-text-grey" target="_blank" rel="noreferrer noopener" href="https://www.vaultproject.io/docs/index.html">Documentation</a>
</span>
</div>
</div>
<footer class="footer has-text-grey has-text-centered">
<span class="is-inline-block">
<ICon @glyph="hashicorp" @size=20 @aria-label="HashiCorp logo" @class="has-text-grey-light" />
&copy; {{date-format (now) "YYYY"}} HashiCorp
</span>
<span>
Vault {{activeCluster.leaderNode.version}}
</span>
{{#if (is-version "OSS")}}
<span>
{{#upgrade-link linkClass="has-text-grey"}}
Upgrade to Vault Enterprise
{{/upgrade-link}}
</span>
{{/if}}
<span>
<a class="has-text-grey" target="_blank" rel="noreferrer noopener" href="https://www.vaultproject.io/docs/index.html">Documentation</a>
</span>
</footer>
{{#if (eq env "development") }}
<div class="env-banner level development">