templates/frontend/default/index.html.twig line 1

Open in your IDE?
  1. {% extends 'frontend/layout.html.twig' %}
  2. {% block title %} {{ seo_on_page.titulo }} {% endblock title %}
  3. {% block metas_titulo %}
  4.     <meta name="title" content="{{ seo_on_page.titulo }}"/>
  5.     <meta http-equiv="title" content="{{ seo_on_page.titulo }}"/>
  6.     <meta name="DC.Title" content="{{ seo_on_page.titulo }}"/>
  7. {% endblock metas_titulo %}
  8. {% block metas_descripcion %}
  9.     <meta name="description" content="{{ seo_on_page.descripcion }}"/>
  10.     <meta http-equiv="description" content="{{ seo_on_page.descripcion }}"/>
  11.     <meta name="DC.description" content="{{ seo_on_page.descripcion }}"/>
  12. {% endblock metas_descripcion %}
  13. {% block keywords %}
  14.     <meta name="Keywords" content="{{ seo_on_page.tags }}"/>
  15.     <meta http-equiv="keywords" content="{{ seo_on_page.tags }}"/>
  16.     <meta name="DC.keywords" content="{{ seo_on_page.tags }}"/>
  17. {% endblock keywords %}
  18. {% block datosestructurados %}
  19. {% endblock datosestructurados %}
  20. {% block stylesheetspecific %}
  21. {% endblock %}
  22. {% block highlighted %}
  23.     {% if highlighted != null %}
  24.         <div id="highlighted" class="border-0">
  25.             <!-- Image Banner: Use the the data-bg-img functionality to create a simple image banner Use spacer classes to make the banner larger with padding, allows for easy responsive changes too see: elements-ctas.htm To make the banner full height add the attributes: data-toggle="full-height" data-offset="#header" -->
  26.             <div class="bg-black overlay overlay-gradient-flip overlay-op-7 text-center" data-toggle="backstretch"
  27.                  data-backstretch-target="self" data-backstretch-overlay=false
  28.                  data-backstretch-imgs="{{ highlighted.imagenes }}">
  29.                 <div data-toggle="full-height" data-breakpoint="740" data-scroll="scrollax"
  30.                      class="px-3 py-5 py-lg-10 flex-valign" data-animate="fadeIn" data-animate-delay="0.2">
  31.                     {% if highlighted.titulo != '' %}
  32.                         <h2 class="display-4 text-white text-slab mt-lg-5">
  33.                             {{ highlighted.titulo }}
  34.                         </h2>
  35.                     {% endif %}
  36.                     {% if highlighted.descripcion != '' %}
  37.                         <h3 class="text-grey font-weight-normal text-slab">
  38.                             {{ highlighted.descripcion }}
  39.                         </h3>
  40.                     {% endif %}
  41.                     {% if app.user == null %}
  42.                         <hr class="hr-white op-4 hr-lg w-20 mx-auto my-4"/>
  43.                         <div>
  44.                             <a href="{{ url('loginfrontend') }}"
  45.                                class="btn btn-white btn-rounded btn-lg font-weight-bold py-lg-3 px-lg-5"
  46.                                data-toggle="scroll-link" data-animate="fadeIn" data-animate-delay="0.45">Login /
  47.                                 Entrar</a>
  48.                         </div>
  49.                     {% endif %}
  50.                 </div>
  51.             </div>
  52.         </div>
  53.     {% endif %}
  54. {% endblock %}
  55. {% block content %}
  56.     <div id="content" class="p-0 clearfix">
  57.         <div id="about" class="container py-4 py-lg-6">
  58.             <hr class="hr-lg mt-0 mb-2 w-10 mx-auto hr-primary"/>
  59.             <h2 class="text-slab text-center text-uppercase mt-0 mb-5">
  60.                 About <span class="font-weight-bold">Indian Lake Village</span>
  61.             </h2>
  62.             <!-- About company -->
  63.             <div class="row">
  64.                 <div class="col-md-6">
  65.                     <!-- Showshow - Slider Revolution see: plugins/slider-revolution/examples for help -->
  66.                     <div class="slider-wrapper rev_slider_wrapper fullscreen-container bg-black"
  67.                          data-page-class="slider-boxed slider-appstrap-theme">
  68.                         <div class="rev_slider" data-toggle="slider-rev" data-settings='{"delay":3000}'>
  69.                             <ul>
  70.                                 {% for item in about.imagenes %}
  71.                                     <li class="slide overlay overlay-op-4 overlay-gradient"
  72.                                         data-transition="fadethroughdark" data-slotamount="7"
  73.                                         data-hideafterloop="0" data-hideslideonmobile="off"
  74.                                         data-easein="default" data-easeout="default"
  75.                                         data-masterspeed="default"
  76.                                         data-thumb="{{ item }}"
  77.                                         data-rotate="0" data-saveperformance="off" data-title="Slide" data-link="">
  78.                                         <img src="{{ item }}" data-lazyload="{{ item }}" alt="background image"
  79.                                              data-bgposition="center top" data-bgfit="cover" data-bgparallax="off"
  80.                                              class="rev-slidebg" data-no-retina/>
  81.                                     </li>
  82.                                 {% endfor %}
  83.                             </ul>
  84.                             <div class="tp-bannertimer tp-bottom"></div>
  85.                         </div>
  86.                         <!--end of tp-banner-->
  87.                     </div>
  88.                 </div>
  89.                 <div class="col-md-6">
  90.                     {{ about.descripcion | raw }}
  91.                 </div>
  92.             </div>
  93.         </div>
  94.         <div id="board" class="container py-4 py-lg-6">
  95.             <hr class="hr-lg mt-0 mb-2 w-10 mx-auto hr-primary"/>
  96.             <h2 class="text-slab text-center text-uppercase mt-0 mb-5">
  97.                 Current board <span class="font-weight-bold"> of directors</span>
  98.             </h2>
  99.             <div class="team team-grid mt-4">
  100.                 <div class="row" data-toggle="isotope-grid"
  101.                      data-isotope-options='{"layoutMode": "fitRows", "itemSelector": ".grid-item"}'>
  102.                     {% for item in board %}
  103.                         <div class="col-6 col-md-4 grid-item">
  104.                             <div class="team-member">
  105.                                 {% if item.imagen != '' %}
  106.                                     <a href="javascript:;" title="View Jimi's profile">
  107.                                         <img src="{{ item.imagen }}" class="img-thumbnail" alt="{{ item.nombre }}"/>
  108.                                     </a>
  109.                                 {% endif %}
  110.                                 <h5 class="name">
  111.                                     <a href="javascript:;" title="{{ item.nombre }}">{{ item.nombre }}</a>
  112.                                 </h5>
  113.                                 <p class="role">{{ item.cargo }}</p>
  114.                             </div>
  115.                         </div>
  116.                     {% endfor %}
  117.                 </div>
  118.             </div>
  119.         </div>
  120.         <!-- banners -->
  121.         <div class="bg-dark">
  122.             <div class="container py-4 py-lg-6">
  123.                 <div class="row text-center">
  124.                     {% for item in banners %}
  125.                         <div class="col-lg-4 d-lg-flex">
  126.                             <div class="p-2 py-lg-6 overlay overlay-gradient overlay-op-5 rounded mb-4 mb-lg-0 flex-ew flex-valign"
  127.                                  data-bg-img="{{ item.imagen }}" data-url="">
  128.                                 <h2 class="text-white mb-0">
  129.                                     {{ item.titulo }}
  130.                                 </h2>
  131.                                 <p class="text-white mb-0">
  132.                                     {{ item.descripcion }}
  133.                                 </p>
  134.                                 <hr class="hr-lg my-2 w-20 mx-auto hr-primary"/>
  135.                             </div>
  136.                         </div>
  137.                     {% endfor %}
  138.                 </div>
  139.             </div>
  140.         </div>
  141.         <div id="faq" class="container py-4 py-lg-6">
  142.             <hr class="hr-lg mt-0 mb-2 w-10 mx-auto hr-primary"/>
  143.             <h2 class="text-slab text-center text-uppercase mt-0 mb-5">
  144.                 Frequently <span class="font-weight-bold">asked questions</span>
  145.             </h2>
  146.             <div class="card-accordion" id="accordion" role="tablist" aria-multiselectable="true">
  147.                 {% for item in faqs %}
  148.                     <div class="card">
  149.                         <h4 class="card-header py-0 px-0" role="tab" id="headingOne">
  150.                             <a data-toggle="collapse" data-parent="#accordion" href="#collapse{{ item.faq_id }}"
  151.                                aria-expanded="true" aria-controls="collapse{{ item.faq_id }}">
  152.                                 {{ item.pregunta }}
  153.                             </a>
  154.                         </h4>
  155.                         <div id="collapse{{ item.faq_id }}" class="collapse {% if loop.first %}show{% endif %}"
  156.                              role="tabpanel" aria-labelledby="headingOne" data-parent="#accordion">
  157.                             <div class="card-body">
  158.                                 {{ item.respuesta | raw }}
  159.                             </div>
  160.                         </div>
  161.                     </div>
  162.                 {% endfor %}
  163.             </div>
  164.         </div>
  165.         <div class="bg-dark">
  166.             <div class="container py-4 py-lg-6">
  167.                 <div class="row text-center">
  168.                     <div class="col-lg-7 text-center">
  169.                         <h2 class="text-white mb-0">
  170.                             New Residents
  171.                         </h2>
  172.                         <hr class="hr-lg my-2 w-20 mx-auto hr-primary"/>
  173.                         <p class="text-white">
  174.                             Please read all the sections of our website and public documents to know more about our
  175.                             community.
  176.                         </p>
  177.                         <p class="text-white mb-0">
  178.                             Contact us if you have any questions on how to apply to become a resident of our community.
  179.                             Our board is always responsive and will help you throughout the process.
  180.                         </p>
  181.                     </div>
  182.                     <div class="col-lg-5 d-lg-flex">
  183.                         <div class="p-2 py-lg-6 overlay overlay-gradient overlay-op-5 rounded mb-4 mb-lg-0 flex-ew flex-valign"
  184.                              data-bg-img="{{ asset('bundles/frontend/assets/img/_DSC0848_1920.jpg') }}" data-url=""
  185.                              style="height: 300px;">
  186.                         </div>
  187.                     </div>
  188.                 </div>
  189.             </div>
  190.         </div>
  191.     </div>
  192. {% endblock %}
  193. {% block javascriptspecific %}
  194. {% endblock %}