templates/layout.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. {% set route_name = app.request.attributes.get('_route') %}
  3. {% set site = pimcore_site(0) %}
  4. <html lang="en">
  5. <head>
  6.     <meta charset="UTF-8">
  7.     <meta name="viewport" content="width=device-width, initial-scale=1.0">
  8.     <title>PimCore - Pour Moi</title>
  9.     
  10.     <link rel="stylesheet" href="{{ asset('css/tailwind.css') }}" />
  11.     <link rel="stylesheet" href="{{ asset('css/sizeguide.css') }}" />
  12.     
  13.     <link rel="icon" type="image/x-icon" href="{{ app.request.baseUrl }}/webassets/favicon.ico"/>
  14.     <style>
  15.         .modal {
  16.             transition: opacity 0.25s ease;
  17.         }
  18.         body.modal-active {
  19.             overflow-x: hidden;
  20.             overflow-y: visible !important;
  21.         }
  22.   </style>
  23. </head>
  24. <body class="bg-white">
  25.     <div id="site">
  26.         <div class="sticky top-0 z-30">
  27.             
  28.         </div>
  29.         
  30.         <div class="info">
  31.             {{ block('content') }}
  32.         </div>
  33.     </div>
  34.     <script src="https://cdn.jsdelivr.net/gh/alpinejs/alpine@v2.x.x/dist/alpine.min.js" defer></script>
  35.     <script>
  36.       function ShowNavigation() {
  37.         var element = document.getElementById('mobileNavigation');
  38.         var classList = element.className.split(/\s+/);
  39.         for (var i = 0; i < classList.length; i++) {
  40.             if (classList[i] === 'hidden') {
  41.                 element.classList.remove("hidden");
  42.                 element.classList.add("block");
  43.             } else if (classList[i] === 'block') {
  44.                 element.classList.remove("block");
  45.                 element.classList.add("hidden");
  46.             }
  47.         }
  48.       }
  49.   </script>
  50. </body>
  51. </html>