templates/app/base.html.twig line 1

  1. <!DOCTYPE html>
  2. <html lang="{{ app.request.locale }}">
  3. <head>
  4.     <meta charset="UTF-8">
  5.     <meta http-equiv="ScreenOrientation" content="autoRotate:disabled">
  6.     <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
  7.     
  8.     <link rel="apple-touch-icon" sizes="180x180" href="{{ asset('build/images/app/apple-touch-icon.png') }}">
  9.     <link rel="icon" type="image/png" sizes="32x32" href="{{ asset('build/images/app/favicon-32x32.png') }}">
  10.     <link rel="icon" type="image/png" sizes="16x16" href="{{ asset('build/images/app/favicon-16x16.png') }}">
  11.     <link rel="manifest" href="{{ asset('build/images/app/site.webmanifest') }}">
  12.     <link rel="mask-icon" href="{{ asset('build/images/app/safari-pinned-tab.svg') }}" color="#5bbad5">
  13.     <meta name="msapplication-TileColor" content="#0f0e26">
  14.     <meta name="theme-color" content="#0f0e26">
  15.     <title>{% block title %}Ediswipe - Votre solution de support 0% papier{% endblock %}</title>
  16.     <link rel="preconnect" href="https://fonts.googleapis.com">
  17.     <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  18.     <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap" rel="stylesheet">
  19.     <script>
  20.         var vh = window.innerHeight * 0.01;
  21.         document.documentElement.style.setProperty('--vh', vh + 'px');
  22.         window.addEventListener('resize', function () {
  23.             vh = window.innerHeight * 0.01;
  24.             document.documentElement.style.setProperty('--vh', vh + 'px');
  25.         });
  26.         var vw = window.innerWidth * 0.01;
  27.         if ( window.innerWidth > 992 ) { vw = vh * 9 / 16 ; }
  28.         document.documentElement.style.setProperty('--vw', vw + 'px');
  29.         window.addEventListener('resize', function () {
  30.             vw = window.innerWidth * 0.01;
  31.             if ( window.innerWidth > 992 ) { vw = vh * 9 / 16 ; }
  32.             document.documentElement.style.setProperty('--vw', vw + 'px');
  33.         });
  34.     </script>
  35.     {% block stylesheets %}
  36.         {{ encore_entry_link_tags('app') }}
  37.     {% endblock %}
  38.     {% block javascripts %}
  39.         {{ encore_entry_script_tags('app') }}
  40.     {% endblock %}
  41. </head>
  42. <body>
  43.     {% block body %}{% endblock %}
  44. </body>
  45. </html>