templates/pages/about.html.twig line 1

Open in your IDE?
  1. {% extends "base.html.twig" %}
  2. {% block content %}
  3.     {{ include('@components/hero-header.html.twig', {
  4.         image: content.image.url,
  5.         text: content.heroImageText
  6.     }) }}
  7.     {{ include('@components/image-text-section.html.twig', {
  8.         image: content.teaserImage1.url|default('/website/images/placeholder-image.png'),
  9.         text: content.teaserText1,
  10.         order: {
  11.             text: '1',
  12.             image: '2'
  13.         },
  14.         externalLink: true
  15.     }) }}
  16.     {{ include('@components/image-text-section.html.twig', {
  17.         image: content.teaserImage2.url|default('/website/images/placeholder-image.png'),
  18.         text: content.teaserText2,
  19.         order: {
  20.             text: '2',
  21.             image: '1'
  22.         },
  23.         externalLink: true
  24.     }) }}
  25.     {{ include('@components/image-text-section.html.twig', {
  26.         image: content.teaserImage3.url|default('/website/images/placeholder-image.png'),
  27.         text: content.teaserText3,
  28.         order: {
  29.             text: '1',
  30.             image: '2'
  31.         },
  32.         button: {
  33.             withIcon: true,
  34.             text: content.teaserUrlText3,
  35.             link: content.teaserUrl3
  36.         },
  37.         externalLink: true
  38.     }) }}
  39.     {{ include('@components/image-text-section.html.twig', {
  40.         backgroundColorClass: 'bg-grey',
  41.         image: content.teaserImage4.url|default('/website/images/placeholder-image.png'),
  42.         text: content.teaserText4,
  43.         imageIsIcon: true,
  44.         order: {
  45.             text: '2',
  46.             image: '1'
  47.         },
  48.         button: {
  49.             withIcon: true,
  50.             text: content.teaserUrlText4,
  51.             link: content.teaserUrl4
  52.         },
  53.         externalLink: true
  54.     }) }}
  55.     {{ include('@components/image-text-section.html.twig', {
  56.         image: content.teaserImage5.url|default('/website/images/placeholder-image.png'),
  57.         text: content.teaserText5,
  58.         order: {
  59.             text: '2',
  60.             image: '1'
  61.         },
  62.         button: {
  63.             withIcon: true,
  64.             text: content.teaserUrlText5,
  65.             link: content.teaserUrl5
  66.         },
  67.         externalLink: true
  68.     }) }}
  69.     <div class="image-text-section mb-5 mt-lg-7 bg-yellow">
  70.         <div class="container py-3 py-md-5">
  71.             <div class="row gx-0 gx-md-5">
  72.                 <div class="col-12 col-lg-6 order-2 order-lg-2 d-flex flex-column justify-content-between">
  73.                     <div class="teaser-text">{{ content.teaserText6|raw }}</div>
  74.                     {{ include('@components/link.html.twig', {
  75.                         text: content.teaserUrlText6,
  76.                         link: content.teaserUrl6,
  77.                         textRight: true
  78.                     }) }}
  79.                 </div>
  80.                 <div class="col-12 col-lg-6 mb-4 mb-lg-0 order-1 order-lg-1">
  81.                     <img class="d-block w-100 mt-lg-n6" src="{{ content.teaserImage6.url }}" alt="">
  82.                 </div>
  83.             </div>
  84.         </div>
  85.     </div>
  86. {% endblock %}