{% extends 'layout/layout.html.twig' %}
{% block content %}
{% include 'includes/navigation.html.twig' %}
{% if editmode %}
<section class="editmode-hero">
<div class="hero-text">
<div class="container">
<h1>{{ pimcore_input('hero_headline', {'placeholder':'Erfolgreich kommunizieren'}) }}</h1>
<p class="intro">
{{ pimcore_wysiwyg("specialContent", {
"height": 200,
"class": "intro",
"toolbarGroups": [
{
"name": 'basicstyles',
"groups": [ 'basicstyles', 'list', "links"]
}
]})
}}
</p>
</div>
</div>
</section>
{% endif %}
<section id="portal-image" class="portal-image">
{% if not editmode %}
<div id="start"></div>
<div class="hero-text-holder">
<div class="hero-text"></div>
<div class="container">
<h1>{{ pimcore_input('hero_headline').getData() }}</h1>
{{ pimcore_wysiwyg("specialContent").getData() | raw }}
</div>
</div>
{% endif %}
{% set image = pimcore_image('image', {
"title": "Drag your image here",
"width": 1500,
"height": 822,
"thumbnail": "SingleImage"
}) %}
{% if editmode %}
{{ image | raw }}
{% elseif not editmode and not image.isEmpty() %}
{{ image | raw }}
{% endif %}
</section>
{{ pimcore_areablock("content", {
"allowed": ["services","about","team"],
"sorting": ["services","about","team"],
}) }}
{% endblock %}