templates/Front/Shop/v2/_footer.html.twig line 1

Open in your IDE?
  1. <div class="custom-container">
  2.     <footer id="app-footer">
  3.         <div class="row pt-md-5 pt-lg-5 mb-2" id="footerAccordion">
  4.             {{ sonata_block_render_event('sylius.shop.layout.before_footer') }}
  5.             <div class="card col-lg-3 col-md-4 col-sm-12 col-12 mb-1 mb-md-0 pl-0 pr-0">
  6.                 <div class="card-header" id="headingAboutUs">
  7.                     <h4 class="text-primary mb-0">
  8.                         <button class="btn btn-link" data-toggle="collapse" data-target="#aboutUs" aria-expanded="true" aria-controls="collapseOne">
  9.                             <strong>{{ 'app.ui.about_us'|trans|upper }}</strong>
  10.                             <i class="ic-arrow-down"></i>
  11.                         </button>
  12.                     </h4>
  13.                 </div>
  14.                 <div id="aboutUs" class="collapse" aria-labelledby="headingAboutUs" data-parent="#footerAccordion">
  15.                     <div class="card-body">
  16.                         <div class="d-flex flex-column">
  17.                             <a class="text-muted" href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'Despre-noi'})}}">{{ 'app.ui.about_us'|trans }}</a>
  18.                             <a class="text-muted" href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'servicii-firme'})}}">{{ 'app.ui.company_services'|trans }}</a>
  19.                             <a class="text-muted" href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'Rovinieta-online'})}}">{{ 'app.ui.rovignette_online'|trans }}</a>
  20.                             <a class="text-muted" href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'Vignete-europa'})}}">{{ 'app.ui.vignette_europe'|trans }}</a>
  21.                             <a class="text-muted" href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'publicitate'})}}">{{ 'app.ui.ads'|trans }}</a>
  22.                             {% if isTicketing is defined and isTicketing == "true"%}
  23.                             {% else %}
  24.                                 <a class="text-muted" href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'locatii-scala-pay'})}}">{{ 'app.ui.scala_pay_locations'|trans }}</a>
  25.                             {% endif %}
  26.                             <br>
  27.                             {% if isTicketing is defined and isTicketing == "true"%}
  28.                                 <p class="text-muted">{{'app.ui.scala_assistance_ticketing'|trans}} {{'app.ui.srl'|trans}}</p>
  29.                                 <p class="text-muted" >R.C: {{trade_register_number_ticketing}},<br> C.U.I: {{cif_ticketing}}</p>
  30.                             {% else %}
  31.                                 <p class="text-muted">{{'app.ui.scala_assistance'|trans}} {{'app.ui.srl'|trans}}</p>
  32.                                 <p class="text-muted" >R.C: {{trade_register_number}},<br> C.U.I: {{cif}}</p>
  33.                             {% endif %}
  34.                         </div>
  35.                     </div>
  36.                 </div>
  37.             </div>
  38.             <div class="card col-lg-3 col-md-4 col-sm-12 col-12 mb-1 mb-md-0 pl-0 pr-0">
  39.                 <div class="card-header" id="headingLegislation">
  40.                     <h4 class="text-primary mb-0">
  41.                         <button class="btn btn-link" data-toggle="collapse" data-target="#legislation" aria-expanded="false" aria-controls="collapseTwo">
  42.                             <strong>{{ 'app.ui.legislation'|trans|upper }}</strong>
  43.                             <i class="ic-arrow-down"></i>
  44.                         </button>
  45.                     </h4>
  46.                 </div>
  47.                 <div id="legislation" class="collapse" aria-labelledby="headingLegislation" data-parent="#footerAccordion">
  48.                     <div class="card-body">
  49.                         <div class="d-flex flex-column">
  50.                             <a class="text-muted" href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'descarca-rovinieta'})}}">{{ 'app.ui.download_vignette'|trans }}</a>
  51.                             <a class="text-muted" href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'termeni-si-conditii'})}}">{{ 'app.ui.terms_and_conditions'|trans }}</a>
  52.                             <a class="text-muted" href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'securitate'})}}">{{ 'app.ui.security'|trans }}</a>
  53.                             <a class="text-muted" href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'protectia-datelor'})}}">{{ 'app.ui.gdpr'|trans }}</a>
  54.                             <a class="text-muted" href="https://www.anpc.gov.ro/">{{ 'app.ui.consumer_protection'|trans }}</a>
  55.                             <a class="text-muted" href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'certificare-iso'})}}">{{ 'app.ui.iso_9001'|trans }}</a>
  56.                             <a class="text-muted" href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'politica-cookies'})}}">{{ 'app.ui.cookie'|trans }}</a>
  57.                             {% if isTicketing is defined and isTicketing == "true"%}
  58.                             {% else %}
  59.                                 <a class="text-muted" href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'termeni-si-conditii-procedura-de-solutionare-a-petitiilor'})}}">{{ 'app.ui.baar_rca'|trans }}</a>
  60.                             {% endif %}
  61.                             <div class="mt-2 d-flex align-items-center justify-content-lg-between flex-nowrap">
  62.                                 <a class="mr-2" href="https://anpc.ro/ce-este-sal/" title="sal" target="_blank">
  63.                                     <img class="img-fluid legal-instance-btn" src="{{ asset('assets/shop/images/icons/sal-pictograma.png') }}"/>
  64.                                 </a>
  65.                                 <a href="https://ec.europa.eu/consumers/odr/main/index.cfm?event=main.home2.show&lng=RO" title="sol" target="_blank">
  66.                                     <img class="img-fluid legal-instance-btn" src="{{ asset('assets/shop/images/icons/sol-pictograma.png') }}"/>
  67.                                 </a>
  68.                             </div>
  69.                         </div>
  70.                     </div>
  71.                 </div>
  72.             </div>
  73.             <div class="card col-lg-3 col-md-4 col-sm-12 col-12 mb-1 mb-md-0 pl-0 pr-0">
  74.                 <div class="card-header" id="headingUsefulInfo">
  75.                     <h4 class="text-primary mb-0">
  76.                         <button class="btn btn-link" data-toggle="collapse" data-target="#usefulInfo" aria-expanded="false" aria-controls="collapseThree">
  77.                             <strong>{{ 'app.ui.useful_info'|trans }}</strong>
  78.                             <i class="ic-arrow-down"></i>
  79.                         </button>
  80.                     </h4>
  81.                 </div>
  82.                 <div id="usefulInfo" class="collapse" aria-labelledby="headingUsefulInfo" data-parent="#footerAccordion">
  83.                     <div class="card-body">
  84.                         <div class="d-flex flex-column">
  85.                             {% if app.request.locale|slice(0, 2) == 'ro'%}<a class="text-muted" href="{{path('bitbag_sylius_cms_plugin_shop_page_show_faq')}}">{{ 'app.ui.faq'|trans }}</a> {% endif %}
  86.                             <a class="text-muted" href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'rovinieta-pret'})}}">{{ 'app.ui.how_much_vignette'|trans }}</a>
  87.                             <a class="text-muted" href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'Legislatie'})}}">{{ 'app.ui.legislation'|trans }}</a>
  88.                             <a class="text-muted" href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'Alerte-de-expirare'})}}">{{ 'app.ui.vignette_alert'|trans }}</a>
  89.                             <a class="text-muted" href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'webmaster'})}}">{{ 'app.ui.webmaster'|trans }}</a>
  90.                             <a class="text-muted" href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'cariera'})}}">{{ 'app.ui.carrier'|trans }}</a>
  91.                             {% if isTicketing is defined and isTicketing == "true"%}
  92.                             {% else %}
  93.                                 <a class="text-muted" href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'clienti-rau-platnici'})}}">{{ 'app.ui.client_black_list'|trans }}</a>
  94.                             {% endif %}
  95.                             <a class="text-muted" href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'informari-si-articole'})}}">{{ 'app.ui.informations_and_articles'|trans }}</a>
  96.                             {% if isTicketing is defined and isTicketing == "true"%}
  97.                             {% else %}
  98.                                 <a class="text-muted" href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'arhiva-comunicate-de-presa'})}}">{{ 'app.ui.press_releases_archive'|trans }}</a>
  99.                             {% endif %}
  100.                             <p class="text-white">{{ 'app.ui.exchange_rate'|trans }}: 1 EURO - {{ exchange_rate.exchangeRateRonEur }} LEI</p>
  101.                         </div>
  102.                     </div>
  103.                 </div>
  104.             </div>
  105.             <div class="col-lg-3 col-md-12 col-sm-12 col-12 mt-md-3 d-none d-md-block">
  106.                 <form id="formSubscribeToNewsletter" method="post" action="{{ path('app_shop_subscribe_to_newsletter') }}">
  107.                     <div id="mc_embed_signup_scroll">
  108.                         <div class="row">
  109.                             <div class="col-12">
  110.                                 <h4 class="font-weight-bolder text-white mb-2">
  111.                                     {{'app.ui.news'|trans}}
  112.                                 </h4>
  113.                                 <h6 class="mb-2 text-white">
  114.                                     {{'app.ui.newsletter_subscribe'|trans|raw}}
  115.                                 </h6>
  116.                             </div>
  117.                         </div>
  118.                         <div class="mc-field-group row mb-5 mt-2">
  119.                             <div class="col-12">
  120.                                 <input type="email" style="background-color: #E2E2E2;" value="" name="email" class="required email form-control my-3 w-100" placeholder="{{ 'app.ui.email_address'|trans }}">
  121.                             </div>
  122.                         </div>
  123.                         <div class="row">
  124.                             <div class="col-12 ml-2">
  125.                                 <input type="submit" value="{{'app.ui.subscribe_wish'|trans}}" name="subscribe" id="mc-embedded-subscribe" class="btn btn-primary w-100" style="margin-left: -5px; margin-top: -10px; border:none;">
  126.                             </div>
  127.                         </div>
  128.                     </div>
  129.                 </form>
  130.             </div>
  131.             {{ sonata_block_render_event('sylius.shop.layout.after_footer') }}
  132.             <hr class="d-none d-md-block" style="width: 100%; background-color: gray; height: 2px"/>
  133.         </div>
  134.         <div id="secondFooterRow" class="row">
  135.             <div class="col-12 col-lg-5 mb-2 d-flex align-items-center justify-content-center justify-content-lg-start">
  136.                 {% if isTicketing is defined and isTicketing == "true"%}
  137.                     <span class="text-muted small">
  138.                         © Copyright {{ "now"|date("Y") }} {{'app.ui.scala_assistance_ticketing'|trans}} {{'app.ui.srl'|trans}}. {{ 'app.ui.reserved_rights'|trans }}
  139.                     </span>
  140.                 {% else %}
  141.                     <span class="text-muted small">
  142.                         © Copyright {{ "now"|date("Y") }} {{'app.ui.scala_assistance'|trans}}. {{ 'app.ui.reserved_rights'|trans }}
  143.                     </span>
  144.                 {% endif %}
  145.             </div>
  146.             <div class="col-12 col-lg-4 mb-2 align-items-center justify-content-center justify-content-lg-start d-none d-md-flex">
  147.                 <a class="text-muted small mr-2" href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'termeni-si-conditii'})}}">{{ 'app.ui.terms_of_use'|trans }}</a>
  148.                 <a class="text-muted small mr-2" href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'politica-confidentialitate'})}}">{{ 'app.ui.privacy_policy'|trans }}</a>
  149.                 <a class="text-muted small" href="{{ path('app_contact') }}">{{ 'app.ui.contact'|trans }}</a>
  150.             </div>
  151.             {% if isTicketing is defined and isTicketing == "true"%}
  152.                 <div class="col-12 col-lg-3 mb-2 d-flex align-items-center justify-content-center justify-content-lg-start">
  153.                     <div>
  154.                         <a target="_blank"
  155.                            onclick="window.open('Hopa... ceva e greșit aici! ');">
  156.                             <img style="max-height: 200px;" src='https://trusted.ro/atestare/marca-f7bb6-1.webp'  alt="marca-trusted" loading="lazy"/>
  157.                         </a>
  158.                     </div>
  159.                 </div>
  160.             {% else %}
  161.                 <div class="col-12 col-lg-3 mb-2 d-flex flex-column align-items-center justify-content-center justify-content-lg-start">
  162.                     <div class="mb-2 d-flex align-items-center justify-content-center">
  163.                         <div>
  164.                             <a href="https://www.facebook.com/Roviniete.ro/" title="facebook" target="_blank">
  165.                                 <i class="ic-facebook-round-grey mr-2"></i>
  166.                             </a>
  167.                         </div>
  168.                         <div>
  169.                             <a href="https://www.linkedin.com/company/scala-assistance" title="linkedin" target="_blank">
  170.                                 <i class="ic-linkedin-round-grey mr-2"></i>
  171.                             </a>
  172.                         </div>
  173.                         <div>
  174.                             <a href="https://twitter.com/#!/rovinieta" title="twitter" target="_blank">
  175.                                 <i class="ic-twitter-round-grey"></i>
  176.                             </a>
  177.                         </div>
  178.                     </div>
  179.                     <div>
  180.                         <a target="_blank" onclick="window.open('Hopa... ceva e greșit aici!');">
  181.                             <img style="max-height: 100px;" src="https://trusted.ro/atestare/marca-f7bb6-1.webp" alt="marca-trusted" loading="lazy"/>
  182.                         </a>
  183.                     </div>
  184.                 </div>
  185.             {% endif %}
  186.         </div>
  187.         <div class="row mb-2 align-items-center text-center d-flex">
  188.             <div class="col-6 mobile-footer-btn d-none">
  189.                 <button class="btn btn-footer-white w-100">
  190.                     <a href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'politica-cookies'})}}">Cookies</a>
  191.                 </button>
  192.             </div>
  193.             <div class="col-6 mobile-footer-btn d-none">
  194.                 <button class="btn btn-footer-white w-100" id="btnDesktopVersion">
  195.                     {{'app.ui.desktop_version'|trans}}
  196.                 </button>
  197.             </div>
  198.             <div class="col-12 desktop-footer-btn d-none d-">
  199.                 <button class="btn btn-footer-white w-100 text-muted" id="btnMobileVersion">
  200.                     {{'app.ui.mobile_version'|trans}}
  201.                 </button>
  202.             </div>
  203.         </div>
  204.     </footer>
  205. </div>
  206. <script src="/bundles/fosjsrouting/js/router.js"></script>
  207. <script src="{{ path('fos_js_routing_js', { callback: 'fos.Router.setData' }) }}"></script>
  208. <script>
  209.     $(window).resize(function (){
  210.         if(window.innerWidth > 768) {
  211.             $('#footerAccordion').collapse({'toggle': true});
  212.             $('#footerAccordion .btn-link').removeClass('collapsed').attr('disabled', true);
  213.         } else {
  214.             $('#footerAccordion').collapse({'toggle': true});
  215.             $('#footerAccordion .btn-link').addClass('collapsed').attr('disabled', false);
  216.         }
  217.     });
  218.     $(document).ready(function () {
  219.         let appVersion = sessionStorage.getItem('appVersion');
  220.         if(appVersion) {
  221.             if(window.innerWidth < 768) {
  222.                 if (appVersion === 'desktop') {
  223.                     $('meta[name=viewport]').attr('content','width=1024px')
  224.                     $('.desktop-footer-btn').removeClass('d-none').show();
  225.                     $('.mobile-footer-btn').addClass('d-none').hide();
  226.                 } else if (appVersion === 'mobile') {
  227.                     $('meta[name=viewport]').attr('content', 'width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no');
  228.                     $('.mobile-footer-btn').removeClass('d-none').show();
  229.                     $('.desktop-footer-btn').addClass('d-none').hide();
  230.                 }
  231.             }
  232.         } else {
  233.             if(window.innerWidth < 768) {
  234.                 sessionStorage.setItem('appVersion', 'mobile');
  235.                 $('.mobile-footer-btn').removeClass('d-none').show();
  236.                 $('.desktop-footer-btn').addClass('d-none').hide();
  237.             }
  238.         }
  239.         if(window.innerWidth > 768) {
  240.             $('#footerAccordion').collapse({'toggle': true});
  241.             $('#footerAccordion .btn-link').removeClass('collapsed').attr('disabled', true);
  242.         } else {
  243.             $('#footerAccordion').collapse({'toggle': true});
  244.             $('#footerAccordion .btn-link').addClass('collapsed').attr('disabled', false);
  245.         }
  246.     });
  247.     $(document).on('click', '#btnDesktopVersion', function () {
  248.         let url =  Routing.generate('app_shop_switch_desktop');
  249.         $.ajax({
  250.             url:        url,
  251.             type:       'GET',
  252.             dataType:   'json',
  253.             async:      true,
  254.             success: function(data) {
  255.                 // $('meta[name=viewport]').attr('content','width=1024px')
  256.                 sessionStorage.setItem('appVersion', 'desktop');
  257.                 location.reload();
  258.             },
  259.             error : function() {
  260.             }
  261.         });
  262.     });
  263.     $(document).on('click', '#btnMobileVersion', function () {
  264.         let url =  Routing.generate('app_shop_switch_desktop');
  265.         $.ajax({
  266.             url:        url,
  267.             type:       'GET',
  268.             dataType:   'json',
  269.             async:      true,
  270.             success: function(data) {
  271.                 // $('meta[name=viewport]').attr('content','width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no')
  272.                 sessionStorage.setItem('appVersion', 'mobile');
  273.                 location.reload();
  274.             },
  275.             error : function() {
  276.             }
  277.         });
  278.     });
  279. </script>