{% extends 'app/layout.html.twig' %}
{% block content %}
{% if editmode %}
Selecteer hieronder een project.
{{ pimcore_relation("project", {
classes: ["Sector"],
reload: true,
}) }}
{% endif %}
{% include "app/partials/navigation/_breadcrumbs.html.twig" %}
{% set project = pimcore_relation("project").getElement() ?? null %}
{{ pimcore_area('hero', {
type: 'hero-project-brick',
params: {
'hero-project-brick' : {
headLineEnabled: true,
titleDefault: (project.title ?? null) ?: null,
descriptionDefault: (project.meta_description ?? null) ?: null,
defaultHeroBackgroundImage: (project.visuals|first.getThumbnail('header-large-gradient')) ?? null,
categories: project.groups ?? null,
sectors: project.sectors ?? null
}
}
}) }}
{% if project is defined %}
<div class="container pb-10 container-s">
<div class="gap-8 md:gap-24">
<div class="project-content">
{{ (project.webdesq_content ?? null) | raw }}
{% if project.content_video is defined and project.content_video %}
<div class="my-10">
{% include 'areas/video-brick/partials/_video.html.twig' with {
'video': project.content_video,
}
%}
</div>
{% endif %}
{{ pimcore_block('case-usp') }}
<ul class="mt-8 md:mt-8 md:my-8 text-md">
{% for usp in pimcore_block('case-ups').iterator %}
<li class="flex mb-3 text-blue">
<svg class="w-[24px] h-[18px] mr-3 shrink-0 mt-1.5 " xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 18">
<path fill="#0072BB" fill-rule="evenodd" d="M21.576 0 24 2.424l-6.562 6.562-7.655 7.655a1.71 1.71 0 0 1-2.422 0h-.002L0 9.28l2.425-2.424 6.147 6.148L21.576 0Z"></path>
</svg>
<span>{{ pimcore_input('usp') }}</span>
</li>
{% endfor %}
</ul>
</div>
<div class="mt-4">
{% if editmode or not pimcore_input('download-title').isEmpty() %}
<b>{{ pimcore_input('download-title') }}</b>
{% endif %}
<div class="flex-row">
{% if editmode %}
{{ pimcore_link('download-case') }}
{% elseif pimcore_link('download-case').getHref() | default() %}
<a href="{{ pimcore_link('download-case').getHref() }}" class="relative group button !pl-12 button__primary mt-6">
<svg class="absolute left-5 top-4" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="16px" height="16px" viewBox="0 0 16 16" version="1.1">
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g transform="translate(-554.000000, -1195.000000)" class="transition fill-blue group-hover:fill-white">
<g transform="translate(0.000000, 860.000000)">
<g transform="translate(536.000000, 20.000000)">
<g transform="translate(0.000000, 244.000000)">
<g transform="translate(0.000000, 52.000000)">
<g transform="translate(18.000000, 19.000000)">
<path d="M16,12 L16,15.2 C16,15.6418278 15.6418278,16 15.2,16 L0.8,16 C0.3581722,16 0,15.6418278 0,15.2 L0,12 L1.6,12 L1.6,14.4 L14.4,14.4 L14.4,12 L16,12 Z M8,12 C8.21221371,12.0002458 8.41577082,11.9158862 8.5656,11.7656 L11.7656,8.5656 L10.6344,7.4344 L8.8,9.26872 L8.8,0 L7.2,0 L7.2,9.26872 L5.3656,7.4344 L4.2344,8.5656 L7.4344,11.7656 C7.58422918,11.9158862 7.78778629,12.0002458 8,12 Z" id="Shape"/>
</g>
</g>
</g>
</g>
</g>
</g>
</g>
</svg>
{{ pimcore_link('download-case').getText() }}
</a>
{% endif %}
{% if editmode %}
{{ pimcore_link('contact-for-information') }}
{% elseif pimcore_link('contact-for-information').getHref() | default() %}
<a href="{{ pimcore_link('contact-for-information').getHref() }}" class="button button__secondary group {% if pimcore_link('download-case').isEmpty() %} !px-0 {% endif %}">
{{ pimcore_link('contact-for-information').getText() }}
<span
class="flex items-center justify-center w-6 h-6 ml-3 transition-all bg-white rounded-full shadow-md text-blue group-hover:bg-blue group-hover:text-white"><svg
class="h-3.5 w-3.5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path
fill="currentColor" fill-rule="currentColor"
d="m6.406 15.656 6.963-6.731c.249-.24.389-.575.389-.925 0-.35-.14-.685-.389-.925L6.406.343A1.206 1.206 0 0 0 4.657.41l-.09.113a1.297 1.297 0 0 0 .154 1.67L10.731 8l-6.008 5.806a1.295 1.295 0 0 0-.065 1.783c.463.52 1.248.55 1.748.066Z"></path></svg></span>
</a>
{% endif %}
</div>
</div>
</div>
</div>
{% if project.visuals | default([]) %}
{% include "project/partials/media-brick.html.twig" with {'media': project.visuals} %}
{% endif %}
{% if editmode or project.getProject_facts() | length > 0 %}
{{ pimcore_area('project-facts', {
type: 'project-usp-grid-brick',
params: {
'project-usp-grid-brick': {
items: project.getProject_facts(),
backgroundColor: 'bg-blue-200'
}
}
}) }}
{% endif %}
{% include "project/partials/contact.html.twig" %}
{{ pimcore_area('testimonials', {
type : 'testimonial-brick',
}) }}
{% if editmode or project.getClient_facts() | length > 0 %}
{{ pimcore_area('client-facts', {
type: 'project-usp-grid-brick',
params: {
'project-usp-grid-brick': {
items: project.getClient_facts(),
backgroundColor: 'bg-white'
}
}
}) }}
{% endif %}
{{ pimcore_area('added-value', {
type: 'content-brick',
params: {
'content-brick': {
layout: 'text-image'
}
}
}) }}
{% if editmode or project.groups | default([]) %}
{{ pimcore_area('applied-products', {
type : 'product-category-cards-brick',
params: {
'product-category-cards-brick': {
productCategories: project.groups ?? null,
defaultTitle: 'Toegepaste producten'|trans,
brickBackgroundColor: 'bg-blue-200'
}
}
}) }}
{% endif %}
{% if editmode or project.related_projects | default([]) %}
{{ pimcore_area('related-projects', {
type: 'projects-card-slider-brick',
params: {
'projects-card-slider-brick': {
defaultTitle: 'Gerelateerde projecten en onderwerpen' | trans,
projects: project.related_projects ?? [],
brickBackgroundColor: 'bg-gray-200',
labelOverride: 'Project' | trans
}
}
}) }}
{% endif %}
{{ pimcore_area('project-faq', {
type: 'faq-brick',
params: {
'faq-brick': {
showContact: 'false',
containerSize: 'md:max-w-[1100px] container',
containerClass: 'mx-auto'
}
}
}) }}
{% endif %}
{{ pimcore_area('contact-side-widget', {
type: 'contact-side-widget-brick'
}) }}
{% endblock %}