inspec/www/source/layouts/_nav.slim
Christoph Hartmann 4641978716 Update InSpec website (#2681)
* New styles

* Fundamental styles for home page

* Legal pages

* Community page, downloads page, tutorials page

* Docs page

* Content toggle and github badge

* Add code - highlighter

* Copy button

* Sliding content animation

* fix particle animatino on downloads page

* Scroll-to-top button

* docs sidebar links

* innocent comments on resources

* Fancy code animation

* Small update to diamond

* whatever slider

* Slider styles

* initial selection if no sliders are there

* add netifly config

Signed-off-by: Christoph Hartmann <chris@lollyrock.com>

* inspec for provisioners

* fix incorrect text on aws ssm

* fix layout javascript

post-rebase

* resource grouping in docs

* introduce groups in docs/resources

* fix minor spelling issues and move download button in new features section

Signed-off-by: Christoph Hartmann <chris@lollyrock.com>

* pass linting

Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2018-02-17 07:44:42 -08:00

33 lines
1.2 KiB
Text

nav#main-nav
<progress value="0"></progress>
#main-nav-ctas.shadow
a.main-nav--logo href="/"
img src="/images/inspec-by-chef-logo.svg" onerror="this.src='/images/inspec-by-chef-logo.png'"
i.fa.fa-bars.main-nav--toggle.strict-right.mobile-show
ul.main-nav--links
li.main-nav--link
<a href="/tutorials" class="link #{'t-purple' if current_page.url == '/tutorials'}" <span class="main-nav--link-text">Tutorials</span>
</a>
li.main-nav--link
<a href="/docs" class="link #{'t-purple' if current_page.url == '/docs'}" <span class="main-nav--link-text">Docs</span>
</a>
li.main-nav--link
<a href="/community" class="link #{'t-purple' if current_page.url == '/community'}" <span class="main-nav--link-text">Community</span>
</a>
li.main-nav--link
a.link href="https://github.com/chef/inspec"
i.fa.fa-github
span.main-nav--link-text Github
li.nav-cta
a.button.btn-sm.btn-purple href="/downloads"
i.fa.fa-cloud-download
| Download
li.nav-cta.hide-for-small-only
a.button.btn-sm.btn-purple-o href="/tutorial" try demo