<header>
    <nav class="navbar navbar-expand-xl navbar-light">
        <div class="container-fluid">
            <a class="navbar-brand" href="{{ .Site.BaseURL }}{{ .Site.Language.Lang }}/">
                <img src="{{ .Site.BaseURL }}img/logo.svg" height="50" class="d-inline-block align-top" alt="{{ .Site.Title }}">
            </a>
            <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarHeader" aria-controls="navbarHeader" aria-expanded="false" aria-label="Toggle navigation" style="margin-left:auto;">
                <span class="navbar-toggler-icon"></span>
            </button>

            <div class="collapse navbar-collapse justify-content-end" id="navbarHeader">
                <ul class="navbar-nav">
                    <li class="nav-item">
                        <a class="nav-link" href="{{ .Site.BaseURL }}{{ .Site.Language.Lang }}/commande-sim"><span class="">{{ i18n "buySim" }}</span></a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="{{ .Site.BaseURL }}{{ .Site.Language.Lang }}/acheter-credit"><span class="">{{ i18n "buyCredit" }}</span></a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="{{ .Site.BaseURL }}{{ .Site.Language.Lang }}/tarifs">{{ i18n "rates" }}</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="{{ .Site.BaseURL }}{{ .Site.Language.Lang }}/nos-offres">{{ i18n "offers" }}</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="{{ .Site.BaseURL }}{{ .Site.Language.Lang }}/resellers">{{ i18n "resellers" }}</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="{{ .Site.BaseURL }}{{ .Site.Language.Lang }}/4g">4G</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="{{ .Site.BaseURL }}{{ .Site.Language.Lang }}/aide">{{ i18n "help" }}</a>
                    </li>
                    <li class="nav-item">
                        <a class="btn btn-primary" href="{{ .Site.BaseURL }}{{ .Site.Language.Lang }}/register-sim" type="button">
                            {{ i18n "registerSim" }}
                        </a>
                    </li>
                    <li class="nav-item">
                        <a class="btn btn-light" href="{{ .Site.BaseURL }}{{ .Site.Language.Lang }}/account" type="button">
                            {{ i18n "myAccount" }}
                        </a>
                    </li>
                    {{ if .IsTranslated }}
                        {{ range .Translations }}
                            <li class="nav-item">
                                <a class="nav-link" href="{{ .Permalink }}">{{ .Language.LanguageName }}</a>
                            </li>
                        {{ end }}
                    {{ end }}
                </ul>
            </div>
        </div>
    </nav>
</header>
