templates/layouts/front/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="fr">
  3. <head>
  4.     <meta charset="UTF-8">
  5.     <title>{% block title %}{{ parametres.structure.name ?? company_name }}{% endblock %}</title>
  6.     <meta name="author" content="{{ parametres.structure.name ?? company_name }}">
  7.     <!-- description -->
  8.     <meta name="description" content="{{  parametres.structure.description ?? '' }}">
  9.     <!-- keywords -->
  10.     <meta name="keywords" content="{{ parametres.structure.keywords ?? '' }}">
  11.     <meta name="viewport" content="width=device-width, initial-scale=1">
  12.     <link rel="shortcut icon" href="{{ asset('assetics/assets/images/favicon.ico') }}"/>
  13.     <link rel="stylesheet" href="{{ asset('assetics/internes/styles/kenburns.css') }}">
  14.     <link rel="stylesheet" href="{{ asset('assetics/internes/styles/css/slick.css') }}">
  15.     <link rel="stylesheet" href="{{ asset('assetics/internes/styles/css/slick-theme.css') }}">
  16.     <link rel="stylesheet" href="{{ asset('assetics/internes/styles/css/jquery.datepicker2.css') }}">
  17.     <link rel="stylesheet" href="{{ asset('assetics/internes/styles/css/animate.css') }}">
  18.     <link rel="stylesheet" href="{{ asset('assetics/thematiques/css/animate.css') }}">
  19.     <link rel="stylesheet" href="{{ asset('assetics/thematiques/css/bootsnav.css') }}">
  20.     <link rel="stylesheet" href="{{ asset('assetics/thematiques/css/bootstrap.min.css') }}">
  21.     <link rel="stylesheet" href="{{ asset('assetics/thematiques/css/et-line-icons.css') }}" />
  22.     <!-- font-awesome icon -->
  23.     <link rel="stylesheet" href="{{ asset('assetics/thematiques/css/font-awesome.min.css') }}" />
  24.     <!-- themify icon -->
  25.     <link rel="stylesheet" href="{{ asset('assetics/thematiques/css/themify-icons.css') }}">
  26.     <!-- swiper carousel -->
  27.     <link rel="stylesheet" href="{{ asset('assetics/thematiques/css/swiper.min.css') }}">
  28.     <!-- justified gallery  -->
  29.     <link rel="stylesheet" href="{{ asset('assetics/thematiques/css/justified-gallery.min.css') }}">
  30.     <!-- magnific popup -->
  31.     <link rel="stylesheet" href="{{ asset('assetics/thematiques/css/magnific-popup.css') }}" />
  32.     <link rel="stylesheet" href="{{ asset('assetics/thematiques/css/style.css') }}">
  33.     <link rel="stylesheet" href="{{ asset('assetics/thematiques/css/responsive.css') }}" />
  34.     <link rel="stylesheet" href="{{ asset('assetics/internes/styles/style.css') }}">
  35.     <!-- include the style -->
  36.     <link href="{{ asset('bundles/mercuryseriesflashy/css/flashy.css') }}" rel="stylesheet">
  37.     <link rel="stylesheet" href="{{ asset('bundles/alertifyjs/build/css/alertify.min.css') }}" />
  38.     <!-- include a theme -->
  39.     <link rel="stylesheet" href="{{ asset('bundles/alertifyjs/build/css/themes/bootstrap.min.css') }}" />
  40.     {{ encore_entry_link_tags('app') }}
  41.     {% block stylesheets %}{% endblock %}
  42. </head>
  43. <body>
  44. <header id="header-1" style="overflow: hidden;position: relative; z-index: 99999999!important;">
  45.     <!-- start mainslider -->
  46.     {{ mainslider() }}
  47.     <!-- end mainslider -->
  48.     <!-- start navigation -->
  49.     <nav style="position: fixed; top: 0;" class="navbar navbar-default bootsnav nav-box-width {% if app.request.get('_route') == 'home' %} bg-white-home {% else %} bg-white {% endif %} navbar-expand-lg">
  50.         <div class="container-fluid nav-header-container">
  51.             <!-- start logo -->
  52.             <div class="col-auto pl-0">
  53.                 {% include 'layouts/front/partials/__logo.html.twig' %}
  54.             </div>
  55.             <!-- end logo -->
  56.             <div class="col accordion-menu pr-0 pr-md-3">
  57.                 <button type="button" class="navbar-toggler collapsed" data-toggle="collapse" data-target="#navbar-collapse-toggle-1">
  58.                     <span class="sr-only">toggle navigation</span>
  59.                     <span class="icon-bar"></span>
  60.                     <span class="icon-bar"></span>
  61.                     <span class="icon-bar"></span>
  62.                 </button>
  63.                 <div class="navbar-collapse collapse justify-content-end" id="navbar-collapse-toggle-1">
  64.                     {% include 'layouts/front/partials/__navigation.html.twig' %}
  65.                 </div>
  66.             </div>
  67.             <div class="col-auto pr-0">
  68.                 <div class="header-social-icon d-none d-md-inline-block">
  69.                     {% include 'pages/partials/__social_link.html.twig' %}
  70.                     {#{{ locale_links() }}#}
  71.                 </div>
  72.             </div>
  73.         </div>
  74.     </nav>
  75.     <!-- end navigation -->
  76.     {#<div id="form-1-area" style="margin-bottom: 0px!important;width: 50%!important;margin-left: 25%">
  77.         <div class="container" style="display: flex; flex-direction:row; text-align: center; justify-content: space-between; background: rgba(255,255,255, 0.8); padding: 15px">
  78.             <a href="#"><div class="pub-item pub-covi19"><img src="{{ asset('assetics/internes/images/pub_corona.png') }}" width="80%" alt=""></div></a>
  79.             <a href="https://docs.google.com/forms/d/e/1FAIpQLSfFg-pDi-n2ftQvmHfN9FZZ3PAI0vnEpRUBQbUekcYiIc8Hjw/viewform" target="_blank">
  80.                 <div class="pub-item pub-booking"><img src="{{ asset('assetics/internes/images/pub_enregistrement.png') }}" width="80%" alt=""></div>
  81.             </a>
  82.         </div>
  83.     </div>#}
  84. </header>
  85. <div class="container">
  86.     <figure style="margin-top: 30px!important;">
  87.         {#<figcaption>Listen to the T-Rex:</figcaption>#}
  88.         <audio autoplay style="outline: none!important;" controls src="{{ asset('assetics/assets/audio/book1-prelude01-1.mp3') }}">
  89.             Your browser does not support the
  90.             <code>audio</code> element.
  91.         </audio>
  92.     </figure>
  93. </div>
  94. {% block body %}{% endblock %}
  95. {% include 'layouts/front/partials/__footer.html.twig' %}
  96. <script src="{{ asset('assetics/internes/scripts/jquery-3.4.1.js') }}"> </script>
  97. <script src="{{ asset('assetics/internes/scripts/slick.min.js') }}"></script>
  98. <script src="{{ asset('assetics/internes/scripts/jquery.datepicker2.js') }}"></script>
  99. <script src="{{ asset('assetics/internes/scripts/isotope.pkgd.min.js') }}"></script>
  100. <script src="{{ asset('assetics/internes/scripts/app.js') }}"></script>
  101. <script src="{{ asset('assetics/internes/scripts/kenburning.min.js') }}"></script>
  102. <!-- menu navigation -->
  103. <script type="text/javascript" src="{{ asset('assetics/thematiques/js/bootsnav.js') }}"></script>
  104. <script type="text/javascript" src="{{ asset('assetics/thematiques/js/jquery.nav.js') }}"></script>
  105. <script type="text/javascript" src="{{ asset('assetics/thematiques/js/classie.js') }}"></script>
  106. <script type="text/javascript" src="{{ asset('assetics/thematiques/js/hamburger-menu.js') }}"></script>
  107. <!-- magnific popup -->
  108. <script type="text/javascript" src="{{ asset('assetics/thematiques/js/jquery.magnific-popup.min.js') }}"></script>
  109. <script src="{{ asset('assetics/assets/js/script.js') }}"></script>
  110. <script src="{{ asset('bundles/mercuryseriesflashy/js/flashy.js') }}"></script>
  111. <script src="{{ asset('bundles/alertifyjs/build/alertify.min.js') }}"></script>
  112. <script src="{{ asset('bundles/fosjsrouting/js/router.min.js') }}"></script>
  113. <script src="{{ path('fos_js_routing_js', { callback: 'fos.Router.setData' }) }}"></script>
  114. {{ encore_entry_script_tags('app') | replace({'src=':'defer src='}) | raw }}
  115. <script>
  116.     if($('.kenburns').length){
  117.         $('.kenburns').each(function () {
  118.             var time = $(this).attr('data-time') ? $(this).attr('data-time') : 9000;
  119.             $(this).kenBurning({
  120.                 time : time
  121.             });
  122.         });
  123.     }
  124.     function kenburnsHeight() {
  125.         if($('.kenburns-wrap').length){
  126.             $('.kenburns-wrap').each(function () {
  127.                 var headerH = $('.header_top_bg').not('.header_trans-fixed').outerHeight() || 0,
  128.                     footerH = $('#footer').not('.fix-bottom').outerHeight() || 0,
  129.                     sliderH = $(window).height() - (headerH + footerH),
  130.                     bottomplay = $('#footer').hasClass('fix-bottom') ? ($('#footer').outerHeight() + 60) : '30';
  131.                 $(this).find('.kenburns-play').css('bottom', bottomplay + 'px');
  132.                 $(this).find('.whizz-sound-btn').css('bottom', bottomplay + 'px');
  133.                 $(this).css('height', sliderH + 'px');
  134.                 if($(window).width() < 768 && _ismobile){
  135.                     $(this).find('.whizz-sound-btn').css('bottom', bottomplay - 50 + 'px');
  136.                     $(this).find('.caption').css('bottom', bottomplay + 10 + 'px');
  137.                 }else{
  138.                     $(this).find('.caption').css('bottom', bottomplay - 20 + 'px');
  139.                     $(this).find('.whizz-sound-btn').css('bottom', bottomplay + 'px');
  140.                 }
  141.             });
  142.         }
  143.     }
  144.     setTimeout(kenburnsHeight, 0);
  145. </script>
  146. </body>
  147. </html>