|
1 |
| - |
2 |
| -<nav class="navbar navbar-dark"> |
| 1 | + |
3 | 2 | <div class="d-flex d-none d-sm-block d-md-block mx-auto">
|
4 | 3 | <div class="navbar-header">
|
5 | 4 | <a class="navbar-brand" href="/"><img src="/assets/img/logo/logo.png" style="height: 70px; width: 70px; background-color: white;" class="mr-3">Py Contributors</a>
|
|
18 | 17 | <!-- <div class="ml-auto mr-4"> -->
|
19 | 18 | <ul >
|
20 | 19 | {% if page.active == "home" %}
|
21 |
| - <li class=" active"><a class="nav-link" href="/">Home</a></li> |
| 20 | + <li class=" active"><a class="" href="/">Home</a></li> |
22 | 21 | {% else %}
|
23 |
| - <li class=""><a class="nav-link" href="/">Home</a></li> |
| 22 | + <li class=""><a class="" href="/">Home</a></li> |
24 | 23 | {% endif %}
|
25 | 24 |
|
26 | 25 | {% if page.active == "join-us" %}
|
27 |
| - <li class=" active"><a class="nav-link" href="/join-us/index.html">Join Us</a></li> |
| 26 | + <li class=" active"><a class="" href="/join-us/index.html">Join Us</a></li> |
28 | 27 | {% else %}
|
29 |
| - <li class=""><a class="nav-link" href="/join-us/index.html">Join Us</a></li> |
| 28 | + <li class=""><a class="" href="/join-us/index.html">Join Us</a></li> |
30 | 29 | {% endif %}
|
31 | 30 | <!-- </ul> -->
|
32 | 31 | <!-- </div> -->
|
|
37 | 36 | <!-- <ul class="navbar-nav mr-auto ml-4"> -->
|
38 | 37 |
|
39 | 38 | {% if page.active == "updates" %}
|
40 |
| - <li class=" active"><a class="nav-link" href="/updates/index.html">Updates</a></li> |
| 39 | + <li class=" active"><a class="" href="/updates/index.html">Updates</a></li> |
41 | 40 | {% else %}
|
42 |
| - <li class=""><a class="nav-link" href="/updates/index.html">Updates</a></li> |
| 41 | + <li class=""><a class="" href="/updates/index.html">Updates</a></li> |
43 | 42 | {% endif %}
|
44 | 43 |
|
45 | 44 | {% if page.active == "developers" %}
|
46 |
| - <li class=" active"><a class="nav-link" href="/developers/index.html">Developers</a></li> |
| 45 | + <li class=" active"><a class="" href="/developers/index.html">Developers</a></li> |
47 | 46 | {% else %}
|
48 |
| - <li class=""><a class="nav-link" href="/developers/index.html">Developers</a></li> |
| 47 | + <li class=""><a class="" href="/developers/index.html">Developers</a></li> |
49 | 48 | {% endif %}
|
50 | 49 | </ul>
|
51 | 50 | <!-- </div>
|
52 | 51 | </div> -->
|
53 |
| - </nav> |
| 52 | + |
54 | 53 |
|
55 | 54 | <script>
|
56 | 55 | const menu = document.querySelector('.hamburger');
|
57 | 56 | const list = document.querySelectorAll('li');
|
58 | 57 |
|
59 | 58 | menu.addEventListener('click', () => {
|
60 | 59 | list.forEach(item => {
|
61 |
| - item.classList.toggle('active'); |
| 60 | + item.classList.toggle('on'); |
62 | 61 | })
|
63 | 62 | menu.classList.toggle('cross');
|
64 | 63 | })
|
|
0 commit comments