templates/bundles/SyliusShopBundle/layout.html.twig line 162

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="{{ app.request.locale|slice(0, 2) }}">
  3. <head>
  4.     {# Seulement si on est en production #}
  5.     {% if app.environment == 'prod' %}
  6.         <!-- Google Tag Manager -->
  7.         <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  8.               new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  9.             j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  10.             'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  11.           })(window,document,'script','dataLayer','GTM-KQZBRVZ');</script>
  12.         <!-- End Google Tag Manager -->
  13.     {% endif %}
  14.     <meta charset="utf-8">
  15.     <meta http-equiv="X-UA-Compatible" content="IE=edge">
  16.     <title>{% block title %}Bikers Avenue{% endblock %}</title>
  17.     <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.0/jquery.min.js" integrity="sha512-3gJwYpMe3QewGELv8k/BX9vcqhryRdzRMxVfq6ngyWXwo03GFEzjsUm8Q7RZcHPHksttq7/GFoxjCVUjkjvPdw==" crossorigin="anonymous" referrerpolicy="no-referrer" defer></script>
  18.     <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  19.     <link rel="icon" href="/favicon.svg" type="image/svg+xml">
  20. {#    <link href="https://api.mapbox.com/mapbox-assembly/v1.3.0/assembly.min.css" rel="stylesheet">#}
  21.     <script id="search-js" defer="" src="https://api.mapbox.com/search-js/v1.0.0-beta.16/web.js"></script>
  22.     <script src='https://api.mapbox.com/mapbox-gl-js/v2.9.1/mapbox-gl.js'></script>
  23.     <link href='https://api.mapbox.com/mapbox-gl-js/v2.9.1/mapbox-gl.css' rel='stylesheet' />
  24.     <link href='https://fonts.googleapis.com/css?family=Poppins' rel='stylesheet'>
  25.     {% block metatags %}
  26.     {% endblock %}
  27.     {% block stylesheets %}
  28.         <link href="https://afeld.github.io/emoji-css/emoji.css" rel="stylesheet">
  29.         <link href="{{ asset('style.css') }}" rel="stylesheet">
  30.         <style>
  31.             h1, h2, h3, h4, p, a, span, li, ul, button, input, label, textarea, select, option{
  32.                 font-family: 'Poppins', sans-serif !important;
  33.             }
  34.             *{
  35.                 /*font-family: 'Poppins', sans-serif !important;*/
  36.                 --xs-fz: 16px;
  37.                 --sm-fz: 20px;
  38.                 --md-fz: 28px;
  39.                 --lg-fz: 32px;
  40.             }
  41.             @media only screen and (max-width: 1025px){
  42.                 *{
  43.                     --xs-fz: 12px;
  44.                     --sm-fz: 14px;
  45.                     --md-fz: 18px;
  46.                     --lg-fz: 24px;
  47.                 }
  48.             }
  49.             #main-container{
  50.                 width: 100%;
  51.                 padding-bottom: 4rem;
  52.                 margin-top: 7.5rem;
  53.             }
  54.             #menu {
  55.                 background: transparent;
  56.                 position: absolute !important;
  57.                 width: 100%;
  58.                 height: 75px;
  59.                 margin: 0 !important;
  60.             }
  61.             .bitbag-page a, .bitbag-page a:hover {
  62.                 color: rgba(0, 0, 0, .87);
  63.                 width: 100%;
  64.             }
  65.             .bitbag-image-block a, .bitbag-image-block a:hover, .bitbag-image-block a:focus {
  66.                 color: #333333;
  67.             }
  68.             .top.one {
  69.                 margin-top: 1rem;
  70.             }
  71.             .bitbag-page, .bitbag-frequently-asked-question {
  72.                 padding-top: 1rem;
  73.                 padding-bottom: 1rem;
  74.                 border-bottom: 1px solid rgba(34, 36, 38, .15);
  75.             }
  76.             .bitbag-page:hover {
  77.                 background: rgba(0, 0, 0, .03);
  78.             }
  79.             .italic {
  80.                 font-style: italic;
  81.             }
  82.             .intro {
  83.                 text-align: center;
  84.                 text-transform: uppercase;
  85.                 font-weight: 900;
  86.             }
  87.             .intro.promo {
  88.                 text-align: center;
  89.                 text-transform: none;
  90.                 font-weight: 900;
  91.                 font-size: 20px;
  92.             }
  93.             .ui.menu .item > .label.credentials {
  94.                 font-size: 14px;
  95.             }
  96.             .cms-logo {
  97.                 margin-top: 20px;
  98.                 margin-bottom: 20px;
  99.             }
  100.             pre {
  101.                 overflow: auto;
  102.             }
  103.             .container-h {
  104.                 max-width: 1432px;
  105.                 width: 100%;
  106.                 margin: 0 auto;
  107.             }
  108.             .ui.breadcrumb{
  109.                 margin: 2rem 0 !important;
  110.             }
  111.         </style>
  112.         {{ sonata_block_render_event('sylius.shop.layout.stylesheets') }}
  113.         {{ sylius_template_event('sylius.shop.layout.stylesheets') }}
  114.     {% endblock %}
  115.     {{ sonata_block_render_event('sylius.shop.layout.head') }}
  116. </head>
  117. <body class="pushable">
  118. {% if app.request.pathInfo %}
  119.     <style>
  120.         #main-container{
  121.             margin-top: 75px;
  122.         }
  123.     </style>
  124. {% endif %}
  125. {% if app.environment == 'prod' %}
  126.     <!-- Google Tag Manager (noscript) -->
  127.     <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-KQZBRVZ"
  128.                       height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
  129.     <!-- End Google Tag Manager (noscript) -->
  130. {% endif %}
  131. {{ sonata_block_render_event('sylius.shop.layout.before_body') }}
  132. <div class="pusher">
  133.     {% block top %}
  134.         {% set urlpath = app.request.pathInfo %}
  135.         <div id="menu" class="ui large sticky inverted stackable menu">
  136.             {{ sonata_block_render_event('sylius.shop.layout.before_currency_switcher') }}
  137.             {{ render(controller('sylius.controller.shop.currency_switch:renderAction')) }}
  138.             {{ render(controller('sylius.controller.shop.locale_switch:renderAction')) }}
  139.             {{ sonata_block_render_event('sylius.shop.layout.before_security_widget') }}
  140.             {{ render(controller('sylius.controller.shop.security_widget:renderAction', {'urlpath': urlpath})) }}
  141.             {{ sonata_block_render_event('sylius.shop.layout.after_security_widget') }}
  142.         </div>
  143.     {% endblock %}
  144.     {% if app.request.pathInfo != "/" %}
  145.     <style>
  146.         /*#main-container{*/
  147.         /*    margin-top: 75px;*/
  148.         }
  149.         .container-h {
  150.             max-width: 1432px;
  151.             width: 100%;
  152.             margin: 0 auto;
  153.         }
  154.     </style>
  155.         {% endif %}
  156.     <div class="ui container" id="main-container">
  157. {#        {% block header %}#}
  158. {#            <header>#}
  159. {#                {% include '@SyliusShop/_header.html.twig' %}#}
  160. {#                {{ sonata_block_render_event('sylius.shop.layout.after_header') }}#}
  161. {#                <div class="ui large stackable menu">#}
  162. {#                    {{ render(url('sylius_shop_partial_taxon_index_by_code', {'code': 'menu_category', 'template': '@SyliusShop/Taxon/_horizontalMenu.html.twig'})) }}#}
  163. {#                    {{ render(path('bitbag_sylius_cms_plugin_shop_page_show_link_by_code', {'code' : 'about', 'template' : '@BitBagSyliusCmsPlugin/Shop/Page/Show/_link.html.twig'})) }}#}
  164. {#                    <a href="{{ path('sylius_admin_login') }}" class="item">#}
  165. {#                        <span class="ui label blue credentials">Admin credentials: bitbag, password: password</span>#}
  166. {#                    </a>#}
  167. {#                </div>#}
  168. {#            </header>#}
  169. {#        {% endblock %}#}
  170. {#        {% include '@SyliusUi/_flashes.html.twig' %}#}
  171.         {{ sonata_block_render_event('sylius.shop.layout.before_content') }}
  172.         {% block content %}
  173.         {% endblock %}
  174.         {{ sonata_block_render_event('sylius.shop.layout.after_content') }}
  175.     </div>
  176.     {% block footer %}
  177.         {% include '@SyliusShop/_footer.html.twig' %}
  178.     {% endblock %}
  179. </div>
  180. {% block javascripts %}
  181.     {% include '@SyliusUi/_javascripts.html.twig' with {'path': 'assets/shop/js/app.js'} %}
  182.     {{ sylius_template_event('sylius.shop.layout.javascripts') }}
  183.     {{ sonata_block_render_event('sylius.shop.layout.javascripts') }}
  184. {% endblock %}
  185. {% include '@SyliusUi/Modal/_confirmation.html.twig' %}
  186. {{ sonata_block_render_event('sylius.shop.layout.after_body') }}
  187. </body>
  188. </html>