templates/Mobile/homepage.html.twig line 1

Open in your IDE?
  1. {% extends '@templates/Mobile/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>Roviniete.ro</title>
  10.     <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  11.     <meta name="description" content="Cumpara roviniete online! Aici gasesti toate informaţiile legate de taxa de drum din Romania: legislaţie, calculator rovinieta si verificare valabilitate.">
  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.         <link rel="stylesheet" href="/assets/shop/css/leftmenu.v1.css">
  17.         {{ encore_entry_link_tags('bootstrap-fix', null, 'bootstrapTheme') }}
  18.     {% endblock %}
  19.     {% set urlPath = app.request.uri %}
  20.     {% if urlPath is not null %}
  21.         <link rel="canonical" href="{{ urlPath }}"/>
  22.         {% set currentLocale = app.request.locale %}
  23.         {% if currentLocale is not null %}
  24.             {% for locale in locales.allLocales %}
  25.                 {% if locale != currentLocale %}
  26.                     <link rel="alternate" hreflang="{{ locale }}"
  27.                           href="{{ absolute_url(path('sylius_shop_homepage', {'_locale': locale})) }}"/>
  28.                 {% endif %}
  29.             {% endfor %}
  30.         {% endif %}
  31.     {% endif %}
  32.     {{ sonata_block_render_event('sylius.shop.layout.head') }}
  33.     {% block javascripts %}
  34.         <script src="{{ asset('assets/shop/js/sentry-bundle.min.js') }}"></script>
  35.         <script>
  36.             if (typeof Sentry !== 'undefined') {
  37.                 Sentry.init({
  38.                     dsn: "{{ sentry_dsn }}",
  39.                     integrations: [new Sentry.Integrations.TryCatch({
  40.                         eventTarget: false,
  41.                     })]
  42.                 });
  43.             }
  44.         </script>
  45.         <script src="{{ asset('assets/shop/js/jquery.min.js') }}"></script>
  46.         <script src="{{ asset('assets/shop/js/popper.min.js') }}"></script>
  47.         <script src="{{ asset('assets/shop/js/leftmenu.js') }}"></script>
  48.         <script src="{{ asset('assets/shop/js/bootstrap.min.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 content %}
  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.     {% for flash_message in app.session.flashBag.get('vignette-init-error') %}
  71.         <div class="alert alert-warning alert-dismissible fade show" role="alert">
  72.             <div class="header text-center">
  73.                 <h2>{{ 'sylius.ui.warning'|trans }}</h2>
  74.             </div>
  75.             <a class="text-center">
  76.                 {{ flash_message }}
  77.             </a>
  78.             <button type="button" class="close" data-dismiss="alert" aria-label="Close">
  79.                 <span aria-hidden="true">&times;</span>
  80.             </button>
  81.         </div>
  82.     {% endfor %}
  83.     {% for flash_message in app.session.flashBag.get('unsubscribe') %}
  84.         <div class="ui positive message transition">
  85.             <i class="close icon"></i>
  86.             <div class="header text-center">
  87.                 <h2>{{ 'app.ui.success_action'|trans }}</h2>
  88.             </div>
  89.             <a class="text-center">
  90.                 {{ 'app.ui.successfully_unsubscribed'|trans }}
  91.             </a>
  92.         </div>
  93.     {% endfor %}
  94.     {% for flash_message in app.session.flashBag.get('productRemoved') %}
  95.         <div class="alert alert-warning alert-dismissible fade show" role="alert">
  96.             <div class="header text-center">
  97.                 <h2>{{ 'sylius.ui.warning'|trans }}</h2>
  98.             </div>
  99.             <a class="text-center">
  100.                 {{ 'app.hu_vignette.product_removed_from_cart'|trans }}
  101.             </a>
  102.             <button type="button" class="close" data-dismiss="alert" aria-label="Close">
  103.                 <span aria-hidden="true">&times;</span>
  104.             </button>
  105.         </div>
  106.     {% endfor %}
  107.     <div class="container-mobile">
  108.         {% block products %}
  109.             <div class="mx-2">
  110.                 {% if lastProductStatus.rcaStatus %}
  111.                     <div class="mt-2 mb-1 bg-white">
  112.                         <div class="d-flex justify-content-between align-items-center px-2" onclick="location.href='{{ path('app_shop_rca_details', {'from': constant('App\\Entity\\Customer\\TrackerActivity::FROM_HOMEPAGE')}) }}'">
  113.                             <div class="d-inline-flex align-items-center">
  114.                                 <img src="{{ asset('assets/shop/images/icons/ic_produse_rca_dark_48.png') }}"
  115.                                      style="width: 40px"/>
  116.                                 <div>
  117.                                     <div class="d-inline-flex mt-2">
  118.                                         <div class="d-inline-flex mt-2">
  119.                                             <h4>
  120.                                                 {{ 'app.ui.rca'|trans }}
  121.                                             </h4>
  122.                                             {% if lastProductStatus.rcaStatus == false %}
  123.                                                 <a class="text-danger ml-2"> {{ 'app.ui.disabled_temporary'|trans }}</a>
  124.                                             {% endif %}
  125.                                         </div>
  126.                                     </div>
  127.                                 </div>
  128.                             </div>
  129.                             <div>
  130.                                 <img src="{{ asset('assets/shop/images/icons/ic_arrow_right.png') }}" style="width: 25px"/>
  131.                             </div>
  132.                         </div>
  133.                     </div>
  134.                 {% endif %}
  135.                 {% if lastProductStatus.vignetteStatus %}
  136.                     <div class="mb-1 bg-white">
  137.                         <div class="d-flex justify-content-between align-items-center px-2" onclick="location.href='{{ path('app_shop_vignette') }}'">
  138.                             <div class="d-inline-flex align-items-center">
  139.                                 <img src="{{ asset('assets/shop/images/icons/ic_produse_roviniete_dark_48.png') }}"
  140.                                      style="width: 40px"/>
  141.                                 <div class="d-inline-flex mt-2">
  142.                                     <h4>
  143.                                         {{ 'app.ui.vignette'|trans }}
  144.                                     </h4>
  145.                                     {% if lastProductStatus.vignetteStatus == false %}
  146.                                         <a class="text-danger ml-2"> {{ 'app.ui.disabled_temporary'|trans }}</a>
  147.                                     {% endif %}
  148.                                 </div>
  149.                             </div>
  150.                             <div>
  151.                                 <img src="{{ asset('assets/shop/images/icons/ic_arrow_right.png') }}" style="width: 25px"/>
  152.                             </div>
  153.                         </div>
  154.                     </div>
  155.                 {% endif %}
  156.                 {% if lastProductStatus.huVignetteStatus %}
  157.                     <div class="mb-1 bg-white">
  158.                         <div class="d-flex justify-content-between align-items-center px-2" onclick="location.href='{{ path('app_shop_hu_vignette') }}'">
  159.                             <div class="d-inline-flex align-items-center">
  160.                                 <div class="d-flex justify-content-center" style="width: 40px !important;">
  161.                                     <a>
  162.                                         <img src="{{ asset('assets/shop/images/icons/ematrica_black.png') }}" style="height: 40px"/>
  163.                                     </a>
  164.                                 </div>
  165.                                 <a>
  166.                                     <div class="d-inline-flex mt-2">
  167.                                         <h4>
  168.                                             {{ 'app.hu_vignette.hu_vignette'|trans }}
  169.                                         </h4>
  170.                                         {% if lastProductStatus.huVignetteStatus == false %}
  171.                                             <a class="text-danger ml-2"> {{ 'app.ui.disabled_temporary'|trans }}</a>
  172.                                         {% endif %}
  173.                                     </div>
  174.                                 </a>
  175.                             </div>
  176.                             <div>
  177.                                 <img src="{{ asset('assets/shop/images/icons/ic_arrow_right.png') }}" style="width: 25px"/>
  178.                             </div>
  179.                         </div>
  180.                     </div>
  181.                 {% endif %}
  182.                 {% if lastProductStatus.deathInsuranceStatus %}
  183.                     <div class="mb-1 bg-white">
  184.                         <div class="d-flex justify-content-between align-items-center px-2" onclick="location.href='{{ path('app_shop_death_insurance') }}'">
  185.                             <div class="d-inline-flex align-items-center">
  186.                                 <img src="{{ asset('assets/shop/images/icons/person.png') }}"
  187.                                      style="width: 40px"/>
  188.                                 <div class="d-inline-flex mt-2">
  189.                                     <h4>
  190.                                         {{ 'app.ui.nn_insurance'|trans }}
  191.                                     </h4>
  192.                                 </div>
  193.                             </div>
  194.                             <div>
  195.                                 <img src="{{ asset('assets/shop/images/icons/ic_arrow_right.png') }}" style="width: 25px"/>
  196.                             </div>
  197.                         </div>
  198.                     </div>
  199.                 {% endif %}
  200.                 {% if lastProductStatus.peajStatus is defined and lastProductStatus.peajStatus %}
  201.                     <div class="mb-1 bg-white">
  202.                         <div class="d-flex justify-content-between align-items-center px-2" onclick="location.href='{{ path('app_shop_peaj') }}'">
  203.                             <div class="d-inline-flex align-items-center">
  204.                                 <img src="{{ asset('assets/shop/images/icons/ic_produse_pod_dark_48.png') }}" style="width: 40px"/>
  205.                                 <h4 class="pl-2">  {{ 'app.ui.toll_tax'|trans }}</h4>
  206.                             </div>
  207.                             <div>
  208.                                 <img src="{{ asset('assets/shop/images/icons/ic_arrow_right.png') }}" style="width: 25px"/>
  209.                             </div>
  210.                         </div>
  211.                     </div>
  212.                 {% endif %}
  213.                 {% if lastProductStatus.licenseRecoveryStatus is defined and lastProductStatus.licenseRecoveryStatus %}
  214.                     <div class="mb-1 bg-white">
  215.                         <div class="d-flex justify-content-between align-items-center px-2" onclick="location.href='{{ path('app_shop_license_recovery') }}'">
  216.                             <div class="d-inline-flex align-items-center">
  217.                                 <img src="{{ asset('assets/shop/images/icons/license.png') }}"
  218.                                      style="width: 40px"/>
  219.                                 <div class="d-inline-flex mt-2 ml-2">
  220.                                     <h4>
  221.                                         {{ 'app.ui.license_recovery'|trans }}
  222.                                     </h4>
  223.                                 </div>
  224.                             </div>
  225.                             <div>
  226.                                 <img src="{{ asset('assets/shop/images/icons/ic_arrow_right.png') }}" style="width: 25px"/>
  227.                             </div>
  228.                         </div>
  229.                     </div>
  230.                 {% endif %}
  231.                 {% if lastProductStatus.telemedicineStatus is defined and lastProductStatus.telemedicineStatus %}
  232.                     <div class="mb-1 bg-white">
  233.                         <div class="d-flex justify-content-between align-items-center px-2" onclick="location.href='{{ path('app_shop_telemedicine') }}'">
  234.                             <div class="d-inline-flex align-items-center">
  235.                                 <img src="{{ asset('assets/shop/images/icons/umbrella_plus.png') }}"
  236.                                      style="width: 40px"/>
  237.                                 <div class="d-inline-flex mt-2 ml-2">
  238.                                     <h4>
  239.                                         {{ 'app.ui.telemedicine.menu_entry'|trans }}
  240.                                     </h4>
  241.                                 </div>
  242.                             </div>
  243.                             <div>
  244.                                 <img src="{{ asset('assets/shop/images/icons/ic_arrow_right.png') }}" style="width: 25px"/>
  245.                             </div>
  246.                         </div>
  247.                     </div>
  248.                 {% endif %}
  249.                 {% if lastProductStatus.roadAssistanceStatus is defined and lastProductStatus.roadAssistanceStatus %}
  250.                     <div class="mb-1 bg-white">
  251.                         <div class="d-flex justify-content-between align-items-center px-2" onclick="location.href='{{ path('app_shop_road_assistance') }}'">
  252.                             <div class="d-inline-flex align-items-center" style="height: 40px">
  253.                                 <img src="{{ asset('assets/shop/images/icons/road_assistance.png') }}"
  254.                                      style="width: 40px"/>
  255.                                 <div class="d-inline-flex mt-2 ml-2">
  256.                                     <h4>
  257.                                         {{ 'app.ui.road_assistance'|trans }}
  258.                                     </h4>
  259.                                 </div>
  260.                             </div>
  261.                             <div>
  262.                                 <img src="{{ asset('assets/shop/images/icons/ic_arrow_right.png') }}" style="width: 25px"/>
  263.                             </div>
  264.                         </div>
  265.                     </div>
  266.                 {% endif %}
  267.             </div>
  268.         {% endblock %}
  269.         {% block security %}
  270.             <div class="mx-2">
  271.                 <div class="row align-items-center my-1">
  272.                     <div class="col-4 align-items-start">
  273.                         <div class="align-items-center text-center">
  274.                             <div class="ui circular label bg-white">
  275.                                 <img src="{{ asset('assets/shop/images/icons/ic_trust_mail_dark.png') }}"
  276.                                      style="width: 25px"/>
  277.                             </div>
  278.                             <br/>
  279.                             <a class="text-dark mini">
  280.                                 {{ 'app.ui.safe_delivery_via_email'|trans }}
  281.                             </a>
  282.                         </div>
  283.                     </div>
  284.                     <div class="col-4 align-items-center">
  285.                         <div class=" align-items-center text-center">
  286.                             <div class="ui circular label" style="background-color: white;">
  287.                                 <img src="{{ asset('assets/shop/images/icons/ic_trust_autorizat_dark_24.png') }}"
  288.                                      style="width: 25px"/>
  289.                             </div>
  290.                             <br/>
  291.                             <a class="text-dark mini">
  292.                                 {{ 'app.ui.cnair_authorized'|trans }}
  293.                             </a>
  294.                         </div>
  295.                     </div>
  296.                     <div class="col-4 align-items-end">
  297.                         <div class="align-items-center text-center">
  298.                             <div class="ui circular label" style="background-color: white;">
  299.                                 <img src="{{ asset('assets/shop/images/icons/ic_trust_handshake_dark_24.png') }}"
  300.                                      style="width: 25px"/>
  301.                             </div>
  302.                             <br/>
  303.                             <a class="text-dark mini">
  304.                                 {{ 'app.ui.over_2_million_customers'|trans }}
  305.                             </a>
  306.                         </div>
  307.                     </div>
  308.                 </div>
  309.             </div>
  310.         {% endblock %}
  311.         {% block get_help %}
  312.             <div class="container-help my-2">
  313.                 <div class="row h-100 text-center justify-content-center align-items-center">
  314.                     <div class="col-12">
  315.                         <h1 class="text-white">{{ 'app.ui.no_worries'|trans }}</h1>
  316.                         <a class="text-white">{{ 'app.ui.let_us_help_you'|trans }}</a> <br/>
  317.                         <button class="btn bg-white w-50"><a class="text-primary" href="{{ path('sylius_shop_register') }}">{{ 'app.ui.create_account'|trans }}</a></button>
  318.                     </div>
  319.                 </div>
  320.             </div>
  321.         {% endblock %}
  322.         {% block cnair_partner %}
  323.             <div class="mx-2">
  324.                 <div class="text-center align-items-center">
  325.                     <div class="ui circular label bg-white">
  326.                         <img src="{{ asset('assets/shop/images/icons/ic_trust_cnair.png') }}" style="width: 25px"/>
  327.                     </div>
  328.                     <div class="ui circular label bg-white">
  329.                         <img src="{{ asset('assets/shop/images/icons/ic_trust_stema.png') }}" style="width: 25px"/>
  330.                     </div>
  331.                     <br/>
  332.                     <small>
  333.                         {{ 'app.ui.cnair_authorized_long'|trans }}
  334.                     </small>
  335.                 </div>
  336.             </div>
  337.         {% endblock %}
  338.         {% block useful_info %}
  339.             <div class="mx-2 my-2">
  340.                 <div class="mt-2 mb-1 bg-white">
  341.                     <div class="d-flex justify-content-between align-items-center px-2" style="height: 40px">
  342.                         <div class="d-inline-flex align-items-center">
  343.                             <h4 class="pl-2"> <a class="text-dark" href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'servicii-firme'})}}">{{ 'app.ui.services'|trans }}</a></h4>
  344.                         </div>
  345.                         <div>
  346.                             <img src="{{ asset('assets/shop/images/icons/ic_arrow_right_grey.png') }}"
  347.                                  style="width: 25px"/>
  348.                         </div>
  349.                     </div>
  350.                 </div>
  351.                 {% if app.request.locale|slice(0, 2) == 'ro'%}
  352.                     <div class="mb-1 bg-white">
  353.                         <div class="d-flex justify-content-between align-items-center px-2" style="height: 40px">
  354.                             <div class="d-inline-flex align-items-center">
  355.                                 <h4 class="pl-2"><a class="text-dark" href="{{path('bitbag_sylius_cms_plugin_shop_page_show_faq')}}">{{ 'app.ui.faq'|trans }}</a></h4>
  356.                             </div>
  357.                             <div>
  358.                                 <img src="{{ asset('assets/shop/images/icons/ic_arrow_right_grey.png') }}"
  359.                                      style="width: 25px"/>
  360.                             </div>
  361.                         </div>
  362.                     </div>
  363.                 {% endif %}
  364.                 <div class="mb-1 bg-white">
  365.                     <div class="d-flex justify-content-between align-items-center px-2" style="height: 40px">
  366.                         <div>
  367.                             <img src="{{ asset('assets/shop/images/icons/ic_arrow_right_grey.png') }}"
  368.                                  style="width: 25px"/>
  369.                         </div>
  370.                     </div>
  371.                 </div>
  372.                 <div class="mb-1 bg-white">
  373.                     <div class="d-flex justify-content-between align-items-center px-2" style="height: 40px">
  374.                         <div class="d-inline-flex align-items-center">
  375.                             <h4 class="pl-2"><a class="text-dark" href="{{ path('app_contact') }}">{{ 'app.ui.contact'|trans }}</a></h4>
  376.                         </div>
  377.                         <div>
  378.                             <img src="{{ asset('assets/shop/images/icons/ic_arrow_right_grey.png') }}"
  379.                                  style="width: 25px"/>
  380.                         </div>
  381.                     </div>
  382.                 </div>
  383.             </div>
  384.         {% endblock %}
  385.     </div>
  386. {% endblock %}