templates/front-office/partials/_menu_burger.html.twig line 1

Open in your IDE?
  1. <div class="partial-menu-burger bgc-darkGreen" id="js-burger-menu">
    
        <div class="top-content">
            <div class="menu-row meli-section-90 meli-between-center">
                <div class="burger meli-width-10">
                    <img src="{{ asset('assets/img/icons/menu-burger.png') }}" alt="Menu">
                </div>
    
                <div class="account meli-width-10">
                    <img src="{{ asset('assets/img/icons/croix.png') }}" alt="Mon compte" id="js-burger-close">
                </div>
            </div>
    
            <div class="logo-box meli-section-30 meli-center-center">
                <div class="img-box meli-width-100">
                    <img src="{{ asset('assets/img/logo/logo-couleur.png') }}" alt="La Cabane à Coudre">
                </div>
            </div>
    
            {% if app.user %}
                <nav>
                    <ul class="meli-flex-col meli-between-center">
                        <li>
                            <a  class="txt-century txt-size20 txt-white txt-regular"
                                href="{{ path('client_index') }}">Mon espace</a>
                        </li>
                        <li>
                            <a  class="txt-century txt-size20 txt-white txt-regular"
                                href="{{ path('client_index') }}">Mon informations</a>
                        </li>
                        <li>
                            <a  class="txt-century txt-size20 txt-white txt-regular"
                                href="{{ path('client_index') }}">Mes commandes</a>
                        </li>
                        <li>
                            <a  class="txt-century txt-size20 txt-white txt-regular"
                                href="{{ path('client_index') }}">Mes cours</a>
                        </li>
                    </ul>
    
                </nav>
            {% else %}
                <div class=" bgc-darkGreen meli-flex-col meli-between-center">
                    <h1 class="txt-h1-home title txt-center">Bienvenue dans ma cabane</h1>
                    <p class="txt-h2-dancing subtitle txt-center">
                        Pas besoin de se prendre au sérieux <br>
                        pour coudre sérieusement...
                    </p>
                    <div class="meli-center-center">
                        <a href="{{ path('story') }}">
                            <button class="btn-base button-story">
                                <span>Notre histoire</span>
                            </button>
                        </a>
                    </div>
    
                </div>
            {% endif %}
    
    
    
        </div>
    
    
        <nav class="menu-content">
            <ul class="meli-around-center meli-flex-col">
                <li>
                    <a class="txt-century txt-bold txt-green txt-size15" href="{{ path('home') }}">Accueil</a>
                </li>
                <li>
                    <a class="txt-century txt-bold txt-green txt-size15" href="{{ path('blog_list') }}">Blog</a>
                </li>
                <li>
                    <a class="txt-century txt-bold txt-green txt-size15" href="{{ path('sewing_list') }}">Patrons</a>
                </li>
                <li>
                    <a class="txt-century txt-bold txt-green txt-size15" href="{{ path('formation_list') }}">Formations</a>
                </li>
                <li>
                    <a class="txt-century txt-bold txt-green txt-size15" href="{{ path('story') }}">Notre histoire</a>
                </li>
                <li>
                    <a class="txt-century txt-bold txt-green txt-size15" href="{{ path('contact') }}">Contact</a>
                </li>
                {% if commonVarBasket is defined and commonVarBasket|length > 0 %}
                    {% set display = "block" %}
                {% else %}
                    {% set display = "none" %}
                {% endif %}
                <li style="display: {{ display }}">
                    <a class="txt-century txt-bold txt-green txt-size15" href="{{ path('basket') }}">Panier</a>
                </li>
            </ul>
        </nav>
    </div>