{% extends 'app/layout.html.twig' %}
{% block content %}
{% if editmode %}
Selecteer hieronder een sector.
{{ pimcore_relation("sector", {
"types": ["object"],
"classes": ["Sector"]
}) }}
{% endif %}
{% include "app/partials/navigation/_breadcrumbs.html.twig" %}
{#
Note area name 'content-brick-1' is used in @see templates/sector/_card.html.twig
and in @see templates/sector/partials/breadcrumbs/breadcrumbs.html.twig
#}
{{ pimcore_area('content-brick-1', {
'type':'content-brick',
'params':{
'content-brick': {
'forceH1' : true,
'defaultLayout': 'text-image',
'defaultBackgroundColor':'bg-blue-200',
'defaultInverted': false,
"defaultHeadline" : sector.branchename ?? null,
"defaultTitle" : sector.title ?? null,
"defaultWysiwyg" : sector.description ?? null,
'overrideIcon' : sector.icon ?? null,
"overrideImage" : sector.visuals.items[0] ?? null,
'preHeadlineIconActive' : true,
'defaultpreHeadlineIconActive' : true,
'defaultPrimaryLink' : {
'title' : "Advies aanvragen"|trans,
'link': document.getProperty('contactPage').url() ?? null,
'target': "",
},
'defaultSecondaryLink' : {
'title' : "Bekijk de oplossingen"|trans,
'link': "#related-product-anchor",
'target': "",
}
}
}
}) }}
{{ pimcore_area("sector-cards", {
'type' : "sector-cards-brick",
'params':{
'sector-cards-brick': {
'defaultBackgroundColor':'md:bg-blue-200',
'defaultSecondBackgroundColor':'md:bg-blue-300',
'defaultSecondBackgroundPosition':'bottom-0',
'style': 'images'
}
}
}) }}
<div id="applications-anchor">
{{ pimcore_area('unique-selling-point-brick-1', {
'type':'unique-selling-point-brick',
'params': {
'unique-selling-point-brick': {
'brickBackgroundColor' : 'bg-blue-300',
'defaultBackgroundColor' : 'bg-blue-300',
'defaultTitle': ('Toepassingen {{ sector }}') | trans({'{{ sector }}': sector.branchename }),
}
}
}) }}
</div>
<div id="solutions-anchor">
{{ pimcore_area('content-brick-2', {
'type':'content-brick',
'params':{
'content-brick': {
'layout': 'text-below-text',
'defaultLayout': "text-below-text",
'defaultBackgroundColor':'bg-white',
'defaultTitle': ('Oplossingen {{ sector }}') | trans({'{{ sector }}': sector.branchename }),
}
}
}) }}
</div>
{{ pimcore_area("media-brick-multiple", { 'type' : "media-brick" }) }}
{{ pimcore_area("testimonial-brick", {
type: "testimonial-brick"
}) }}
{{ pimcore_area('content-brick-3', {
'type':'content-brick',
'params':{
'content-brick': {
'layout': 'text-image',
'defaultLayout': 'text-image',
'defaultBackgroundColor':'bg-white',
'defaultInverted': true,
'uspsActive' : true,
'defaultUspsActive' : true,
}
}
}) }}
{{ pimcore_inc(document.getProperty('textAndLinksSnippet')) }}
<div id="certificates-anchor">
{{ pimcore_inc(document.getProperty('certificateSnippet')) }}
</div>
{{ pimcore_area("sector-cards-2", {
'type' : "sector-cards-brick",
'params':{
'sector-cards-brick': {
'defaultTitle': "Oplossingen voor aanverwante sectoren"|trans,
'defaultBackgroundColor':'bg-blue-200',
'defaultSecondBackgroundColor':'bg-blue-300',
'defaultSecondBackgroundPosition':'bottom-0',
'style': 'icons'
}
}
}) }}
<div id="related-items-anchor">
{{ pimcore_area('related-projects', {
'type': 'projects-card-slider-brick',
'params': {
'projects-card-slider-brick' : {
'defaultTitle' : "Gerelateerde items"|trans,
'projects': sector.projects ?? null,
'projectsLimit': 3,
'labelOverride': 'Project' | trans
}
}
}) }}
</div>
<div id="related-product-anchor">
{{ pimcore_area('product-category-cards-brick', {
type: 'product-category-cards-brick',
params: {
'product-category-cards-brick': {
'brickBackgroundColor': 'bg-blue-200',
'containerClasses': 'container py-10 md:py-20',
'showTitle': true,
'defaultTitle' : "Gerelateerde producten"|trans,
'fourColumns': false
}
}
}) }}
</div>
<div id="faq-anchor">
{{ pimcore_inc(document.getProperty('faqSnippet')) }}
</div>
{{ pimcore_area('contact-side-widget', {
type: 'contact-side-widget-brick'
}) }}
{% endblock %}