templates/public/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="{{ app.request.getLocale}}">
  3. <head>
  4.     <meta charset="UTF-8">
  5.     <link rel="shortcut icon" href="{{ asset('favicon.ico') }}" />
  6.     <title>{% block title %}{% trans %}title_block_page{% endtrans %}{% endblock %}</title>
  7.     {% block stylesheets %}
  8.         <link rel="stylesheet" href="{{ asset('css/fontawesome.css') }}">
  9.         <link rel="stylesheet" href="{{ asset('css/bootstrap.css') }}">
  10.         <link rel="stylesheet" href="{{ asset('css/animate.css') }}">
  11.         <link rel="stylesheet" href="{{ asset('css/fonts.css') }}">
  12.         <link rel="stylesheet" href="{{ asset('css/app.css') }}">
  13.         <link rel="stylesheet" href="{{ asset('css/public.css') }}">
  14.         <link rel="stylesheet" href="{{ asset('css/flag-icons-main/css/flag-icons.css') }}">
  15.         <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/intl-tel-input@18.2.1/build/css/intlTelInput.css">
  16.         <script src="https://cdn.jsdelivr.net/npm/intl-tel-input@18.2.1/build/js/intlTelInput.min.js"></script>
  17.         <style>
  18.             header {
  19.                 position: relative;
  20.             }
  21.             .header-logo {
  22.                 position: absolute;
  23.                 top: 20%;
  24.                 left: 50%;
  25.                 transform: translate(-50%, -50%);
  26.                 z-index: 1;
  27.             }
  28.             .img-fluid {
  29.                 width: 100%;
  30.                 height: auto;
  31.             }
  32.             @media only screen and (max-width: 767px) {
  33.                 /* Styles spécifiques pour les appareils mobiles avec une largeur maximale de 767px */
  34.                 header img{
  35.                     width: 65%;
  36.                 }
  37.                 .modal-content{
  38.                     min-width: inherit!important;
  39.                 }
  40.             }
  41.         </style>
  42.     {% endblock %}
  43.     {% block custom_header %}
  44.         <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1">
  45.         <meta name="theme-color" content="#09090B"/>
  46.         <link rel="apple-touch-icon" href="{{ asset('images/touch/homescreen192.png') }}">
  47.     {% endblock %}
  48. </head>
  49. <body>
  50. <header>
  51.     <img src="{{ asset('images/logo_mf_mfxpt.svg') }}" class="header-logo">
  52.     <img src="{{ asset('uploads/event_image/DEFAULT/default_banner_mfexpt.jpg') }}" class="img-fluid">
  53.     {#<img src="{{ asset('images/header_1400x390.jpg') }}" class="img-fluid">#}
  54.     {#<img src="{{ asset('images/header_small.jpg') }}" class="smallScreen">#}
  55. </header>
  56. {% block body %}{% endblock %}
  57. <footer class="footer">
  58.     <div class="container text-right">
  59.         <img src="{{ asset('images/agco_sign.svg') }}" style="width: 21%;margin-top: 10px;margin-bottom: 10px;">
  60.     </div>
  61. </footer>
  62. {% block javascripts %}
  63.     <script src="{{ asset('js/jquery.js') }}"></script>
  64.     <script src="{{ asset('js/popper.js') }}"></script>
  65.     <script src="{{ asset('js/bootstrap.js') }}"></script>
  66.     <script>
  67.         $(document).ready(function(){
  68.             $('.nav-button').click(function(){
  69.                 $('body').toggleClass('nav-open');
  70.             });
  71.         });
  72.     </script>
  73. {% endblock %}
  74. </body>
  75. </html>