mirror of
https://github.com/kemko/nomad.git
synced 2026-01-10 04:15:41 +03:00
Styleguide entry for header
This commit is contained in:
14
ui/app/templates/components/freestyle/sg-header.hbs
Normal file
14
ui/app/templates/components/freestyle/sg-header.hbs
Normal file
@@ -0,0 +1,14 @@
|
||||
{{#freestyle-usage "header" title="Global Header"}}
|
||||
<nav class="navbar is-primary">
|
||||
<div class="navbar-brand">
|
||||
<span class="navbar-item is-logo">
|
||||
<img src="/ui/images/nomad-logo.svg" alt="Nomad" />
|
||||
</span>
|
||||
</div>
|
||||
<div class="navbar-end">
|
||||
<a class="navbar-item">Secondary</a>
|
||||
<a class="navbar-item">Links</a>
|
||||
<a class="navbar-item">Here</a>
|
||||
</div>
|
||||
</nav>
|
||||
{{/freestyle-usage}}
|
||||
@@ -41,7 +41,9 @@
|
||||
{{/section.subsection}}
|
||||
|
||||
{{#section.subsection name="Header"}}
|
||||
{{freestyle/sg-header}}
|
||||
{{/section.subsection}}
|
||||
|
||||
{{#section.subsection name="Inline definitions"}}
|
||||
{{/section.subsection}}
|
||||
{{#section.subsection name="JSON Viewer"}}
|
||||
|
||||
Reference in New Issue
Block a user