templates/front/default/about_us.html.twig line 1

Open in your IDE?
  1. {% extends "front/_common/_base.html.twig" %}
  2. {% block linkcanonical %}
  3.     <link rel="canonical" href="{{ absolute_url(path('about_us')) }}">
  4. {% endblock %}
  5. {% block cssadicional %}{% endblock %}
  6. {% block classbody %}{% endblock %}
  7. {% block content %}
  8.     <section class="b5 scroll-wrapper">
  9.         <div class="b5Wrapper">
  10.             <picture class="b5BannerPicture">
  11.                 <source srcset="{{ asset(sd.bannerImage|image_path) }}">
  12.                 <img class="b5BannerPictureImage" src="{{ asset(sd.bannerImage|image_path) }}" width="1600" alt="{{ asset(sd.bannerImage|image_alt) }}">
  13.             </picture>
  14.             {% if sd.bannerText %}
  15.                 <div class="b5BannerText scroll-item">
  16.                     <h1>{{ sd.bannerText }}</h1>
  17.                 </div>
  18.             {% endif %}
  19.         </div>
  20.     </section>
  21.     {% if sd.informationShow and sd.informationItems|length > 0 %}
  22.         <section class="b6">
  23.             <div class="b6Wrapper wanchoSecondary">
  24.                 {% for item in sd.informationItems %}
  25.                     <div class="b6Item scroll-wrapper">
  26.                         <div class="b6ItemText scroll-item">
  27.                             <h3 class="titleStandard2">{{ item.title }}</h3>
  28.                             <div class="b6ItemTextParagraph paragraphText">
  29.                                 <p>{{ item.text|nl2br }}</p>
  30.                             </div>
  31.                         </div>
  32.                         <div class="b6ItemImage scroll-item">
  33.                             <picture class="b6BannerPicture">
  34.                                 <img class="b6BannerPictureImage" src="{{ asset(item.image|image_path) }}" width="600" alt="{{ item.image|image_alt }}">
  35.                             </picture>
  36.                         </div>
  37.                     </div>
  38.                 {% endfor %}
  39.             </div>
  40.         </section>
  41.     {% endif %}
  42.     {% if sd.detailShow %}
  43.         <section class="b7 scroll-wrapper">
  44.             <div class="b7Wrapper wanchoSecondary">
  45.                 <div class="b7Left">
  46.                     <picture class="b7BannerPicture">
  47.                         <img class="b7BannerPictureImage" src="{{ asset(sd.detailImage|image_path) }}" width="600" alt="{{ sd.detailImage|image_alt }}">
  48.                     </picture>
  49.                 </div>
  50.                 <div class="b7Right">
  51.                     <div class="b7RightBox">
  52.                         <div class="b7RightText scroll-item">
  53.                             {% if sd.detailMissionTitle %}
  54.                                 <h3 class="titleStandard3">{{ sd.detailMissionTitle }}</h3>
  55.                             {% endif %}
  56.                             {% if sd.detailMissionText %}
  57.                                 <div class="b7RightTextParagraph paragraphText">
  58.                                     <p>{{ sd.detailMissionText|nl2br }}</p>
  59.                                 </div>
  60.                             {% endif %}
  61.                         </div>
  62.                         <div class="b7RightText scroll-item">
  63.                             {% if sd.detailVisionTitle %}
  64.                                 <h3 class="titleStandard3">{{ sd.detailVisionTitle }}</h3>
  65.                             {% endif %}
  66.                             {% if sd.detailVisionText %}
  67.                                 <div class="b7RightTextParagraph paragraphText">
  68.                                     <p>{{ sd.detailVisionText|nl2br }}</p>
  69.                                 </div>
  70.                             {% endif %}
  71.                         </div>
  72.                     </div>
  73.                 </div>
  74.             </div>
  75.         </section>
  76.     {% endif %}
  77.     {% if sd.featuresShow %}
  78.         <section class="b8 scroll-wrapper" id="b8">
  79.             <div class="b8Wrapper wanchoSecondary">
  80.                 <div class="b8Left">
  81.                     <div class="b8LeftBox">
  82.                         <div class="b8LeftText">
  83.                             {% if sd.featuresTitle %}
  84.                                 <h2 class="titleStandard2 scroll-item">{{ sd.featuresTitle }}</h2>
  85.                             {% endif %}
  86.                             <div class="b8LeftStats">
  87.                                 {% for item in sd.featuresItems %}
  88.                                     <div class="b8LeftStatsItem scroll-item">
  89.                                         <div class="b8LeftStatsItemBox">
  90.                                             {% if item.prefix %}
  91.                                                 <span>{{ item.prefix }}</span>
  92.                                             {% endif %}
  93.                                             <span class="b8Count" data-number="{{ item.value }}"></span>
  94.                                         </div>
  95.                                         <div class="b8LeftStatsItemText">
  96.                                             {{ item.text }}
  97.                                         </div>
  98.                                     </div>
  99.                                 {% endfor %}
  100.                             </div>
  101.                             <div class="b8LeftButton scroll-item">
  102.                                 <a href="{{ path('trucks') }}" class="buttonStandard icon gray">
  103.                                     <span>Ver modelos</span><i class="icon-iconos-6"></i>
  104.                                 </a>
  105.                             </div>
  106.                         </div>
  107.                     </div>
  108.                 </div>
  109.                 {% if sd.featuresImage|image_path %}
  110.                     <div class="b8Right scroll-item">
  111.                         <picture class="b8RightPicture">
  112.                             <img class="b8RightPictureImage" src="{{ asset(sd.featuresImage|image_path) }}" width="812" alt="{{ sd.featuresImage|image_alt }}">
  113.                         </picture>
  114.                     </div>
  115.                 {% endif %}
  116.             </div>
  117.         </section>
  118.     {% endif %}
  119.     {% if sd.trajectoryShow %}
  120.         <section class="b9 scroll-wrapper">
  121.             <div class="b9Wrapper scroll-item wanchoSecondary">
  122.                 {% if sd.trajectoryTitle %}
  123.                     <div class="b9Title">
  124.                         <h2 class="titleStandard">{{ sd.trajectoryTitle }}</h2>
  125.                     </div>
  126.                 {% endif %}
  127.                 <div class="b9ContentTab">
  128.                     {% for item in sd.trajectoryItems %}
  129.                         <div class="b9Tab" data-tab="{{ loop.index - 1 }}">
  130.                             <div class="b9TabBox">
  131.                                 <h3>{{ item.title }}</h3>
  132.                             </div>
  133.                             <div class="b9RightTextParagraph paragraphText">
  134.                                 <p>{{ item.text|nl2br }}</p>
  135.                             </div>
  136.                         </div>
  137.                     {% endfor %}
  138.                 </div>
  139.                 <div class="b9ContentSlider">
  140.                     <div class="b9Swiper swiper-container" data-initial="{{ sd.trajectoryItems|length - 1 }}">
  141.                         <div class="swiper-wrapper">
  142.                             {% for item in sd.trajectoryItems %}
  143.                                 <div class="b9Slide swiper-slide">
  144.                                     <div class="b9SlideBox">
  145.                                         <h4 class="b9SlideYear">{{ item.year }}</h4>
  146.                                     </div>
  147.                                 </div>
  148.                             {% endfor %}
  149.                         </div>
  150.                     </div>
  151.                     <div class="b9Arrows">
  152.                         <div class="b9Prev arrowSwiper swiper-button-prev icon-chevron-left"></div>
  153.                         <div class="b9Next arrowSwiper swiper-button-next icon-chevron-right"></div>
  154.                     </div>
  155.                 </div>
  156.             </div>
  157.         </section>
  158.     {% endif %}
  159. {% endblock %}
  160. {% block jsfinal %}{% endblock %}