{{!
    This file is part of Moodle - http://moodle.org/

    Moodle is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    Moodle is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
}}
{{!
    Page navbar.
}}

    <div class="c-logo-mobile d-lg-none text-center">
      <a href="{{{ config.wwwroot }}}" class="navbar-brand {{#mobiletopbarlogo}}has-logo{{/mobiletopbarlogo}}{{# output.should_display_navbar_logo }}has-logo{{/ output.should_display_navbar_logo }} {{^ output.should_display_navbar_logo }}d-none d-sm-inline{{/ output.should_display_navbar_logo }}">
          {{#mobiletopbarlogo}}
          <h1 class="logo d-none d-sm-block my-0">
              <img src="{{mobiletopbarlogo}}" alt="{{sitename}}" class="img-fluid">
          </h1>
          {{/mobiletopbarlogo}}
          <h1 class="{{#mobiletopbarlogo}}hidden{{/mobiletopbarlogo}}{{^mobiletopbarlogo}}{{# output.should_display_navbar_logo }}hidden{{/ output.should_display_navbar_logo }}{{/mobiletopbarlogo}} site-name text-center">{{{ sitename }}}</h1>
      </a>
    </div>

    {{#topbarstyle1}}{{>theme_space/navbar-style-1}}{{/topbarstyle1}}
    {{#topbarstyle2}}{{>theme_space/navbar-style-2}}{{/topbarstyle2}}
    {{#topbarstyle3}}{{>theme_space/navbar-style-3}}{{/topbarstyle3}}
    {{#topbarstyle4}}{{>theme_space/navbar-style-4}}{{/topbarstyle4}}
    {{#topbarstyle5}}{{>theme_space/navbar-style-5}}{{/topbarstyle5}}
    {{#topbarstyle6}}{{>theme_space/navbar-style-6}}{{/topbarstyle6}}