templates/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.   <meta charset="utf-8">
  5.   <meta content="width=device-width, initial-scale=1.0" name="viewport">
  6.   <meta content="" name="description">
  7.   <meta content="" name="keywords">
  8.     <title>
  9.         {% block title %} {{ app_name  }} {% endblock %}
  10.     </title>
  11.     
  12.   <link href="assets/img/favicon.png" rel="icon">
  13.   <link href="assets/img/apple-touch-icon.png" rel="apple-touch-icon">
  14.   <!-- Fonts -->
  15.   <link href="https://fonts.googleapis.com" rel="preconnect">
  16.   <link href="https://fonts.gstatic.com" rel="preconnect" crossorigin>
  17.   <link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Nunito:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet">
  18.   {# Vendor CSS Files #}
  19.   <link href="{{ asset('framework/ld/assets/vendor/bootstrap/css/bootstrap.min.css') }}" rel="stylesheet">
  20.   <link href="{{ asset('framework/ld/assets/vendor/bootstrap-icons/bootstrap-icons.css') }}" rel="stylesheet">
  21.   <link href="{{ asset('framework/ld/assets/vendor/aos/aos.css') }}" rel="stylesheet">
  22.   <link href="{{ asset('framework/ld/assets/vendor/swiper/swiper-bundle.min.css') }}" rel="stylesheet">
  23.   <!-- Main CSS File -->
  24.   <link href="{{ asset('framework/ld/assets/css/main.css') }}" rel="stylesheet">
  25. </head>
  26. <body class="index-page">
  27.  {% block header %}
  28.   <header id="header" class="header d-flex align-items-center fixed-top">
  29.     <div class="header-container container-fluid container-xl position-relative d-flex align-items-center justify-content-between">
  30.       <a href="{{ path('home') }}" class="logo d-flex align-items-center me-auto me-xl-0">
  31.         <!-- Uncomment the line below if you also wish to use an image logo -->
  32.         <!-- <img src="{{ asset('image/logo.png') }}" alt=""> -->
  33.         <h1 class="sitename">{{ app_name }}</h1>
  34.       </a>
  35.       <nav id="navmenu" class="navmenu">
  36.         <ul>
  37.            <li><a class="active" href="{{ path('home') }}">{{ 'entreprise.home' | trans }}</a></li>
  38.           <li><a  href="{{ path('pricing') }}">{{ 'entreprise.pricing' | trans }}</a></li>
  39.           <li><a  href="{{ path('blog_index') }}">{{ 'entreprise.blog' | trans }}</a></li>
  40.           <li><a  target="_blank" href="https://www.assiegroup.com/en/aide/produit/myinvoice">{{ 'entreprise.help' | trans }}</a></li>
  41.          {#
  42.          <li><a class="btn-getstarted scrollto" href="{{ path('new_shop', {'plan': 'free'}) }}">{{ 'entreprise.try_free' | trans }}</a></li>
  43.          #}
  44.           {% if  is_granted('IS_AUTHENTICATED_REMEMBERED') %}
  45.                 {{ render(controller('App\\Controller\\EntrepriseController::notificationRequetteAjoutBoutiqueAction', {'email': app.user.email})) }}
  46.                 {% endif %} 
  47.           <li class="dropdown"><a href="#"><span>{{ 'entreprise.my_account' | trans  }}</span> <i class="bi bi-chevron-down toggle-dropdown"></i></a>
  48.             <ul>
  49.                {% if  is_granted('IS_AUTHENTICATED_REMEMBERED') %}
  50.                   <li><a href="{{ path('app_logout') }}">{{ 'entreprise.logout' | trans }}</a></li>
  51.                         {% else %}
  52.                   <li><a href="{{ path('security_login') }}">{{ 'entreprise.login' | trans }}</a></li>
  53.                   <li><a href="{{ path('registration_register') }}">{{ 'entreprise.create_account' | trans }}</a></li>
  54.                       {% endif %}
  55.                     {% if  is_granted('ROLE_MANAGER') %}
  56.                       <li><a href="{{ path('management_index') }}">{{ 'management.management_space' | trans }}</a></li>
  57.                     {% endif %}
  58.             </ul>
  59.           </li>
  60.           <li class="dropdown"><a href="#"><span>{{ app.getRequest().getLocale() }}</span> <i class="bi bi-chevron-down toggle-dropdown"></i></a>
  61.             <ul>
  62.                 <li><a href="{{ path('change_language', {_locale: 'en'}) }}">English</a></li>
  63.                 <li><a href="{{ path('change_language', {_locale: 'fr'}) }}">Français</a></li>
  64.             </ul>
  65.           </li>
  66.           <li><a href="#contact">Contact</a></li>
  67.         </ul>
  68.         <i class="mobile-nav-toggle d-xl-none bi bi-list"></i>
  69.       </nav>
  70.     </div>
  71.   </header>
  72.  
  73.     {% endblock header %}
  74.       
  75.     {% block sidebar  %}
  76.     {% endblock sidebar  %}
  77.                     
  78.     {% block body  %}
  79.     <br/><br/><br/>
  80.          <main class="main">
  81.         {% block contenu_propre  %}
  82.         {% endblock contenu_propre  %}
  83.         </main>
  84.     {% endblock body  %}
  85.     
  86. {% block footer %}
  87.  <footer class="border-top py-5">
  88.       <div class="container text-center pt-3 pt-lg-4">
  89.          
  90.         <div class="font-size-ms text-muted text-center">Copyright © <a class="text-muted" href="https://www.assiegroup.com" target="_blank" rel="noopener">{{ company_name }}</a> {{ "now" | date('Y') }} All rights reserved | <a href="{{ path('cgv') }}">Licence & Terms</a></div>
  91.       </div>
  92. </footer>
  93.  <a href="#" id="scroll-top" class="scroll-top d-flex align-items-center justify-content-center"><i class="bi bi-arrow-up-short"></i></a>
  94. {% endblock footer %}
  95. {% block facebook_chatbot %}
  96.     <!-- Load Facebook SDK for JavaScript -->
  97.       <div id="fb-root"></div>
  98.       <script>
  99.         window.fbAsyncInit = function() {
  100.           FB.init({
  101.             xfbml            : true,
  102.             version          : 'v9.0'
  103.           });
  104.         };
  105.         (function(d, s, id) {
  106.         var js, fjs = d.getElementsByTagName(s)[0];
  107.         if (d.getElementById(id)) return;
  108.         js = d.createElement(s); js.id = id;
  109.         js.src = 'https://connect.facebook.net/en_US/sdk/xfbml.customerchat.js';
  110.         fjs.parentNode.insertBefore(js, fjs);
  111.       }(document, 'script', 'facebook-jssdk'));</script>
  112.       <!-- Your Chat Plugin code -->
  113.       <div class="fb-customerchat"
  114.         attribution=setup_tool
  115.         page_id="583039961887816">
  116.       </div>
  117. {% endblock facebook_chatbot %}
  118. {% block javascripts %}
  119.   {# Footer #}
  120.     {# Footer #}
  121.    
  122.       <a href="#" class="back-to-top d-flex align-items-center justify-content-center"><i class="bi bi-arrow-up-short"></i></a>
  123.     
  124.     {{ include('modules/__scripts.twig') }}
  125.     
  126.   <script src="{{ asset('framework/ld/assets/vendor/bootstrap/js/bootstrap.bundle.min.js') }}"></script>
  127.   <script src="{{ asset('framework/ld/assets/vendor/php-email-form/validate.js') }}"></script>
  128.   <script src="{{ asset('framework/ld/assets/vendor/aos/aos.js') }}"></script>
  129.   <script src="{{ asset('framework/ld/assets/vendor/swiper/swiper-bundle.min.js') }}"></script>
  130.   <!-- Main JS File -->
  131.   <script src="{{ asset('framework/ld/assets/js/main.js') }}"></script>
  132. {% endblock javascripts %}
  133. </body>
  134. </html>