templates/site/content/sliders.html.twig line 1

Open in your IDE?
  1.         {% set _headerTitleBlock = block('headerTitle') is defined ? block('headerTitle') : 'Nemo enim ipsam voluptatem quia voluptas.' %}
  2.         {% set _headerIntroBlock = block('headerIntro') is defined ? block('headerIntro') : '<h4>Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam. Ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.</h4>' %}
  3.         {% set _headerCTA = block('headerCTA') is defined ? block('headerCTA') : 'Ver más' %}
  4.         {% if page is defined %}
  5.             {% if page is iterable %}{% set page = page[0] %}{% endif %}
  6.             {% if page is not null and page.headerType == 3 %}
  7.                 <header class="header mt-10" style="overflow: hidden; max-height: 600px;">
  8.                     {#<div class="slider-arrows-flash-light slider-dots-inside slider-dots-fill-primary" data-provide="slider" data-autoplay="true" data-fade="true" data-dots="true" data-slides-to-show="1" data-height="600" data-autoplay-speed="5000" data-speed="2000">#}
  9.                     {#    <div class="p-3">#}
  10.                     {#        <div class="rounded bg-img h-600 text-center py-10" style="background-image: url(/img/bg/Header-00.jpg)">#}
  11.                     {#            <div class="container">#}
  12.                                     {# <h2 class="display-4 text-white mb-7 shadowed"><strong>{% if _headerTitleBlock is not empty %}{{ _headerTitleBlock | raw }}{% endif %}</strong></h2> #}
  13.                                     {# {% if _headerIntroBlock is not empty %}<div class="text-white shadowed">{{ _headerIntroBlock | raw }}</div>{% endif %} #}
  14.                                     {# <a class="btn btn-lg btn-round btn-info" href="/es/pymes">{{ _headerCTA }}</a> #}
  15.                     {#                <div class="row">#}
  16.                     {#                    <div class="col-lg-12 mx-auto my-8">#}
  17.                     {#                        <h1 class="display-3"><span class="text-white p-1 px-6" style="background-color: rgba(60,212,88,0.85); display: inline;">No necesitas un programa de facturación.</span></h1>#}
  18.                     {#                        <h1 class="display-5"><span class="text-white p-1 px-6 fade" style="background-color: rgba(60,212,88,0.85);">Solo tienes que subir tus facturas y nosotros hacemos el resto.</span></h1>#}
  19.                     {#                    </div>#}
  20.                     {#                </div>#}
  21.                     {#            </div>#}
  22.                     {#        </div>#}
  23.                     {#    </div>#}
  24.                     {#    <div class="p-3">#}
  25.                     {#        <div class="rounded bg-img h-600 text-center py-10" style="background-image: url(/img/bg/15.jpg)">#}
  26.                     {#            <div class="container">#}
  27.                     {#                <div class="row">#}
  28.                     {#                    <div class="col-lg-12 mx-auto my-8">#}
  29.                     {#                        <h1 class="display-3"><span class="text-white p-1 px-6" style="background-color: rgba(60,212,88,0.85); display: inline;">No necesitas un programa de facturación.</span></h1>#}
  30.                     {#                        <h1 class="display-5"><span class="text-white p-1 px-6 fade" style="background-color: rgba(60,212,88,0.85);">Solo tienes que subir tus facturas y nosotros hacemos el resto.</span></h1>#}
  31.                     {#                    </div>#}
  32.                     {#                </div>#}
  33.                     {#            </div>#}
  34.                     {#        </div>#}
  35.                     {#    </div>#}
  36.                     {#</div>#}
  37.                     
  38.                     <div>
  39.                             <div class="bg-img h-600 py-12" style="background-image: url(/img/bg/fondo-cabecera.png)">
  40.                                 <div>
  41.                                     {# <h2 class="display-4 text-white mb-7 shadowed"><strong>{% if _headerTitleBlock is not empty %}{{ _headerTitleBlock | raw }}{% endif %}</strong></h2> #}
  42.                                     {# {% if _headerIntroBlock is not empty %}<div class="text-white shadowed">{{ _headerIntroBlock | raw }}</div>{% endif %} #}
  43.                                     {# <a class="btn btn-lg btn-round btn-info" href="/es/pymes">{{ _headerCTA }}</a> #}
  44.                                     <h1 class="display-3"><span class="text-white p-1 px-6" style="position: relative;top: 165px;z-index: 1; font-size:38px; font-weight:bold; color: white !important;">{%trans%}inicio.nonecesitas{%endtrans%}</span></h1>
  45.                                     <h1 class="display-5"><span class="text-white p-1 px-6" style="position: relative;top: 132px;z-index: 1; font-size:18px; color: white !important;">{%trans%}inicio.solotienes{%endtrans%}</span></h1>
  46.                                     <div style="background-color: #64A70B; opacity: 0.6; height: 150px; width: 700px; margin-left: 0px;" class="row">
  47.                                             
  48.                                     </div>
  49.                                 </div>
  50.                             </div>
  51.                         </div>
  52.                 </header>
  53.             {% elseif page is not null and page.headerType == 1 and 'portal' not in app.request.attributes.get('_route') %}
  54.                 <!-- Header -->
  55.                 <header class="header text-white mt-10">
  56.                     <div class="container text-center">
  57.                     </div>
  58.                 </header><!-- /.header -->
  59.             {% else %}
  60.                 <!-- Header -->
  61.                 <header class="header text-white pt-8 mt-10 h-250" style="background-image: url(/img/bg/fondo-hojas.png);" data-overlay="8">
  62.                     <div class="container text-center">
  63.                     {#<div class="row">#}
  64.                     {#    <div class="col-md-8 mx-auto">#}
  65.                     {#        <h1>{% if app.request.attributes.get('_route') == 'fos_user_registration_confirmed' %}Registro confirmado{% else %}#}
  66.                     {#        {%if app.request.attributes.get('_route') == 'order_thanks' %}Compra realizada correctamente{% else %}#}
  67.                     {#        No + Papeles{% endif %}#}
  68.                     {#        {% endif %}</h1>#}
  69.                     {#    </div>#}
  70.                     {#</div>#}
  71.                     </div>
  72.                 </header><!-- /.header -->
  73.             {% endif %}
  74.         {% else %}
  75.             <!-- Header -->
  76.             <header class="header text-white pt-8 mt-10 h-250" style="background-image: url(/img/bg/fondo-hojas.png);" data-overlay="8">
  77.                 <div class="container text-center">
  78.                 {#<div class="row">#}
  79.                 {#    <div class="col-md-8 mx-auto">#}
  80.                 {#    <h1>{% if app.request.attributes.get('_route') == 'fos_user_registration_confirmed' %}Registro confirmado{% else %}#}
  81.                 {#    {%if app.request.attributes.get('_route') == 'order_thanks' %}Compra realizada correctamente{% else %}#}
  82.                 {#    No + Papeles{% endif %}#}
  83.                 {#    {% endif %}</h1>#}
  84.                 {#    </div>#}
  85.                 {#</div>#}
  86.                 </div>
  87.             </header><!-- /.header -->
  88.         {% endif %}