123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113 |
- <!-- _header.template -->
- <div class="header">
- <!-- Top Bar -->
- <div class="top-navbar">
- <div class="container">
- <div class="row">
- <div class="col-md-6">
- </div>
- <div class="col-md-6">
- <nav class="top-navbar-menu">
- <ul class="top-menu">
- </ul>
- </nav>
- </div>
- </div>
- </div>
- </div>
- <!-- Global Search -->
- <section id="sctGlobalSearch" class="global-search global-search-overlay">
- <div class="container">
- <div class="global-search-backdrop mask-dark--style-2"></div>
- <!-- Search form -->
- <form class="form-horizontal form-global-search z-depth-2-top" role="form">
- <div class="px-4">
- <div class="row">
- <div class="col-12">
- <input type="text" class="search-input" placeholder="Type and hit enter ...">
- </div>
- </div>
- </div>
- <a href="#" class="close-search" data-toggle="global-search" title="Close search bar"></a>
- </form>
- </div>
- </section>
- <!-- Navbar -->
- <nav class="navbar navbar-expand-lg navbar--bold navbar--style-2 navbar-light bg-default navbar--shadow">
- <div class="container navbar-container">
- <!-- Brand/Logo -->
- <a class="navbar-brand" href="/">
- {% if site.dist.logo %}
- <img src="{{ site.image_base_url }}{{ site.dist.logo }}" alt="logo" class="" alt="mtb" style="height: 50px;">
- {% else %}
- <div class="logo-placeholder no-image-logo-thumbnail">
- No Logo
- </div>
- {% endif %}
- </a>
- <div class="d-inline-block">
- <!-- Navbar toggler -->
- <button class="navbar-toggler hamburger hamburger-js hamburger--spring" type="button" data-toggle="collapse" data-target="#navbar_main" aria-controls="navbarsExampleDefault" aria-expanded="false" aria-label="Toggle navigation">
- <span class="hamburger-box">
- <span class="hamburger-inner"></span>
- </span>
- </button>
- </div>
- <div class="collapse navbar-collapse align-items-center justify-content-center" id="navbar_main">
- <!-- Navbar search - For small resolutions -->
- <div class="navbar-search-widget b-xs-bottom py-3 d-lg-none d-none">
- <form class="" role="form">
- <div class="input-group input-group-lg">
- <input type="text" class="form-control" placeholder="Search for...">
- <span class="input-group-btn">
- <button class="btn btn-base-3" type="button">Go!</button>
- </span>
- </div>
- </form>
- </div>
- <!-- Navbar links -->
- <!-------------menus--------------->
- <ul class="navbar-nav">
- {% for menu in site.menus_header %}
- <li class="nav-item dropdown {% if menu.children and menu.children.size == 0 %}megamenu{% endif %}">
- <a class="nav-link {% if menu.children and menu.children.size > 0 %}dropdown-toggle{% endif %}"
- href="{% if menu.children and menu.children.size > 0 %}#{% else %}{{ menu.uri }}{% endif %}"
- {% if menu.children and menu.children.size > 0 %}data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"{% endif %}>
- {{ menu.title }}
- </a>
- {% if menu.children and menu.children.size > 0 %}
- <div class="dropdown-menu dropdown-menu-xl py-0 px-0 overflow--hidden" aria-labelledby="navbar_{{ menu.id }}_dropdown">
- <div class="list-group rounded">
- {% for child in menu.children %}
- <a href="{% if child.children and child.children.size > 0 %}#{% else %}{{ child.uri }}{% endif %}"
- class="list-group-item list-group-item-action d-flex align-items-center">
- <div class="list-group-content">
- <div class="list-group-heading heading heading-6 mb-1">{{ child.title }}</div>
- <p class="text-sm mb-0">{{ child.title }}</p>
- </div>
- </a>
- {% endfor %}
- </div>
- </div>
- {% endif %}
- </li>
- {% endfor %}
- </ul>
- </div>
- </div>
- </nav>
- </div>
|