templates/default/portal.html.twig line 52

Open in your IDE?
  1. {% extends 'layout/layout.html.twig' %}
  2. {% block content %}
  3.     {% include 'includes/navigation.html.twig' %}
  4.     {% if editmode %}
  5.         <section class="editmode-hero">
  6.             <div class="hero-text">
  7.                 <div class="container">
  8.                     <h1>{{ pimcore_input('hero_headline', {'placeholder':'Erfolgreich kommunizieren'}) }}</h1>
  9.                     <p class="intro">
  10.                         {{  pimcore_wysiwyg("specialContent", {
  11.                             "height": 200,
  12.                             "class": "intro",
  13.                             "toolbarGroups": [
  14.                                 {
  15.                                     "name": 'basicstyles',
  16.                                     "groups": [ 'basicstyles', 'list', "links"]
  17.                                 }
  18.                             ]})
  19.                         }}
  20.                     </p>
  21.                 </div>
  22.             </div>
  23.         </section>
  24.     {% endif %}
  25.     <section id="portal-image" class="portal-image">
  26.         {% if not editmode %}
  27.             <div id="start"></div>
  28.             <div class="hero-text-holder">
  29.                 <div class="hero-text"></div>
  30.                 <div class="container">
  31.                     <h1>{{ pimcore_input('hero_headline').getData() }}</h1>
  32.                     {{  pimcore_wysiwyg("specialContent").getData() | raw }}
  33.                 </div>
  34.             </div>
  35.         {% endif %}
  36.         {% set image = pimcore_image('image', {
  37.             "title": "Drag your image here",
  38.             "width": 1500,
  39.             "height": 822,
  40.             "thumbnail": "SingleImage"
  41.         }) %}
  42.         {% if editmode %}
  43.             {{ image | raw }}
  44.         {% elseif not editmode and not image.isEmpty() %}
  45.             {{ image | raw }}
  46.         {% endif %}
  47.     </section>
  48.     {{ pimcore_areablock("content", {
  49.         "allowed": ["services","about","team"],
  50.         "sorting": ["services","about","team"],
  51.     }) }}
  52. {% endblock %}