src/Aviatur/TwigBundle/Resources/views/buenturismo/Flux/App/front.html.twig line 1

Open in your IDE?
  1. {% extends twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/App/base.html.twig') %}
  2. {# head #}
  3. {% block head_title %}{% if seo_title is defined %}{{seo_title}}{% else %}Tiquetes baratos, hoteles y paquetes turísticos en línea{% endif %}{% endblock head_title %}
  4. {% block head_description_content %}{% if seo_description is defined %}{{seo_description}}{% else %}Agencia de viajes en línea en Colombia! Reserva vuelos, hoteles, autos, cruceros y paquetes. Programa tus próximas vacaciones a increíbles precios{% endif %}{% endblock head_description_content %}
  5. {% block head_meta_title %}{% if seo_meta_title is defined %}{{seo_meta_title}}{% endif %}{% endblock head_meta_title %}
  6. {% block head_keywords %}{% if seo_keywords is defined %}{{seo_keywords}}{% endif %}{% endblock head_keywords %}
  7. {% if is_mobile() %}
  8.     {% block head_viewport %}
  9.         <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"/>
  10.         <link rel="apple-touch-icon" href="{{ absolute_url(asset('assets/'~ agency_folder.assetStyle() ~'/img/ios/touch-icon-iphone.png')) }}">
  11.         <link rel="apple-touch-icon" sizes="76x76" href="{{ absolute_url(asset('assets/'~ agency_folder.assetStyle() ~'/img/ios/touch-icon-ipad.png')) }}">
  12.         <link rel="apple-touch-icon" sizes="120x120" href="{{ absolute_url(asset('assets/'~ agency_folder.assetStyle() ~'/img/ios/touch-icon-iphone-retina.png')) }}">
  13.         <link rel="apple-touch-icon" sizes="152x152" href="{{ absolute_url(asset('assets/'~ agency_folder.assetStyle() ~'/img/ios/touch-icon-ipad-retina.png')) }}">
  14.         <link rel="apple-touch-icon" sizes="180x180" href="{{ absolute_url(asset('assets/'~ agency_folder.assetStyle() ~'/img/ios/touch-icon-iphone-plus-retina.png')) }}">
  15.     {% endblock head_viewport %}
  16. {% endif %}
  17. {% block stylesheets %}
  18.     <link type="text/css" rel="stylesheet" href="{{ absolute_url(asset('assets/common_assets/css/vendor/owl-carousel/owl.carousel.css')) }}"/>
  19.     <link type="text/css" rel="stylesheet" href="{{ absolute_url(asset('assets/common_assets/css/vendor/owl-carousel/owl.theme.css')) }}"/>
  20.     {{ parent() }}
  21. {% endblock stylesheets %}
  22. {# END head #}
  23. {% block base_content %}
  24.     <!--[if (!IE)|(gt IE 8)]><!-->
  25.     {% if app.session.has('operatorId') != 1 and pdfGenerator is not defined %}
  26.         {% block header %}
  27.         {% set headerPromoStart = app.session.get('headerPromoStart')|date('U') %}
  28.         {% set headerPromoEnd = app.session.get('headerPromoEnd')|date('U') %}
  29.         {% set onPromo = false %}
  30.         {% set linkHeader = path('aviatur_general_homepage') %}
  31.         {% set colorImage = "" %}
  32.         {% set classMainNav = "" %}
  33.         {% set imgType = '_background_default' %}
  34.         {% if background_home is defined %}
  35.                 {% if background_home.active == 'true' %}
  36.                     {% set videoType = 'NO_VID' %}
  37.                     {% set imgType = background_home.name %}
  38.                 {% endif %}
  39.             {% else %}
  40.                 {% set videoType = 'NO_VID' %}
  41.                 {% set imgType = '_background_default' %}
  42.        {% endif %}
  43.         <div class="xs:w-full min-h-screen h-auto bg-cover absolute z-[-1] s:w-full min-h-screen h-auto bg-cover xs:bg-[url('{{ azure_cdn_url }}/assets/aviatur_assets/img/header/cover.jpg')] s:bg-[url('{{ azure_cdn_url }}/assets/aviatur_assets/img/header/cover.jpg')]">
  44.         </div>
  45.        <header class="{% if logoXmas is defined %}animate{% endif %}page-head lg:bg-none [background:linear-gradient(360deg,white_0%,rgba(199,199,199,0.78)_30%,rgba(0,0,0,0)_100%),rgba(0,0,0,0.40)] {% if onPromo == true %}page-head--promo page-head--promo--luna{% endif %}">
  46.             {% if app.user != "" and (is_granted('ROLE_AVIATUR_ADMIN_ADMIN_PROMO_PRODUCT_EDIT_' ~ app.session.get('agencyId')) or is_granted('ROLE_SUPER_ADMIN') ) %}
  47.                 {% if background_home is defined %}
  48.                 <div class="page-head-edit-background"><a href="#" class="js-ajax-homechange" data-toggle="modal" data-target="#js-promo-editModal">Editar</a></div>
  49.                 {% endif %}
  50.             {% endif %}
  51.             <div class="page-head__bg-container hidden-palm">
  52.                 {% if videoType is not defined %}
  53.                     {% set curHour = 'now'|localizeddate("medium", "none", null, null, "Hmm") %}
  54.                     {% if curHour >= '500' and curHour < '900' %}       {# 05:00 - 08:59 #}
  55.                         {% set videoType = '-day' %}
  56.                     {% elseif curHour >= '900' and curHour < '1300' %}  {# 09:00 - 12:59 #}
  57.                         {% set videoType = '-day' %}
  58.                     {% elseif curHour >= '1300' and curHour < '1700' %} {# 13:00 - 16:59 #}
  59.                         {% set videoType = '-day' %}
  60.                     {% elseif curHour >= '1700' and curHour < '2100' %} {# 17:00 - 20:59 #}
  61.                         {% set videoType = '-day' %}
  62.                     {% else %}                                          {# 21:00 - 04:59 #}
  63.                         {% set videoType = '-day' %}
  64.                     {% endif %}
  65.                     <div class="page-head__bg__img bg-img-day js-headerImg" style="background-image: url('/assets/aviatur_assets/img/places/ctg.jpg');background-size: cover;"></div>
  66.                 {% endif %}
  67.                 {% if videoType != 'NO_VID' %}
  68.                     {% block headerVideo %}
  69.                     {% endblock headerVideo %}
  70.                     <div class="page-head__bg__img bg-img{{ videoType }} js-headerImg"></div>
  71.                 {% else %}
  72.                 <div class="page-head__bg__img bg-img-day js-headerImg" style="background-image: url('/assets/aviatur_assets/img/places/ctg.jpg');background-size: cover;"></div>
  73.                  {% endif %}
  74.             </div>
  75.             {% include twig_exists('@AviaturTwig/'~ agency_folder.twigStyle() ~'/App/header.html.twig') %}
  76.             {% block searcher_header %}
  77.             {% endblock %}
  78.         </header>
  79.         {% endblock %}
  80.     {% else %}
  81.         <section></section>
  82.         {% endif %}
  83.     <div class="page__body !bg-white lg:pb-2{% if 'aviatur_general_homepage' in app.request.get('_route') %}hidden-palm{% endif %}">
  84.         <div class="ajax-loader spinOverlay sp-offset--big js-loadingChangeCoin spiner-none hide bg-white"></div>
  85.         {% block body %}
  86.         {% endblock body %}
  87.     </div>
  88.     {% if app.session.has('operatorId') != 1 and app.session.has('whitemark') != 1 and pdfGenerator is not defined %}
  89.         {% block footer %}
  90.             {% include twig_exists('@AviaturTwig/'~ agency_folder.twigStyle() ~'/App/footer.html.twig') %}
  91.         {% endblock footer %}
  92.     {% endif %}
  93.     {% block modal %}
  94.         {{ parent()}}
  95.         {% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/General/Components/callUsModal.html.twig') %}
  96.         {% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/General/Templates/modalLogin.html.twig') with {'redirectLogin': path('aviatur_customer_edit_info')} %}
  97.     {% endblock modal %}
  98.     <!-- <![endif]-->
  99.     <!--[if lte IE 8]>
  100.     <body style="background-color: #009BF8;">
  101.         <table style="width:600px; table-layout: fixed; margin: auto; background-color: #FFFFFF; margin-top: 50px;">
  102.             <tbody>
  103.                 <tr>
  104.                     <td colspan="2" style="text-align: center; padding-top: 25px;">
  105.     {# <img src="{{ absolute_url(asset('assets/'~ agency_folder.assetStyle() ~'/img/ie8/aviatur_logo.png')) }}" alt="AVIATUR.COM" />#}
  106.      <img src="{{ absolute_url(asset('assets/'~ agency_folder.assetStyle() ~'/img/custom/aeromedellin2.png')) }}" alt="AVIATUR.COM" />
  107. </td>
  108. </tr>
  109. <tr>
  110. <td colspan="2" style="text-align: center; font-size: 20px; padding-top: 15px; font-weight: bold;">
  111.      Bienvenido!
  112. </td>
  113. </tr>
  114. <tr>
  115. <td colspan="2" style="text-align: center; padding-left: 15px; padding-right: 15px; padding-top: 5px; font-size: 16px;">
  116.      Para aprovechar mejor toda la experiencia de Aeromedellin, sugerimos utilizar un navegador de última generación. Puedes utilizar Microsoft Internet Explorer 9 en adelante o descargar uno de los siguientes navegadores.
  117. </td>
  118. </tr>
  119. <tr>
  120. <td style="text-align: center; padding-top: 25px;"><a href="http://www.google.com/intl/es/chrome/browser/" target="_blank"><img src="{{ absolute_url(asset('assets/'~ agency_folder.assetStyle() ~'/img/ie8/chrome-logo.png')) }}" alt="AVIATUR.COM" /></a></td>
  121. <td style="text-align: center; padding-top: 25px;"><a href="https://www.mozilla.org/es-ES/firefox/new/" target="_blank"><img src="{{ absolute_url(asset('assets/'~ agency_folder.assetStyle() ~'/img/ie8/firefox-logo.jpg')) }}" alt="AVIATUR.COM" /></a></td>
  122. </tr>
  123. <tr>
  124. <td style="text-align: center; padding-bottom: 25px; font-size: 20px;"><a href="http://www.google.com/intl/es/chrome/browser/" target="_blank">Google Chrome</a></td>
  125. <td style="text-align: center; padding-bottom: 25px; font-size: 20px;"><a href="https://www.mozilla.org/es-ES/firefox/new/" target="_blank">Firefox</a></td>
  126. </tr>
  127. </tbody>
  128. </table>
  129. </body>
  130. <![endif]-->
  131. {% endblock base_content %}
  132. {% block javascripts_bottom %}
  133. {% endblock javascripts_bottom %}