1
1
<header >
2
- <nav >
3
-
4
- <div class =" navbar navbar-inverse navbar-fixed-top" >
5
- <div class =" container" >
6
-
7
- <div class =" navbar-header" >
8
- <button data-target =" .navbar-collapse" data-toggle =" collapse" class =" navbar-toggle" type =" button" >
9
- <span class =" icon-bar" />
10
- <span class =" icon-bar" />
11
- <span class =" icon-bar" />
12
- </button >
13
- <a href =" /" class =" navbar-brand" ><img src =" /images/haxeflixel-header.svg" height =" 31" alt =" HaxeFlixel" /></a >
14
- </div >
15
-
16
- <div class =" navbar-collapse collapse" >
17
-
18
- <ul class =" nav navbar-nav" >
19
-
20
- <li class =" dropdown {% dropdownActive 'demos' %}" >
21
- <a href =" #" class =" dropdown-toggle" data-toggle =" dropdown" role =" button" aria-haspopup =" true" aria-expanded =" false" >Examples <span class =" caret" ></span ></a >
22
- <ul class =" dropdown-menu inverse-dropdown" >
23
- <li ><a href =" /demos" >Demos</a ></li >
24
- <li ><a href =" https://snippets.haxeflixel.com/" >Snippets</a ></li >
25
- </ul >
26
- </li >
27
-
28
- <li class ={% dropdownActive ' showcase' %} >
29
- <a href =" /showcase" >Showcase</a >
30
- </li >
31
-
32
- {% comment %} <li <%= @ablog %>> {% endcomment %}
33
- <li class ={% dropdownActive ' blog' %} >
34
- <a href =" /blog" >Blog</a >
35
- </li >
36
-
37
- {% comment %} <li <%= @adocs %>> {% endcomment %}
38
- <li class ={% dropdownActive ' documentation' %} >
39
- <a href =" /documentation" >Docs</a >
40
- </li >
41
-
42
- <li >
43
- <a href =" http://api.haxeflixel.com" >API</a >
44
- </li >
45
-
46
- {% comment %} <li <%= @aforum %>> {% endcomment %}
47
- <li >
48
- <a href =" https://github.com/HaxeFlixel/flixel/discussions" >Forum</a >
49
- </li >
50
-
51
- </ul >
52
-
53
- {% renderFile "./11ty-source/_layouts/partials/search.html" %}
54
- {% comment %} <%- @partial('search.html') %> {% endcomment %}
55
-
56
- </div >
57
-
58
- </div >
59
-
60
- </div >
61
-
62
- </nav >
2
+ <nav class =" navbar navbar-expand-lg bg-body-tertiary" >
3
+ <div class =" container-fluid" >
4
+
5
+ <a href =" /" class =" navbar-brand" ><img
6
+ src =" /images/haxeflixel-header.svg"
7
+ height =" 31"
8
+ alt =" HaxeFlixel" /></a >
9
+
10
+ <button
11
+ class =" navbar-toggler"
12
+ type =" button"
13
+ data-bs-toggle =" collapse"
14
+ data-bs-target =" #navbarSupportedContent"
15
+ aria-controls =" navbarSupportedContent"
16
+ aria-expanded =" false"
17
+ aria-label =" Toggle navigation" >
18
+ <span class =" navbar-toggler-icon" ></span >
19
+ </button >
20
+
21
+
22
+ <div class =" collapse navbar-collapse" id =" navbarNavDropdown" >
23
+
24
+ <ul class =" navbar-nav" >
25
+
26
+ <li class =" nav-item dropdown {% dropdownActive 'demos' %}" >
27
+ <a
28
+ href =" #"
29
+ class =" nav-link dropdown-toggle"
30
+ data-bs-toggle =" dropdown"
31
+ role =" button"
32
+ aria-expanded =" false" >Examples
33
+ <span class =" caret" ></span >
34
+ </a >
35
+ <ul class =" dropdown-menu inverse-dropdown" >
36
+ <li >
37
+ <a class =" dropdown-item" href =" /demos" >Demos</a >
38
+ </li >
39
+ <li >
40
+ <a class =" dropdown-item" href =" https://snippets.haxeflixel.com/" >Snippets</a >
41
+ </li >
42
+ </ul >
43
+ </li >
44
+
45
+ <li class =" nav-item {% dropdownActive 'showcase' %}" >
46
+ <a class =" nav-link" href =" /showcase" >Showcase</a >
47
+ </li >
48
+
49
+ {% comment %} <li <%= @ablog %>> {% endcomment %}
50
+ <li class =" nav-item {% dropdownActive 'blog' %}" >
51
+ <a class =" nav-link" href =" /blog" >Blog</a >
52
+ </li >
53
+
54
+ {% comment %} <li <%= @adocs %>> {% endcomment %}
55
+ <li class =" nav-item {% dropdownActive 'documentation' %}" >
56
+ <a class =" nav-link" href =" /documentation" >Docs</a >
57
+ </li >
58
+
59
+ <li class =" nav-item" >
60
+ <a class =" nav-link" href =" http://api.haxeflixel.com" >API</a >
61
+ </li >
62
+
63
+ {% comment %} <li <%= @aforum %>> {% endcomment %}
64
+ <li class =" nav-item" >
65
+ <a class =" nav-link" href =" https://github.com/HaxeFlixel/flixel/discussions" >Forum</a >
66
+ </li >
67
+
68
+ </ul >
69
+
70
+ {% renderFile "./11ty-source/_layouts/partials/search.html" %}
71
+ {% comment %} <%- @partial('search.html') %> {% endcomment %}
72
+
73
+ </div >
74
+
75
+ </div >
76
+
77
+
78
+ </nav >
63
79
</header >
0 commit comments