<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}">
<head>
    <meta charset="utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>{{ .Site.Title }} - {{ .Title }}</title>
    <meta name="description" content="{{ .Site.Params.description }}">

    <!-- Local CSS Files -->
    <link rel="stylesheet" type="text/css" href="{{ .Site.BaseURL }}css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="{{ .Site.BaseURL }}css/maore.css">

    <!-- Local Fonts -->
    <link rel="stylesheet" type="text/css" href="{{ .Site.BaseURL }}fonts/varela-round.css">
</head>
<body>
    <header>
        <nav class="navbar navbar-expand-xl navbar-light">
            <div class="container">
                <a class="navbar-brand" href="{{ .Site.BaseURL }}{{ .Site.Language.Lang }}/">
                    <img src="{{ .Site.BaseURL }}img/logo.svg" height="75" 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="green_txt">{{ i18n "buySim" }}</span></a>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link" href="{{ .Site.BaseURL }}{{ .Site.Language.Lang }}/acheter-credit"><span class="green_txt">{{ 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>

    <div id="content">
        {{ block "main" . }}{{ end }}
    </div>

    <footer class="container-fluid">
        <nav class="row">
            <div class="col-xl-2 offset-xl-1 col-lg-6 col-md-12">
                <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>
            </div>
            <div class="col-xl-2 col-lg-6 col-md-12">
                {{ i18n "contactUs" }}
                <br>
                <img alt="tel" src="{{ .Site.BaseURL }}img/phone.svg"> 06 39 900 900
                <br>
                <span class="grey_text">{{ i18n "openingHours" }}</span>
            </div>
            <div class="col-xl-2 col-lg-6 col-md-12">
                <a class="nav-link p-0" href="{{ .Site.BaseURL }}{{ .Site.Language.Lang }}/commande-sim">{{ i18n "buySim" }}</a>
                <a class="nav-link p-0" href="{{ .Site.BaseURL }}{{ .Site.Language.Lang }}/acheter-credit">{{ i18n "buyCredit" }}</a>
                <a class="nav-link p-0" href="{{ .Site.BaseURL }}{{ .Site.Language.Lang }}/tarifs">{{ i18n "rates" }}</a>
            </div>
            <div class="col-xl-2 col-lg-6 col-md-12">
                <a class="nav-link p-0" href="{{ .Site.BaseURL }}{{ .Site.Language.Lang }}/resellers">{{ i18n "resellers" }}</a>
                <a class="nav-link p-0" href="{{ .Site.BaseURL }}{{ .Site.Language.Lang }}/aide">{{ i18n "help" }}</a>
                <a class="nav-link p-0" href="{{ .Site.BaseURL }}{{ .Site.Language.Lang }}/register-sim">{{ i18n "registerSim" }}</a>
            </div>
            <div class="col-xl-2 col-lg-6 col-md-12">
                <a class="nav-link p-0" href="{{ .Site.BaseURL }}{{ .Site.Language.Lang }}/transfert-credit">{{ i18n "transferCredit" }}</a>
                <a class="nav-link p-0" href="{{ .Site.BaseURL }}{{ .Site.Language.Lang }}/rappelle-moi">{{ i18n "callMeBack" }}</a>
                <a class="nav-link p-0" href="{{ .Site.BaseURL }}{{ .Site.Language.Lang }}/cgv">{{ i18n "terms" }}</a>
            </div>
        </nav>

        <hr style="margin-top: 40px;">

        <p class="text-center grey_text">
            © MaoréMobile 2019 - Maore Mobile SAS - 751 314 717 RCS MAMOUDZOU<br/>
            {{ i18n "phone" }} : +262 (0) 6 39 900 900
        </p>
    </footer>

    <!-- Local JavaScript Files -->
    <script src="{{ .Site.BaseURL }}js/jquery-3.3.1.slim.min.js"></script>
    <script src="{{ .Site.BaseURL }}js/bootstrap.bundle.min.js"></script>
    <script src="{{ .Site.BaseURL }}js/utils.js"></script>
    <script src="{{ .Site.BaseURL }}js/maore.js"></script>
</body>
</html>