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.           {% if  is_granted('IS_AUTHENTICATED_REMEMBERED') %}
  44.                 {{ render(controller('App\\Controller\\EntrepriseController::notificationRequetteAjoutBoutiqueAction', {'email': app.user.email})) }}
  45.                 {% endif %} 
  46.           <li class="dropdown"><a href="#"><span>{{ 'entreprise.my_account' | trans  }}</span> <i class="bi bi-chevron-down toggle-dropdown"></i></a>
  47.             <ul>
  48.                {% if  is_granted('IS_AUTHENTICATED_REMEMBERED') %}
  49.                   <li><a href="{{ path('app_logout') }}">{{ 'entreprise.logout' | trans }}</a></li>
  50.                         {% else %}
  51.                   <li><a href="{{ path('security_login') }}">{{ 'entreprise.login' | trans }}</a></li>
  52.                   <li><a href="{{ path('registration_register') }}">{{ 'entreprise.create_account' | trans }}</a></li>
  53.                       {% endif %}
  54.                     {% if  is_granted('ROLE_MANAGER') %}
  55.                       <li><a href="{{ path('management_index') }}">{{ 'management.management_space' | trans }}</a></li>
  56.                     {% endif %}
  57.             </ul>
  58.           </li>
  59.           <li class="dropdown"><a href="#"><span>{{ app.getRequest().getLocale() }}</span> <i class="bi bi-chevron-down toggle-dropdown"></i></a>
  60.             <ul>
  61.                 <li><a href="{{ path('change_language', {_locale: 'en'}) }}">English</a></li>
  62.                 <li><a href="{{ path('change_language', {_locale: 'fr'}) }}">Français</a></li>
  63.             </ul>
  64.           </li>
  65.           <li><a href="#contact">Contact</a></li>
  66.         </ul>
  67.         <i class="mobile-nav-toggle d-xl-none bi bi-list"></i>
  68.       </nav>
  69.     </div>
  70.   </header>
  71.  
  72.     {% endblock header %}
  73.       
  74.     {% block sidebar  %}
  75.     {% endblock sidebar  %}
  76.                     
  77.     {% block body  %}
  78.     <br/><br/><br/>
  79.          <main class="main">
  80.         {% block contenu_propre  %}
  81.         {% endblock contenu_propre  %}
  82.         </main>
  83.     {% endblock body  %}
  84.     
  85. {% block footer %}
  86.  <footer class="border-top py-5">
  87.       <div class="container text-center pt-3 pt-lg-4">
  88.          
  89.         <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>
  90.       </div>
  91. </footer>
  92.  <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>
  93. {% endblock footer %}
  94. {% block facebook_chatbot %}
  95.     <!-- Load Facebook SDK for JavaScript -->
  96.       <div id="fb-root"></div>
  97.       <script>
  98.         window.fbAsyncInit = function() {
  99.           FB.init({
  100.             xfbml            : true,
  101.             version          : 'v9.0'
  102.           });
  103.         };
  104.         (function(d, s, id) {
  105.         var js, fjs = d.getElementsByTagName(s)[0];
  106.         if (d.getElementById(id)) return;
  107.         js = d.createElement(s); js.id = id;
  108.         js.src = 'https://connect.facebook.net/en_US/sdk/xfbml.customerchat.js';
  109.         fjs.parentNode.insertBefore(js, fjs);
  110.       }(document, 'script', 'facebook-jssdk'));</script>
  111.       <!-- Your Chat Plugin code -->
  112.       <div class="fb-customerchat"
  113.         attribution=setup_tool
  114.         page_id="583039961887816">
  115.       </div>
  116. {% endblock facebook_chatbot %}
  117. {% block javascripts %}
  118.   {# Footer #}
  119.     {# Footer #}
  120.    
  121.       <a href="#" class="back-to-top d-flex align-items-center justify-content-center"><i class="bi bi-arrow-up-short"></i></a>
  122.     
  123.     {{ include('modules/__scripts.twig') }}
  124.     
  125.   <script src="{{ asset('framework/ld/assets/vendor/bootstrap/js/bootstrap.bundle.min.js') }}"></script>
  126.   <script src="{{ asset('framework/ld/assets/vendor/php-email-form/validate.js') }}"></script>
  127.   <script src="{{ asset('framework/ld/assets/vendor/aos/aos.js') }}"></script>
  128.   <script src="{{ asset('framework/ld/assets/vendor/swiper/swiper-bundle.min.js') }}"></script>
  129.   <!-- Main JS File -->
  130.   <script src="{{ asset('framework/ld/assets/js/main.js') }}"></script>
  131. {% endblock javascripts %}
  132. </body>
  133. </html>