templates/Front/homepage.html.twig line 1

Open in your IDE?
  1. {% extends '@templates/Front/Shop/layout.html.twig' %}
  2. {% block head %}
  3.     <head>
  4.         <meta charset="utf-8">
  5.         <meta name="verify-paysera" content="933b669cd20feb6010fff2d42583717d">
  6.         <meta http-equiv="X-UA-Compatible" content="IE=edge">
  7.         <meta http-equiv="Content-Language" content="ro">
  8.         <meta name="google-site-verification" content="BEtIqk-choaMawpOxG98NtbWKAZK5MuTxV_2-pSHGFQ">
  9.         <title>{{'app.ui.homepage_meta_title'|trans}} </title>
  10.         <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  11.         <meta name="description" content="{{'app.ui.homepage_meta_description'|trans}}">
  12.         <meta name="keywords" content="rovinieta online, roviniete online, rovinieta preţ, verificare valabilitate rovinieta, plata rovinieta online, calculator rovinieta">
  13.         {% block stylesheets %}
  14.             <link rel="stylesheet" href="/assets/shop/css/homepage.css">
  15.             <link rel="stylesheet" href="/assets/shop/css/bootstrap.min.css">
  16.             {{ encore_entry_link_tags('bootstrap-fix', null, 'bootstrapTheme') }}
  17.         {% endblock %}
  18.         {% set urlPath = app.request.uri %}
  19.         {% if urlPath is not null %}
  20.             <link rel="canonical" href="{{ urlPath }}"/>
  21.             {% set currentLocale = app.request.locale %}
  22.             {% if currentLocale is not null %}
  23.                 {% for locale in locales.allLocales %}
  24.                     {% if locale != currentLocale %}
  25.                         <link rel="alternate" hreflang="{{ locale }}"
  26.                               href="{{ absolute_url(path('sylius_shop_homepage', {'_locale': locale})) }}"/>
  27.                     {% endif %}
  28.                 {% endfor %}
  29.             {% endif %}
  30.         {% endif %}
  31.         {{ sonata_block_render_event('sylius.shop.layout.head') }}
  32.         {% block javascripts %}
  33.             <script src="{{ asset('assets/shop/js/sentry-bundle.min.js') }}"></script>
  34.             <script>
  35.                  if (typeof Sentry !== 'undefined') {
  36.                     Sentry.init({
  37.                         dsn: "{{ sentry_dsn }}",
  38.                         integrations: [new Sentry.Integrations.TryCatch({
  39.                             eventTarget: false,
  40.                         })]
  41.                     });
  42.                 }
  43.             </script>
  44.             <script src="{{ asset('assets/shop/js/jquery.min.js') }}"></script>
  45.             <script src="{{ asset('assets/shop/js/jquery-ui.min.js') }}"></script>
  46.             <script src="{{ asset('assets/shop/js/popper.min.js') }}"></script>
  47.             <script src="{{ asset('assets/shop/js/bootstrap.min.js') }}"></script>
  48.             <script src="{{ asset('assets/shop/js/leftmenu.js') }}"></script>
  49.             <script src="/bundles/fosjsrouting/js/router.js"></script>
  50.             <script src="{{ path('fos_js_routing_js', { callback: 'fos.Router.setData' }) }}"></script>
  51.             <script>
  52.                 dataLayer = [];
  53.             </script>
  54.             <!-- Google Tag Manager -->
  55.             <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  56.                         new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  57.                     j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  58.                     'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  59.                 })(window,document,'script','dataLayer','{{ gtm_code }}');</script>
  60.             <!-- End Google Tag Manager -->
  61.             {% include '@templates/ShopCustom/one_signal.html.twig' %}
  62.         {% endblock %}
  63.     </head>
  64. {% endblock %}
  65. {% block header %}
  66.     <!-- Google Tag Manager (noscript) -->
  67.     <noscript><iframe src="https://www.googletagmanager.com/ns.html?id={{ gtm_code }}"
  68.                       height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
  69.     <!-- End Google Tag Manager (noscript) -->
  70.     <div>
  71.         <div class="custom-container">
  72.             <div style="background-color: white; max-width: 100%">
  73.                 <header>
  74.                     <input id="collapsibleMenu" value="1" hidden>
  75.                     {% include '@templates/Front/Shop/v2/_header.html.twig' %}
  76.                     {{ sonata_block_render_event('sylius.shop.layout.after_header') }}
  77.                 </header>
  78.             </div>
  79.             {% if isTicketing is defined and isTicketing == "true"%}
  80.             {% else %}
  81.                 {% include '@templates/Front/Shop/_after_header.html.twig' %}
  82.             {% endif %}
  83.             {% for flash_message in app.session.flashBag.get('vignette-init-error') %}
  84.                 <div class="alert alert-warning alert-dismissible fade show" role="alert">
  85.                     <div class="header text-center">
  86.                         <h2>{{ 'sylius.ui.warning'|trans }}</h2>
  87.                     </div>
  88.                     <a class="text-center">
  89.                         {{ flash_message }}
  90.                     </a>
  91.                     <button type="button" class="close" data-dismiss="alert" aria-label="Close">
  92.                         <span aria-hidden="true">&times;</span>
  93.                     </button>
  94.                 </div>
  95.             {% endfor %}
  96.             {% for flash_message in app.session.flashBag.get('already_logged_in') %}
  97.                 <div class="alert alert-warning alert-dismissible fade show" role="alert">
  98.                     <div class="header text-center">
  99.                         <h2>{{ 'sylius.ui.warning'|trans }}</h2>
  100.                     </div>
  101.                     <a class="text-center">
  102.                         {{ 'app.ui.already_signed_in'|trans }}
  103.                     </a>
  104.                     <button type="button" class="close" data-dismiss="alert" aria-label="Close">
  105.                         <span aria-hidden="true">&times;</span>
  106.                     </button>
  107.                 </div>
  108.             {% endfor %}
  109.             {% for flash_message in app.session.flashBag.get('unsubscribe') %}
  110.                 <div class="alert alert-warning alert-dismissible fade show" role="alert">
  111.                     <div class="header text-center">
  112.                         <h2>{{ 'app.ui.success_action'|trans }}</h2>
  113.                     </div>
  114.                     <a class="text-center">
  115.                         {{ 'app.ui.successfully_unsubscribed'|trans }}
  116.                     </a>
  117.                     <button type="button" class="close" data-dismiss="alert" aria-label="Close">
  118.                         <span aria-hidden="true">&times;</span>
  119.                     </button>
  120.                 </div>
  121.             {% endfor %}
  122.             {% for flash_message in app.session.flashBag.get('productRemoved') %}
  123.                 <div class="alert alert-warning alert-dismissible fade show" role="alert">
  124.                     <div class="header text-center">
  125.                         <h2>{{ 'sylius.ui.warning'|trans }}</h2>
  126.                     </div>
  127.                     <a class="text-center">
  128.                         {{ 'app.hu_vignette.product_removed_from_cart'|trans }}
  129.                     </a>
  130.                     <button type="button" class="close" data-dismiss="alert" aria-label="Close">
  131.                         <span aria-hidden="true">&times;</span>
  132.                     </button>
  133.                 </div>
  134.             {% endfor %}
  135.             <div class="custom-container">
  136.                 <div class="container-rounded">
  137.                     {% include '@templates/Front/Shop/_shop_navbar.html.twig' %}
  138.                 </div>
  139.             </div>
  140.             <div class="custom-container">
  141.                 <div class="row">
  142.                     <div class="col-3">
  143.                         <div class="card w-100 special-card border-top-0">
  144.                             {% if lastProductStatus.rcaStatus is defined and lastProductStatus.rcaStatus %}
  145.                                 <a class="text-decoration-none" href="{{ lastProductStatus.rcaStatus ? path('app_shop_rca_details', {'from': constant('App\\Entity\\Customer\\TrackerActivity::FROM_HOMEPAGE')}) : '#' }}">
  146.                                     <div class="dropdown-item my-2 d-flex align-items-center" href="#">
  147.                                         <div class="mr-4">
  148.                                             <img src="{{ asset('assets/shop/images/icons/ic_produse_rca_dark_48.png') }}" width="35px"/>
  149.                                         </div>
  150.                                         <div>
  151.                                             <div class="d-flex align-items-center">
  152.                                                 <h4>{{ 'app.ui.rca'|trans }}</h4>
  153.                                             </div>
  154.                                         </div>
  155.                                     </div>
  156.                                 </a>
  157.                             {% endif %}
  158.                             {% if lastProductStatus.vignetteStatus is defined and lastProductStatus.vignetteStatus %}
  159.                                 <a class="text-decoration-none" href="{{ path('app_shop_vignette') }}">
  160.                                     <div class="dropdown-item my-2 d-flex align-items-center" href="#">
  161.                                         <div class="mr-4">
  162.                                             <img src="{{ asset('assets/shop/images/icons/ic_produse_roviniete_dark_48.png') }}"
  163.                                                  width="35px"/>
  164.                                         </div>
  165.                                         <div class="d-flex align-items-center">
  166.                                             <h4>{{ 'app.ui.vignette'|trans }}</h4>
  167.                                         </div>
  168.                                     </div>
  169.                                 </a>
  170.                             {% endif %}
  171.                             {% if lastProductStatus.huVignetteStatus is defined and lastProductStatus.huVignetteStatus %}
  172.                                 <a class="text-decoration-none" href="{{ path('app_shop_hu_vignette') }}">
  173.                                     <div class="dropdown-item my-2 d-flex align-items-center">
  174.                                         <div class="mr-4 d-flex justify-content-center" style="width: 35px">
  175.                                             <img src="{{ asset('assets/shop/images/icons/ematrica_black.png') }}" height="35px"/>
  176.                                         </div>
  177.                                         <div class="d-flex align-items-center">
  178.                                             <h4>{{ 'app.hu_vignette.hu_vignette'|trans }}</h4>
  179.                                         </div>
  180.                                     </div>
  181.                                 </a>
  182.                             {% endif %}
  183.                             {% if lastProductStatus.deathInsuranceStatus is defined and lastProductStatus.deathInsuranceStatus %}
  184.                                 <a class="text-decoration-none" href="{{ path('app_shop_death_insurance') }}">
  185.                                     <div class="dropdown-item my-2 d-flex align-items-center">
  186.                                         <div class="mr-4">
  187.                                             <img src="{{ asset('assets/shop/images/icons/person.png') }}" width="35px"/>
  188.                                         </div>
  189.                                         <h4>{{ 'app.ui.nn_insurance'|trans }}</h4>
  190.                                     </div>
  191.                                 </a>
  192.                             {% endif %}
  193.                             <a class="text-decoration-none" {% if lastProductStatus.peajStatus is defined and lastProductStatus.peajStatus %}href="{{ path('app_shop_peaj') }}" {% else %}href="https://www.taxadepod.ro/" target="_blank"{% endif %}>
  194.                                 <div class="dropdown-item my-2 d-flex align-items-center">
  195.                                     <div class="mr-4">
  196.                                         <img src="{{ asset('assets/shop/images/icons/ic_produse_pod_dark_48.png') }}" width="35px"/>
  197.                                     </div>
  198.                                     <h4>{{ 'app.ui.toll_tax'|trans }}</h4>
  199.                                 </div>
  200.                             </a>
  201.                             {% if lastProductStatus.licenseRecoveryStatus is defined and lastProductStatus.licenseRecoveryStatus %}
  202.                                 <a class="text-decoration-none" href="{{ path('app_shop_license_recovery') }}">
  203.                                     <div class="dropdown-item my-2 d-flex align-items-center">
  204.                                         <div class="mr-4">
  205.                                             <img src="{{ asset('assets/shop/images/icons/license.png') }}" width="35px"/>
  206.                                         </div>
  207.                                         <h4>{{ 'app.ui.license_recovery'|trans }}</h4>
  208.                                     </div>
  209.                                 </a>
  210.                             {% endif %}
  211.                             {% if lastProductStatus.telemedicineStatus is defined and lastProductStatus.telemedicineStatus %}
  212.                                 <a class="text-decoration-none" href="{{ path('app_shop_telemedicine') }}">
  213.                                     <div class="dropdown-item my-2 d-flex align-items-center">
  214.                                         <div class="mr-4">
  215.                                             <img src="{{ asset('assets/shop/images/icons/umbrella_plus.png') }}" width="35px"/>
  216.                                         </div>
  217.                                         <h4>{{ 'app.ui.telemedicine.menu_entry'|trans }}</h4>
  218.                                     </div>
  219.                                 </a>
  220.                             {% endif %}
  221.                             {% if lastProductStatus.roadAssistanceStatus is defined and lastProductStatus.roadAssistanceStatus %}
  222.                                 <a class="text-decoration-none" href="{{ path('app_shop_road_assistance') }}">
  223.                                     <div class="dropdown-item my-2 d-flex align-items-center">
  224.                                         <div class="mr-4">
  225.                                             <img src="{{ asset('assets/shop/images/icons/road_assistance.png') }}" width="35px"/>
  226.                                         </div>
  227.                                         <h4>{{ 'app.ui.road_assistance'|trans }}</h4>
  228.                                     </div>
  229.                                 </a>
  230.                             {% endif %}
  231.                         </div>
  232.                     </div>
  233.                     <div class="col-9">
  234.                         <div class="d-flex justify-content-between my-4">
  235.                             <div class="card text-center product-card product-vignette-card" style="width: 32%">
  236.                                 <div class="card-body">
  237.                                     <div class="mx-4 mt-4" style="margin-bottom: 4%;">
  238.                                         {% for category in vignetteCategories %}
  239.                                             <img src="{{ (asset('assets/shop/images/icons/ic_rovinieta_categ_' ~ category.code|first|lower) ~ '_white.png')}}" title="{{('app.ui.category_rovignette_' ~category.code|first|lower ~ '_name')|trans}}" style="width: 35px;" alt="{{('app.ui.category_rovignette_' ~category.code|first|lower ~ '_name')|trans}}" />
  240.                                             {% if loop.index % 4 == 0 %} <br> {% endif %}
  241.                                         {% endfor %}
  242.                                     </div>
  243.                                     <h3 class="card-title text-white mb-5"><strong>{{ 'app.ui.vignette'|trans }}</strong></h3>
  244.                                     <a href="{{ lastProductStatus.vignetteStatus ? path('app_shop_vignette') : '#' }}" class="btn {% if lastProductStatus.vignetteStatus %} btn-primary {% else %} btn-primary-inactive {% endif %} w-100">
  245.                                         {% if lastProductStatus.vignetteStatus == true %}
  246.                                             {{ 'app.ui.buy'|trans }}
  247.                                         {% else %}
  248.                                             {{ 'app.ui.disabled_temporary'|trans }}
  249.                                         {% endif %}
  250.                                     </a>
  251.                                 </div>
  252.                             </div>
  253.                             <div class="card text-center product-card product-oxygen-card" style="width: 32%">
  254.                                 <div class="card-body">
  255.                                     <img src="{{ asset('assets/shop/images/icons/ic_produse_rca_white_48.png') }}"
  256.                                          width="60px" class="my-4"/>
  257.                                     <h3 class="card-title text-white mb-5"><strong>{{ 'app.ui.rca'|trans }}</strong></h3>
  258.                                     <a href="{{ lastProductStatus.rcaStatus ? path('app_shop_rca_details', {'from': constant('App\\Entity\\Customer\\TrackerActivity::FROM_HOMEPAGE')}) : '#' }}" class="btn {% if lastProductStatus.rcaStatus %} btn-primary {% else %} btn-primary-inactive {% endif %} w-100">
  259.                                         {% if lastProductStatus.rcaStatus == true %}
  260.                                             {{ 'app.ui.buy'|trans }}
  261.                                         {% else %}
  262.                                             {{ 'app.ui.disabled_temporary'|trans }}
  263.                                         {% endif %}
  264.                                     </a>
  265.                                 </div>
  266.                             </div>
  267.                             {% if lastProductStatus.deathInsuranceStatus %}
  268.                             <div class="card text-center product-card product-nn-card" style="width: 32%">
  269.                                 <div class="card-body">
  270.                                     <img src="{{ asset('assets/shop/images/icons/person_white.png') }}"
  271.                                          height="60px" class="my-4"/>
  272.                                     <h3 class="card-title text-white mb-5"><strong>{{ 'app.ui.nn_insurance'|trans }}</strong></h3>
  273.                                     <a href="{{ path('app_shop_death_insurance') }}" class="btn btn-primary w-100">
  274.                                         {{ 'app.ui.buy'|trans }}
  275.                                     </a>
  276.                                 </div>
  277.                             </div>
  278.                             {% else %}
  279.                             <div class="card text-center product-card product-toll-card" style="width: 32%">
  280.                                 <div class="card-body">
  281.                                     <img src="{{ asset('assets/shop/images/icons/ematrica_white.png') }}"
  282.                                          height="60px" class="my-4"/>
  283.                                     <h3 class="card-title text-white mb-5"><strong>{{ 'app.hu_vignette.hu_vignette'|trans }}</strong></h3>
  284.                                     <a href="{{ lastProductStatus.huVignetteStatus ? path('app_shop_hu_vignette') : '#' }}" class="btn {% if lastProductStatus.huVignetteStatus %} btn-primary {% else %} btn-primary-inactive {% endif %} w-100">
  285.                                         {% if lastProductStatus.huVignetteStatus == true %}
  286.                                             {{ 'app.ui.buy'|trans }}
  287.                                         {% else %}
  288.                                             {{ 'app.ui.disabled_temporary'|trans }}
  289.                                         {% endif %}
  290.                                     </a>
  291.                                 </div>
  292.                             </div>
  293.                             {% endif %}
  294.                         </div>
  295.                     </div>
  296.                 </div>
  297.             </div>
  298.         </div>
  299.         <div class="custom-container my-3">
  300.             <h1>
  301.                 {{'app.ui.homepage_h1'|trans}}
  302.             </h1>
  303.         </div>
  304.         {% if isTicketing is defined and isTicketing == "true"%}
  305.         {% else %}
  306.             <div class="custom-container my-3">
  307.                 {% include '@templates/Front/Shop/_trust_cnair.html.twig' %}
  308.             </div>
  309.         {% endif %}
  310.         {% block get_help %}
  311.             <div class="custom-container my-4">
  312.                 <div class="container-help">
  313.                     <div class="row text-white d-flex align-items-center">
  314.                         <div class="col-9 mt-5">
  315.                             <h2 class="font-weight-bolder text-white  ml-5">
  316.                                 {{ 'app.ui.no_worries'|trans }}
  317.                             </h2>
  318.                             <h5 class="font-weight-bold text-white ml-5">
  319.                                 {{ 'app.ui.let_us_help_you'|trans }}
  320.                             </h5>
  321.                         </div>
  322.                         <div class="col-3">
  323.                             <div class="pt-3">
  324.                                 <a href="{{ path('sylius_shop_register') }}" class="btn btn-light h-100 text-primary font-weight-bold w-50 mt-4">{{ 'app.ui.create_account'|trans }}</a>
  325.                             </div>
  326.                         </div>
  327.                     </div>
  328.                 </div>
  329.             </div>
  330.         {% endblock %}
  331.         {% block info %}
  332.             <div class="custom-container">
  333.                 <div class="row d-flex align-items-center my-3">
  334.                     <div class="col-4">
  335.                         <h1 class="font-weight-bolder ml-5">
  336.                             {{ 'app.ui.we_help_you'|trans }}
  337.                         </h1>
  338.                         <h5 class="font-weight-bold ml-5">
  339.                             {{ 'app.ui.call_center_schedule'|trans }}
  340.                         </h5>
  341.                     </div>
  342.                     <div class="col-4">
  343.                         <h5 class="font-weight-bolder ml-5">
  344.                             {% if isTicketing is defined and isTicketing == "true"%}
  345.                                 <a href="tel:+40732773774">
  346.                                     <img src="{{ asset('assets/shop/images/icons/ic_contact_phone_primary_24.png') }}"
  347.                                          width="25px"/>
  348.                                     {{ call_center_phone_ticketing }}</a>
  349.                             {% else %}
  350.                                 <a href="tel:+40213009696">
  351.                                     <img src="{{ asset('assets/shop/images/icons/ic_contact_phone_primary_24.png') }}"
  352.                                          width="25px"/>
  353.                                     {{ call_center_phone }}</a>
  354.                             {% endif %}
  355.                         </h5>
  356.                     </div>
  357.                     <div class="col-4">
  358.                         <h5 class="font-weight-bolder ml-5">
  359.                             {% if isTicketing is defined and isTicketing == "true"%}
  360.                                 <a href="mailto:comenzi@taxeauto.ro">
  361.                                     <img src="{{ asset('assets/shop/images/icons/ic_contact_mail_primary_24.png') }}"
  362.                                          width="25px"/>
  363.                                     comenzi@taxeauto.ro</a>
  364.                             {% else %}
  365.                                 <a href="mailto:comenzi@roviniete.ro">
  366.                                     <img src="{{ asset('assets/shop/images/icons/ic_contact_mail_primary_24.png') }}"
  367.                                          width="25px"/>
  368.                                     comenzi@roviniete.ro</a>
  369.                             {% endif %}
  370.                         </h5>
  371.                     </div>
  372.                 </div>
  373.             </div>
  374.         {% endblock %}
  375.         {% block find_car_piece %}
  376.             <div class="custom-container d-none">
  377.                 <div class="card w-100 my-5 py-5">
  378.                     <div class="d-flex justify-content-between align-items-center">
  379.                         <div class="ml-auto">
  380.                             <h1 class="font-weight-bolder">
  381.                                 {{'app.ui.specific_search'|trans}}
  382.                             </h1>
  383.                             <h4 class="font-weight-bold">
  384.                                 {{'app.ui.choose_auto_pieces_easily'|trans|raw}}
  385.                             </h4>
  386.                         </div>
  387.                         <div class="ml-auto mr-auto">
  388.                             <h5>  {{'app.ui.vin'|trans}}:</h5>
  389.                             <form>
  390.                                 <input type="text" class="form-control my-3" style="background-color: #E2E2E2; width: 150%"
  391.                                        placeholder="EX: VF00000000" name="inputVIN">
  392.                                 <button type="submit" class="btn btn-primary" style="width: 150%">  {{'app.ui.search'|trans}}</button>
  393.                             </form>
  394.                         </div>
  395.                     </div>
  396.                 </div>
  397.             </div>
  398.         {% endblock %}
  399.         {% block pre_footer %}
  400.         <div class="custom-container mt-5">
  401.             <div class="bg-white">
  402.                 <div class="border-bottom pt-3 pb-4">
  403.                     <div class="row align-items-center">
  404.                         <div class="col-3">
  405.                             <a href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'descarca-rovinieta'})}}">
  406.                                 <h3 class="font-weight-bolder ml-5">
  407.                                     <img src="{{ asset('assets/shop/images/icons/ic_servicii_download_primary_24.png') }}"
  408.                                          width="25px"/>
  409.                                     {{'app.ui.download_vignette'|trans}}
  410.                                 </h3>
  411.                             </a>
  412.                         </div>
  413.                         <div class="col-3">
  414.                             <a href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'servicii-firme'})}}">
  415.                                 <h3 class="font-weight-bolder ml-5">
  416.                                     <img src="{{ asset('assets/shop/images/icons/ic_servicii_gear_primary_24.png') }}"
  417.                                          width="25px"/>
  418.                                     {{'app.ui.company_services'|trans}}
  419.                                 </h3>
  420.                             </a>
  421.                         </div>
  422.                         <div class="col-3">
  423.                             <a href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'verifica-valabilitatea-rovinietei'})}}">
  424.                                 <h3 class="font-weight-bolder ml-5">
  425.                                     <img src="{{ asset('assets/shop/images/icons/ic_servicii_shield_primary_24.png') }}"
  426.                                          width="25px"/>
  427.                                     {{'app.ui.validity_check'|trans}}
  428.                                 </h3>
  429.                             </a>
  430.                         </div>
  431.                         <div class="col-3">
  432.                             <a href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'Alerte-de-expirare'})}}">
  433.                                 <h3 class="font-weight-bolder ml-5">
  434.                                     <img
  435.                                         src="{{ asset('assets/shop/images/icons/ic_servicii_notifications_primary_24.png') }}"
  436.                                         width="25px"/>
  437.                                     {{'app.ui.expiry_alerts'|trans}}
  438.                                 </h3>
  439.                             </a>
  440.                         </div>
  441.                     </div>
  442.                 </div>
  443.             </div>
  444.         </div>
  445.     </div>
  446.     {% endblock %}
  447.     <script>
  448.         $(function () {
  449.             $('[data-toggle="popover"]').popover({
  450.                 trigger : 'hover'
  451.             })
  452.         })
  453.     </script>
  454.     <script>
  455.         $(document).ready(function() {
  456.             let email = null;
  457.             $("#mc-embedded-subscribe-form").submit(function () {
  458.                 let input = $(this).find("input[name=EMAIL]");
  459.                 email = input.val();
  460.             });
  461.             $('#mce-success-response').bind('DOMSubtreeModified', function (event) {
  462.                 let url = Routing.generate('app_newsletter');
  463.                 $.ajax({
  464.                     url: url,
  465.                     data: {'email': email},
  466.                     type: 'POST',
  467.                     dataType: 'json',
  468.                     async: true,
  469.                     success: function (data) {
  470.                     },
  471.                     error: function () {
  472.                     }
  473.                 });
  474.             });
  475.         });
  476.     </script>
  477.     <style>
  478.         .scala-banner {
  479.             width: 100%;
  480.             height: 90px;
  481.             background-image: url("/assets/shop/images/banner.png");
  482.             background-size: 100% 90px;
  483.             background-repeat: no-repeat;
  484.         }
  485.          .custom-container {
  486.              max-width: 1400px;
  487.              width: 100%;
  488.              margin: auto;
  489.          }
  490.          .banner-custom-container {
  491.              width: 100%;
  492.              background-image: url("/assets/shop/images/banner-background.png");
  493.              background-size: 100% 100%;
  494.              background-repeat: no-repeat;
  495.          }
  496.         .btn-primary-inactive {
  497.             background-color: #F19F6D;
  498.             color: #fff;
  499.         }
  500.         .btn-primary-inactive:hover {
  501.             color: #fff;
  502.         }
  503.         @media (min-width: 1400px)  {
  504.             #bannerCustomContainer {
  505.                 margin-left: 0;
  506.                 margin-right: 0;
  507.             }
  508.         }
  509.     </style>
  510. {% endblock %}