|
1 | 1 | <header class="site-header" role="banner"> |
2 | 2 |
|
3 | 3 | <div class="wrapper"> |
4 | | - <img class="logo-float-left" alt="" src="{{ site.url }}/images/elements_logo_no_border.png" /> |
| 4 | + <img class="logo-float-left" alt="" src="{{ site.url }}/images/elements_logo_no_border.svg" /> |
5 | 5 | {%- assign default_paths = site.pages | map: "path" -%} |
6 | 6 | {%- assign page_paths = site.header_pages | default: default_paths -%} |
7 | 7 | <span><a class="site-title" rel="author" href="{{ "/" | relative_url }}">{{ site.title | escape }}</a></span> |
|
23 | 23 | <!-- Nav links for toggling --> |
24 | 24 | <div class="collapse navbar-collapse" id="collapsing-nav-bar"> |
25 | 25 | <ul class="nav navbar-nav navbar-right"> |
26 | | - <li><a href="/how-it-works">How it works</a></li> |
| 26 | + <li><a href="/how-it-works">How it works</a></li> |
27 | 27 | <li><a href="/features">Features</a></li> |
28 | 28 | <li><a href="/community">Community</a></li> |
29 | 29 | <li><a href="/en/doc">RPC Docs</a></li> |
|
59 | 59 | <li role="separator" class="divider"></li> |
60 | 60 | <li><a href="https://github.com/ElementsProject/elements">Elements on Github</a></li> |
61 | 61 | </ul> |
62 | | - </li> |
| 62 | + </li> |
63 | 63 | </ul> |
64 | 64 |
|
65 | 65 | </div><!-- /.navbar-collapse --> |
|
68 | 68 |
|
69 | 69 | <script> |
70 | 70 | $(document).ready(function() { |
71 | | - // Assign the 'active' class for currently viewed page |
| 71 | + // Assign the 'active' class for currently viewed page |
72 | 72 |
|
73 | 73 | var pathname = window.location.pathname; |
74 | 74 | // Remove trailng '/' |
|
83 | 83 | mainpathname = pathname.substr(0, secondForwardSlashIndex); |
84 | 84 | $('.nav > li > a[href="'+mainpathname+'"]').parent().addClass('active'); |
85 | 85 | } |
86 | | - |
| 86 | + |
87 | 87 | // Top level nav bar item |
88 | 88 | $('.nav > li > a[href="'+pathname+'"]').parent().addClass('active'); |
89 | 89 |
|
90 | 90 | // Nav bar drop down item - must be linked to with the "/" prefix (e.g. /elements-code-tutorial/) in the menu html above |
91 | | - $('.nav > li > ul> li > a[href="'+pathname+'"]').parent().parent().parent().addClass('active'); |
| 91 | + $('.nav > li > ul> li > a[href="'+pathname+'"]').parent().parent().parent().addClass('active'); |
92 | 92 |
|
93 | 93 | // Nav bar drop down sub item |
94 | 94 | $('.nav > li > ul> li > a[href="'+pathname+'"]').parent().addClass('active'); |
|
0 commit comments