templates/Front/homepage.html.twig line 38

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 %}
  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>
  153.                                                     {{ 'app.ui.rca'|trans }}
  154.                                                 </h4>
  155.                                             </div>
  156.                                         </div>
  157.                                     </div>
  158.                                 </a>
  159.                             {% endif %}
  160.                             {% if lastProductStatus.vignetteStatus  %}
  161.                                 <a class="text-decoration-none" href="{{ path('app_shop_vignette') }}">
  162.                                     <div class="dropdown-item my-2 d-flex align-items-center" href="#">
  163.                                         <div class="mr-4">
  164.                                             <img src="{{ asset('assets/shop/images/icons/ic_produse_roviniete_dark_48.png') }}"
  165.                                                  width="35px"/>
  166.                                         </div>
  167.                                         <div class="d-flex align-items-center">
  168.                                             <h4>
  169.                                                 {{ 'app.ui.vignette'|trans }}
  170.                                             </h4>
  171.                                         </div>
  172.                                     </div>
  173.                                 </a>
  174.                             {% endif %}
  175.                             {% if lastProductStatus.huVignetteStatus %}
  176.                                 <a class="text-decoration-none" href="{{ path('app_shop_hu_vignette') }}">
  177.                                     <div class="dropdown-item my-2 d-flex align-items-center">
  178.                                         <div class="mr-4 d-flex justify-content-center" style="width: 35px">
  179.                                             <img src="{{ asset('assets/shop/images/icons/ematrica_black.png') }}" height="35px"/>
  180.                                         </div>
  181.                                         <div class="d-flex align-items-center">
  182.                                             <h4>
  183.                                                 {{ 'app.hu_vignette.hu_vignette'|trans }}
  184.                                             </h4>
  185.                                         </div>
  186.                                     </div>
  187.                                 </a>
  188.                             {% endif %}
  189.                             {% if lastProductStatus.deathInsuranceStatus %}
  190.                                 <div class="my-2" style="cursor: pointer">
  191.                                     <div class="dropdown-item" onclick="location.href='{{ path('app_shop_death_insurance') }}'">
  192.                                         <img src="{{ asset('assets/shop/images/icons/person.png') }}"
  193.                                              class="px-2" height="35px" style="margin-right: 10px; padding-left: 0 !important;"/>
  194.                                         <a style="font-size: 21px" class="text-highlight text-dark text-decoration-none text-dark">
  195.                                             {{ 'app.ui.nn_insurance'|trans }}
  196.                                         </a>
  197.                                     </div>
  198.                                 </div>
  199.                             {% endif %}
  200.                             {% if lastProductStatus.peajStatus is defined and lastProductStatus.peajStatus %}
  201.                                 <a class="text-decoration-none" href="{{ path('app_shop_peaj') }}">
  202.                                     <div class="dropdown-item my-2 d-flex align-items-center">
  203.                                         <div class="mr-4">
  204.                                             <img src="{{ asset('assets/shop/images/icons/ic_produse_pod_dark_48.png') }}" width="35px"/>
  205.                                         </div>
  206.                                         <h4 >
  207.                                             {{ 'app.ui.toll_tax'|trans }}
  208.                                         </h4>
  209.                                     </div>
  210.                                 </a>
  211.                             {% endif %}
  212.                             {% if lastProductStatus.licenseRecoveryStatus is defined and lastProductStatus.licenseRecoveryStatus %}
  213.                                 <a class="text-decoration-none" href="{{ path('app_shop_license_recovery') }}">
  214.                                     <div class="dropdown-item my-2 d-flex align-items-center">
  215.                                         <div class="mr-4">
  216.                                             <img src="{{ asset('assets/shop/images/icons/license.png') }}" width="35px"/>
  217.                                         </div>
  218.                                         <h4>
  219.                                             {{ 'app.ui.license_recovery'|trans }}
  220.                                         </h4>
  221.                                     </div>
  222.                                 </a>
  223.                             {% endif %}
  224.                             {% if lastProductStatus.telemedicineStatus is defined and lastProductStatus.telemedicineStatus %}
  225.                                 <a class="text-decoration-none" href="{{ path('app_shop_telemedicine') }}">
  226.                                     <div class="dropdown-item my-2 d-flex align-items-center">
  227.                                         <div class="mr-4">
  228.                                             <img src="{{ asset('assets/shop/images/icons/umbrella_plus.png') }}" width="35px"/>
  229.                                         </div>
  230.                                         <h4>
  231.                                             {{ 'app.ui.telemedicine.menu_entry'|trans }}
  232.                                         </h4>
  233.                                     </div>
  234.                                 </a>
  235.                             {% endif %}
  236.                             {% if lastProductStatus.roadAssistanceStatus is defined and lastProductStatus.roadAssistanceStatus %}
  237.                                 <a class="text-decoration-none" href="{{ path('app_shop_road_assistance') }}">
  238.                                     <div class="dropdown-item my-2 d-flex align-items-center">
  239.                                         <div class="mr-4">
  240.                                             <img src="{{ asset('assets/shop/images/icons/road_assistance.png') }}" width="35px"/>
  241.                                         </div>
  242.                                         <h4>
  243.                                             {{ 'app.ui.road_assistance'|trans }}
  244.                                         </h4>
  245.                                     </div>
  246.                                 </a>
  247.                             {% endif %}
  248.                         </div>
  249.                     </div>
  250.                     <div class="col-9">
  251.                         <div class="d-flex justify-content-between my-4">
  252.                             <div class="card text-center product-card product-vignette-card" style="width: 32%">
  253.                                 <div class="card-body">
  254.                                     <div class="mx-4 mt-4" style="margin-bottom: 4%;">
  255.                                         {% for category in vignetteCategories %}
  256.                                             <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}}" />
  257.                                             {% if loop.index % 4 == 0 %} <br> {% endif %}
  258.                                         {% endfor %}
  259.                                     </div>
  260.                                     <h3 class="card-title text-white mb-5"><strong>{{ 'app.ui.vignette'|trans }}</strong></h3>
  261.                                     <a href="{{ lastProductStatus.vignetteStatus ? path('app_shop_vignette') : '#' }}" class="btn {% if lastProductStatus.vignetteStatus %} btn-primary {% else %} btn-primary-inactive {% endif %} w-100">
  262.                                         {% if lastProductStatus.vignetteStatus == true %}
  263.                                             {{ 'app.ui.buy'|trans }}
  264.                                         {% else %}
  265.                                             {{ 'app.ui.disabled_temporary'|trans }}
  266.                                         {% endif %}
  267.                                     </a>
  268.                                 </div>
  269.                             </div>
  270.                             <div class="card text-center product-card product-oxygen-card" style="width: 32%">
  271.                                 <div class="card-body">
  272.                                     <img src="{{ asset('assets/shop/images/icons/ic_produse_rca_white_48.png') }}"
  273.                                          width="60px" class="my-4"/>
  274.                                     <h3 class="card-title text-white mb-5"><strong>{{ 'app.ui.rca'|trans }}</strong></h3>
  275.                                     <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">
  276.                                         {% if lastProductStatus.rcaStatus == true %}
  277.                                             {{ 'app.ui.buy'|trans }}
  278.                                         {% else %}
  279.                                             {{ 'app.ui.disabled_temporary'|trans }}
  280.                                         {% endif %}
  281.                                     </a>
  282.                                 </div>
  283.                             </div>
  284.                             {% if lastProductStatus.deathInsuranceStatus %}
  285.                             <div class="card text-center product-card product-nn-card" style="width: 32%">
  286.                                 <div class="card-body">
  287.                                     <img src="{{ asset('assets/shop/images/icons/person_white.png') }}"
  288.                                          height="60px" class="my-4"/>
  289.                                     <h3 class="card-title text-white mb-5"><strong>{{ 'app.ui.nn_insurance'|trans }}</strong></h3>
  290.                                     <a href="{{ path('app_shop_death_insurance') }}" class="btn btn-primary w-100">
  291.                                         {{ 'app.ui.buy'|trans }}
  292.                                     </a>
  293.                                 </div>
  294.                             </div>
  295.                             {% else %}
  296.                             <div class="card text-center product-card product-toll-card" style="width: 32%">
  297.                                 <div class="card-body">
  298.                                     <img src="{{ asset('assets/shop/images/icons/ematrica_white.png') }}"
  299.                                          height="60px" class="my-4"/>
  300.                                     <h3 class="card-title text-white mb-5"><strong>{{ 'app.hu_vignette.hu_vignette'|trans }}</strong></h3>
  301.                                     <a href="{{ lastProductStatus.huVignetteStatus ? path('app_shop_hu_vignette') : '#' }}" class="btn {% if lastProductStatus.huVignetteStatus %} btn-primary {% else %} btn-primary-inactive {% endif %} w-100">
  302.                                         {% if lastProductStatus.huVignetteStatus == true %}
  303.                                             {{ 'app.ui.buy'|trans }}
  304.                                         {% else %}
  305.                                             {{ 'app.ui.disabled_temporary'|trans }}
  306.                                         {% endif %}
  307.                                     </a>
  308.                                 </div>
  309.                             </div>
  310.                             {% endif %}
  311.                         </div>
  312.                     </div>
  313.                 </div>
  314.             </div>
  315.         </div>
  316.         <div class="custom-container my-3">
  317.             <h1>
  318.                 {{'app.ui.homepage_h1'|trans}}
  319.             </h1>
  320.         </div>
  321.         {% if isTicketing is defined and isTicketing == "true"%}
  322.         {% else %}
  323.             <div class="custom-container my-3">
  324.                 {% include '@templates/Front/Shop/_trust_cnair.html.twig' %}
  325.             </div>
  326.         {% endif %}
  327.         {% block get_help %}
  328.             <div class="custom-container my-4">
  329.                 <div class="container-help">
  330.                     <div class="row text-white d-flex align-items-center">
  331.                         <div class="col-9 mt-5">
  332.                             <h2 class="font-weight-bolder text-white  ml-5">
  333.                                 {{ 'app.ui.no_worries'|trans }}
  334.                             </h2>
  335.                             <h5 class="font-weight-bold text-white ml-5">
  336.                                 {{ 'app.ui.let_us_help_you'|trans }}
  337.                             </h5>
  338.                         </div>
  339.                         <div class="col-3">
  340.                             <div class="pt-3">
  341.                                 <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>
  342.                             </div>
  343.                         </div>
  344.                     </div>
  345.                 </div>
  346.             </div>
  347.         {% endblock %}
  348.         {% block info %}
  349.             <div class="custom-container">
  350.                 <div class="row d-flex align-items-center my-3">
  351.                     <div class="col-4">
  352.                         <h1 class="font-weight-bolder ml-5">
  353.                             {{ 'app.ui.we_help_you'|trans }}
  354.                         </h1>
  355.                         <h5 class="font-weight-bold ml-5">
  356.                             {{ 'app.ui.call_center_schedule'|trans }}
  357.                         </h5>
  358.                     </div>
  359.                     <div class="col-4">
  360.                         <h5 class="font-weight-bolder ml-5">
  361.                             {% if isTicketing is defined and isTicketing == "true"%}
  362.                                 <a href="tel:+40732773774">
  363.                                     <img src="{{ asset('assets/shop/images/icons/ic_contact_phone_primary_24.png') }}"
  364.                                          width="25px"/>
  365.                                     {{ call_center_phone_ticketing }}</a>
  366.                             {% else %}
  367.                                 <a href="tel:+40213009696">
  368.                                     <img src="{{ asset('assets/shop/images/icons/ic_contact_phone_primary_24.png') }}"
  369.                                          width="25px"/>
  370.                                     {{ call_center_phone }}</a>
  371.                             {% endif %}
  372.                         </h5>
  373.                     </div>
  374.                     <div class="col-4">
  375.                         <h5 class="font-weight-bolder ml-5">
  376.                             {% if isTicketing is defined and isTicketing == "true"%}
  377.                                 <a href="mailto:comenzi@taxeauto.ro">
  378.                                     <img src="{{ asset('assets/shop/images/icons/ic_contact_mail_primary_24.png') }}"
  379.                                          width="25px"/>
  380.                                     comenzi@taxeauto.ro</a>
  381.                             {% else %}
  382.                                 <a href="mailto:comenzi@roviniete.ro">
  383.                                     <img src="{{ asset('assets/shop/images/icons/ic_contact_mail_primary_24.png') }}"
  384.                                          width="25px"/>
  385.                                     comenzi@roviniete.ro</a>
  386.                             {% endif %}
  387.                         </h5>
  388.                     </div>
  389.                 </div>
  390.             </div>
  391.         {% endblock %}
  392.         {% block find_car_piece %}
  393.             <div class="custom-container d-none">
  394.                 <div class="card w-100 my-5 py-5">
  395.                     <div class="d-flex justify-content-between align-items-center">
  396.                         <div class="ml-auto">
  397.                             <h1 class="font-weight-bolder">
  398.                                 {{'app.ui.specific_search'|trans}}
  399.                             </h1>
  400.                             <h4 class="font-weight-bold">
  401.                                 {{'app.ui.choose_auto_pieces_easily'|trans|raw}}
  402.                             </h4>
  403.                         </div>
  404.                         <div class="ml-auto mr-auto">
  405.                             <h5>  {{'app.ui.vin'|trans}}:</h5>
  406.                             <form>
  407.                                 <input type="text" class="form-control my-3" style="background-color: #E2E2E2; width: 150%"
  408.                                        placeholder="EX: VF00000000" name="inputVIN">
  409.                                 <button type="submit" class="btn btn-primary" style="width: 150%">  {{'app.ui.search'|trans}}</button>
  410.                             </form>
  411.                         </div>
  412.                     </div>
  413.                 </div>
  414.             </div>
  415.         {% endblock %}
  416.         {% block pre_footer %}
  417.         <div class="custom-container mt-5">
  418.             <div class="bg-white">
  419.                 <div class="border-bottom pt-3 pb-4">
  420.                     <div class="row align-items-center">
  421.                         <div class="col-3">
  422.                             <a href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'descarca-rovinieta'})}}">
  423.                                 <h3 class="font-weight-bolder ml-5">
  424.                                     <img src="{{ asset('assets/shop/images/icons/ic_servicii_download_primary_24.png') }}"
  425.                                          width="25px"/>
  426.                                     {{'app.ui.download_vignette'|trans}}
  427.                                 </h3>
  428.                             </a>
  429.                         </div>
  430.                         <div class="col-3">
  431.                             <a href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'servicii-firme'})}}">
  432.                                 <h3 class="font-weight-bolder ml-5">
  433.                                     <img src="{{ asset('assets/shop/images/icons/ic_servicii_gear_primary_24.png') }}"
  434.                                          width="25px"/>
  435.                                     {{'app.ui.company_services'|trans}}
  436.                                 </h3>
  437.                             </a>
  438.                         </div>
  439.                         <div class="col-3">
  440.                             <a href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'verifica-valabilitatea-rovinietei'})}}">
  441.                                 <h3 class="font-weight-bolder ml-5">
  442.                                     <img src="{{ asset('assets/shop/images/icons/ic_servicii_shield_primary_24.png') }}"
  443.                                          width="25px"/>
  444.                                     {{'app.ui.validity_check'|trans}}
  445.                                 </h3>
  446.                             </a>
  447.                         </div>
  448.                         <div class="col-3">
  449.                             <a href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'Alerte-de-expirare'})}}">
  450.                                 <h3 class="font-weight-bolder ml-5">
  451.                                     <img
  452.                                         src="{{ asset('assets/shop/images/icons/ic_servicii_notifications_primary_24.png') }}"
  453.                                         width="25px"/>
  454.                                     {{'app.ui.expiry_alerts'|trans}}
  455.                                 </h3>
  456.                             </a>
  457.                         </div>
  458.                     </div>
  459.                 </div>
  460.             </div>
  461.         </div>
  462.     </div>
  463.     {% endblock %}
  464.     <script>
  465.         $(function () {
  466.             $('[data-toggle="popover"]').popover({
  467.                 trigger : 'hover'
  468.             })
  469.         })
  470.     </script>
  471.     <script>
  472.         $(document).ready(function() {
  473.             let email = null;
  474.             $("#mc-embedded-subscribe-form").submit(function () {
  475.                 let input = $(this).find("input[name=EMAIL]");
  476.                 email = input.val();
  477.             });
  478.             $('#mce-success-response').bind('DOMSubtreeModified', function (event) {
  479.                 let url = Routing.generate('app_newsletter');
  480.                 $.ajax({
  481.                     url: url,
  482.                     data: {'email': email},
  483.                     type: 'POST',
  484.                     dataType: 'json',
  485.                     async: true,
  486.                     success: function (data) {
  487.                     },
  488.                     error: function () {
  489.                     }
  490.                 });
  491.             });
  492.         });
  493.     </script>
  494.     <style>
  495.         .scala-banner {
  496.             width: 100%;
  497.             height: 90px;
  498.             background-image: url("/assets/shop/images/banner.png");
  499.             background-size: 100% 90px;
  500.             background-repeat: no-repeat;
  501.         }
  502.          .custom-container {
  503.              max-width: 1400px;
  504.              width: 100%;
  505.              margin: auto;
  506.          }
  507.          .banner-custom-container {
  508.              width: 100%;
  509.              background-image: url("/assets/shop/images/banner-background.png");
  510.              background-size: 100% 100%;
  511.              background-repeat: no-repeat;
  512.          }
  513.         .btn-primary-inactive {
  514.             background-color: #F19F6D;
  515.             color: #fff;
  516.         }
  517.         .btn-primary-inactive:hover {
  518.             color: #fff;
  519.         }
  520.         @media (min-width: 1400px)  {
  521.             #bannerCustomContainer {
  522.                 margin-left: 0;
  523.                 margin-right: 0;
  524.             }
  525.         }
  526.     </style>
  527. {% endblock %}