|
1 | 1 | <div class="container"> |
2 | 2 | {{#bs-navbar |
3 | | - backgroundColor='inverse' |
4 | | - type='inverse' as |navbar|}} |
| 3 | + backgroundColor="inverse" |
| 4 | + type="inverse" |
| 5 | + as |navbar| |
| 6 | + }} |
5 | 7 | <a class="navbar-brand" href="https://www.emberjs.com"> |
6 | 8 | {{svg-jar "ember-logo-1c-white"}} |
7 | 9 | </a> |
8 | 10 | {{navbar.toggle}} |
9 | 11 | {{#navbar.content}} |
10 | 12 | {{#navbar.nav class="mr-auto" as |nav|}} |
11 | 13 | {{#each links as |link|}} |
12 | | - {{#if (eq link.type 'link')}} |
| 14 | + {{#if (eq link.type "link")}} |
13 | 15 | {{#nav.item}} |
14 | | - <a href="{{link.href}}" class="nav-link">{{link.name}}</a> |
| 16 | + <a href={{link.href}} class="nav-link">{{link.name}}</a> |
15 | 17 | {{/nav.item}} |
16 | 18 | {{/if}} |
17 | | - {{#if (eq link.type 'dropdown')}} |
| 19 | + {{#if (eq link.type "dropdown")}} |
18 | 20 | {{#nav.dropdown tagName="li" as |dd|}} |
19 | 21 | {{#dd.toggle}}{{link.name}} <span class="caret"></span>{{/dd.toggle}} |
20 | 22 | {{#dd.menu as |menu|}} |
21 | 23 | {{#each link.items as |item|}} |
22 | | - {{#if (eq item.type 'link')}} |
| 24 | + {{#if (eq item.type "link")}} |
23 | 25 | {{#menu.item}} |
24 | | - <a href="{{item.href}}" class="dropdown-item">{{item.name}}</a> |
| 26 | + <a href={{item.href}} class="dropdown-item">{{item.name}}</a> |
25 | 27 | {{/menu.item}} |
26 | 28 | {{/if}} |
27 | | - {{#if (eq item.type 'divider')}} |
| 29 | + {{#if (eq item.type "divider")}} |
28 | 30 | {{menu.divider}} |
29 | 31 | {{/if}} |
30 | 32 | {{/each}} |
|
34 | 36 |
|
35 | 37 | {{/each}} |
36 | 38 | {{/navbar.nav}} |
37 | | - {{#navbar.nav as |nav|}} |
| 39 | + {{#navbar.nav}} |
38 | 40 | {{#if hasBlock}} |
39 | 41 | {{yield}} |
40 | 42 | {{else}} |
41 | 43 | <form class="navbar-form navbar-right searchbox"> |
42 | 44 | <div class="input-group"> |
43 | 45 | <label for="search-input" class="control-label sr-only">Search</label> |
44 | | - <input type="text" |
45 | | - class="form-control search input ds-input" |
46 | | - placeholder="Search..." |
47 | | - id="search-input" |
48 | | - role="combobox" |
49 | | - aria-expanded="false" |
50 | | - aria-owns="algolia-autocomplete-listbox-0" |
51 | | - autocorrect="off" |
52 | | - autocapitalize="none" |
53 | | - spellcheck="false" |
54 | | - /> |
| 46 | + <input |
| 47 | + type="text" |
| 48 | + class="form-control search input ds-input" |
| 49 | + placeholder="Search..." |
| 50 | + id="search-input" |
| 51 | + role="combobox" |
| 52 | + aria-expanded="false" |
| 53 | + aria-owns="algolia-autocomplete-listbox-0" |
| 54 | + autocorrect="off" |
| 55 | + autocapitalize="none" |
| 56 | + spellcheck="false" |
| 57 | + > |
55 | 58 | <span></span> |
56 | 59 | </div> |
57 | 60 | </form> |
|
0 commit comments