grav/themes/materialize/templates/partials/navigation.html.twig

73 lines
5.9 KiB
Twig
Raw Normal View History

<div class="navbar-fixed">
<nav>
<div class="nav-wrapper container">
<a class="brand-logo" href="{{ base_url == '' ? '/' : base_url }}">
<svg class="logo" id="Grav-logo.fw-Page%201" viewBox="0 0 186 186" style="background-color:#ffffff00" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" x="0px" y="0px" width="186px" height="186px">
<g id="Layer_1_1">
<g>
<path
d="M 98.4134 69.506 C 99.4991 68.4215 99.4991 66.6638 98.4134 65.5802 C 97.3273 64.4957 95.5692 64.4957 94.4835 65.5802 C 93.3973 66.6638 93.3973 68.4215 94.4835 69.506 C 95.5692 70.5895 97.3273 70.5895 98.4134 69.506 Z"
fill="#221e1f"/>
<path
d="M 88.6113 71.4462 C 87.5251 72.5297 87.5251 74.2875 88.6113 75.372 C 89.6955 76.4555 91.4551 76.4555 92.5412 75.372 C 93.6254 74.2875 93.6254 72.5297 92.5412 71.4462 C 91.4551 70.3617 89.6955 70.3617 88.6113 71.4462 Z"
fill="#221e1f"/>
<path
d="M 105.6614 72.8903 C 103.9628 71.193 101.2094 71.1945 99.5118 72.8903 L 95.8949 76.5033 C 94.1958 78.2006 94.1958 80.9511 95.8949 82.6464 L 99.8659 86.6146 C 101.5644 88.3119 104.3179 88.3104 106.0155 86.6146 L 109.6324 83.0016 C 111.331 81.3043 111.331 78.5538 109.6324 76.857 L 105.6614 72.8903 Z"
fill="#221e1f"/>
<path
d="M 140.0328 59.4342 C 144.622 50.7036 138.1301 45.604 133.6678 41.4182 C 126.5199 34.7063 119.3906 31.8046 111.2479 41.0982 C 103.1106 50.3923 108.2806 61.171 115.7239 66.4911 C 123.1706 71.8111 135.4371 68.1624 140.0328 59.4342 ZM 127.7032 55.8539 C 124.8355 52.4203 130.1964 46.1865 133.5598 49.9089 C 139.7549 56.7671 130.5759 59.2874 127.7032 55.8539 Z"
fill="#221e1f"/>
<path
d="M 92.7791 0.6418 C 41.5387 0.6418 0 42.1363 0 93.3177 C 0 144.503 41.5387 186 92.7791 186 C 144.0164 186 185.5547 144.503 185.5547 93.3177 C 185.5547 42.1363 144.0164 0.6418 92.7791 0.6418 ZM 142.9489 108.5071 C 133.2741 102.1201 127.7457 96.7234 122.9299 87.0473 C 119.6367 93.6768 111.9473 103.5349 98.9765 111.2898 C 92.5012 131.4129 61.6979 169.9242 51.7287 164.4651 C 48.7769 162.8503 48.2163 160.7232 48.8829 158.5289 C 49.5979 153.0278 60.9897 140.3846 60.9897 140.3846 C 60.9897 140.3846 61.2305 143.0375 64.8748 148.6264 C 60.0613 133.699 72.828 115.2805 76.21 109.0106 C 81.5244 107.3187 81.9093 100.5024 81.9093 100.5024 C 82.2492 89.9662 77.5378 82.3381 72.972 77.7761 C 76.2524 81.7756 77.3142 87.8196 77.47 93.3548 C 77.47 93.3631 77.47 93.3743 77.47 93.3856 C 77.4866 94.011 77.4866 94.6247 77.4841 95.2365 C 77.3283 99.8184 75.9409 106.1478 72.972 106.1478 L 72.9808 106.1878 C 69.9285 106.0571 66.1602 106.7079 62.7933 107.7597 L 55.35 109.5365 C 55.35 109.5365 59.3195 109.355 61.463 111.205 C 59.0758 115.0883 53.7701 119.9073 47.8524 122.6451 C 39.2424 126.6339 36.7678 118.6974 41.1393 113.5359 C 42.2127 112.2743 43.2969 111.2108 44.322 110.3395 C 43.6622 109.6575 43.2461 108.7442 43.1367 107.5851 C 43.1357 107.5792 43.1313 107.5734 43.1299 107.5675 C 42.5297 104.9341 42.8608 101.5152 46.591 96.0814 C 47.3275 94.9311 48.2104 93.7519 49.2682 92.5542 C 49.302 92.5132 49.3303 92.4752 49.3645 92.4352 C 49.4099 92.3801 49.4607 92.3279 49.5076 92.2742 C 49.5344 92.2444 49.5598 92.2147 49.5881 92.1835 C 49.8543 91.881 50.1376 91.5854 50.4404 91.3 C 54.8855 86.7517 61.9074 82.0215 72.972 77.7761 C 85.8759 58.8293 90.6014 55.2753 90.6014 55.2753 C 92.0299 53.8161 94.5269 52.0018 95.4446 51.5393 C 88.706 39.8425 87.3454 23.3534 89.1109 18.91 C 88.9678 19.1506 88.8364 19.3964 88.727 19.6511 C 89.3814 18.1295 89.82 17.6402 90.4998 16.8396 C 92.34 14.6647 98.5775 13.5251 100.8172 18.1324 C 102.0103 20.5887 102.2355 23.7705 102.1959 26.1562 C 97.2565 25.899 92.7761 31.5328 92.7761 31.5328 C 92.7761 31.5328 96.8672 29.6043 101.9498 29.5702 C 101.9498 29.5702 103.3045 30.7469 104.9948 32.9569 C 102.7126 37.2378 98.9609 46.3065 101.6777 55.827 C 102.128 57.7033 102.8088 59.3157 103.6542 60.6875 C 103.6864 60.7466 103.7133 60.8061 103.746 60.8671 C 103.8139 60.9559 103.8749 61.0295 103.9384 61.1115 C 108.4305 67.8673 116.664 68.6576 116.664 68.6576 C 112.7878 66.7257 109.6309 63.6488 107.5753 59.9182 C 106.5068 57.9229 105.8524 56.2383 105.4504 54.9094 C 103.2703 46.4978 106.4799 41.5875 108.3172 38.2955 C 112.5446 31.745 120.2458 27.7797 128.5232 28.7242 C 140.1402 30.0483 148.4841 40.5298 147.1562 52.1315 C 146.3465 59.2196 142.1137 65.0826 136.2982 68.2732 C 137.6969 72.0546 136.202 76.6394 136.202 76.6394 C 139.7241 81.0652 139.8794 83.6167 139.7578 85.9867 C 135.2814 85.2345 130.9324 88.2523 130.9324 88.2523 C 130.9324 88.2523 139.5683 86.1931 144.5854 90.6633 C 147.8482 94.169 150.0244 97.3372 151.3211 99.6769 C 153.1784 103.0139 161.8026 103.2519 160.8204 109.2535 C 159.8378 115.2463 153.2604 115.3029 142.9489 108.5071 Z"
fill="#221e1f"/>
</g>
</g>
</svg>
</a>
<a href="#" data-activates="mobile-demo" class="button-collapse">
<i class="mdi mdi-menu"></i>
</a>
<ul class="right hide-on-med-and-down">
{% for page in pages.children.visible %}
{% set current_page = (page.active or page.activeChild) ? 'active' : '' %}
<li class="{{ current_page }}">
<a href="{{ page.url }}">{{ page.menu }}</a>
</li>
{% endfor %}
{% for mitem in site.menu %}
<li>
<a href="{{ mitem.url }}">
{% if mitem.icon %}
<i class="mdi mdi-{{ mitem.icon }}"></i>
<span>{{ mitem.text }}</span>
{% else %}
{{ mitem.text }}
{% endif %}
</a>
</li>
{% endfor %}
</ul>
<ul id="mobile-demo" class="side-nav">
{% for page in pages.children.visible %}
<li>
<a href="{{ page.url }}">{{ page.menu }}</a>
</li>
{% endfor %}
{% for mitem in site.menu %}
<li>
<a href="{{ mitem.url }}">
{% if mitem.icon %}
<i class="mdi mdi-{{ mitem.icon }}"></i>
{% endif %}
{{ mitem.text }}
</a>
</li>
{% endfor %}
</ul>
</div>
</nav>
</div>