{#
{
"key": "custom_gallery",
"label": "Galerij",
"description": "Blokken met afbeeldingen met tekst op hover-functie",
"allowMove": true,
"category": "IDB",
"blocks": [
{
"key": "block-0",
"size": 4,
"required": "media",
"multiple": false,
"fields": [
{
"key": "content",
"type": "textarea",
"label": "Tekst"
}
]
},
{
"key": "block-1",
"size": 4,
"required": "media",
"multiple": false,
"fields": [
{
"key": "content",
"type": "textarea",
"label": "Tekst"
}
]
},
{
"key": "block-2",
"size": 4,
"required": "media",
"multiple": false,
"fields": [
{
"key": "content",
"type": "textarea",
"label": "Tekst"
}
]
},
{
"key": "block-3",
"size": 4,
"required": "media",
"multiple": false,
"fields": [
{
"key": "content",
"type": "textarea",
"label": "Tekst"
}
]
},
{
"key": "block-4",
"size": 4,
"required": "media",
"multiple": false,
"fields": [
{
"key": "content",
"type": "textarea",
"label": "Tekst"
}
]
},
{
"key": "block-5",
"size": 4,
"required": "media",
"multiple": false,
"fields": [
{
"key": "content",
"type": "textarea",
"label": "Tekst"
}
]
}
]
}
#}
<section id="{{wrapper.cssId is defined ? wrapper.cssId : ''}}" class="custom-gallery {{wrapper.cssClass is defined ? wrapper.cssClass : ''}}">
<div class="container {{firstBlock.config.class is not empty ? firstBlock.config.class : ''}}">
{% if wrapper.label or wrapper.intro is not empty %}
<div class="introblock">
{% if wrapper.label is not empty %}
<div class="introtitle">
{{wrapper.label|raw}}
</div>
{% endif %}
{% if wrapper.intro is not empty %}
<div class="introtext">
{{wrapper.intro|raw}}
</div>
{% endif %}
</div>
{% endif %}
</div>
<div class="images">
<a href="{{wrapper.blocks[0].config.link}}" target="_blank">
<div class="image img-1" {% if wrapper.blocks[0].media is not empty %} style="background: url(/{{wrapper.blocks[0].media.getWebPath}}) no-repeat center; background-size: cover;" {% endif %}></div>
<div class="text">
{% if wrapper.blocks[0].config.content is not empty %}
{{wrapper.blocks[0].config.content|raw}}
{% endif %}
<div class="corner-shape">
<svg preserveaspectratio="none" class="corner-shape-topleft" x="0px" y="0px" viewbox="0 0 21.4 19.5" style="enable-background:new 0 0 21.4 19.5;" xml:space="preserve">
<path
d="M20,0.3L18.9,0c-0.4-0.1-0.9,0-1.3,0.3S17,1,17,1.4l-0.1,1.2c0,0.1,0,0.2,0,0.3s0,0.2,0,0.3
c0,0.2-0.1,0.5-0.1,0.7c-0.1,0.5-0.2,0.9-0.3,1.4c-0.3,1-0.6,1.9-1.1,2.7c-0.9,1.7-2.1,3.1-3.6,4.1c-1.4,1-3.2,1.7-5.2,2
c-1.5,0.2-3.2,0.3-4.9,0.2c-0.4,0-0.8,0.1-1.1,0.4C0.2,15.1,0,15.5,0,15.9v1.9v0.1c0,0.1,0,0.3,0,0.4v1.2h5.8l0,0
c0.5-0.1,1.1-0.1,1.6-0.2c3.8-0.7,6.3-2.2,7.2-2.9c2.1-1.5,3.9-3.5,5.2-6c0.6-1.1,1.1-2.3,1.4-3.6c0.1-0.3,0.2-0.6,0.2-1l0,0V0.7
C21,0.6,20.5,0.5,20,0.3z"/>
</svg>
<svg preserveaspectratio="none" class="corner-shape-top" viewbox="0 0 290.3 22.5" style="enable-background:new 0 0 290.3 22.5;" xml:space="preserve">
<path
d="M290.3,1.8c-0.2-0.8-1-1.3-1.8-1.1c-24,5.7-48.2,10.2-72.1,13.1c-24.2,3-48.8,4.6-73,4.8
c-24.2-0.3-48.8-2.1-73-5.3C47.1,10.2,23.4,5.8,0,0v5.1c23.2,5.5,46.7,9.7,69.9,12.6c24.4,3,49.1,4.7,73.5,4.8
c24.4-0.3,49.1-2.1,73.4-5.3c24-3.1,48.3-7.8,72.3-13.7C290,3.4,290.5,2.6,290.3,1.8z"/>
</svg>
<svg preserveaspectratio="none" class="corner-shape-left" viewbox="0 0 5.83 168.4">
<path d="M0,151.7v15.2a1.54,1.54,0,0,0,1.5,1.5h0A1.54,1.54,0,0,0,3,166.9V151.8c.1-23,.8-46.3,1.4-69C5.2,55.5,6,27.5,5.8,0H0Z"/>
</svg>
</div>
</div>
</a>
<a href="{{wrapper.blocks[1].config.link}}" target="_blank">
<div class="image img-2" {% if wrapper.blocks[1].media is not empty %} style="background: url(/{{wrapper.blocks[1].media.getWebPath}}) no-repeat center; background-size: cover;" {% endif %}></div>
<div class="text">
{% if wrapper.blocks[1].config.content is not empty %}
{{wrapper.blocks[1].config.content|raw}}
{% endif %}
<div class="corner-shape">
<svg preserveaspectratio="none" class="corner-shape-topleft" x="0px" y="0px" viewbox="0 0 21.4 19.5" style="enable-background:new 0 0 21.4 19.5;" xml:space="preserve">
<path
d="M20,0.3L18.9,0c-0.4-0.1-0.9,0-1.3,0.3S17,1,17,1.4l-0.1,1.2c0,0.1,0,0.2,0,0.3s0,0.2,0,0.3
c0,0.2-0.1,0.5-0.1,0.7c-0.1,0.5-0.2,0.9-0.3,1.4c-0.3,1-0.6,1.9-1.1,2.7c-0.9,1.7-2.1,3.1-3.6,4.1c-1.4,1-3.2,1.7-5.2,2
c-1.5,0.2-3.2,0.3-4.9,0.2c-0.4,0-0.8,0.1-1.1,0.4C0.2,15.1,0,15.5,0,15.9v1.9v0.1c0,0.1,0,0.3,0,0.4v1.2h5.8l0,0
c0.5-0.1,1.1-0.1,1.6-0.2c3.8-0.7,6.3-2.2,7.2-2.9c2.1-1.5,3.9-3.5,5.2-6c0.6-1.1,1.1-2.3,1.4-3.6c0.1-0.3,0.2-0.6,0.2-1l0,0V0.7
C21,0.6,20.5,0.5,20,0.3z"/>
</svg>
<svg preserveaspectratio="none" class="corner-shape-top" viewbox="0 0 290.3 22.5" style="enable-background:new 0 0 290.3 22.5;" xml:space="preserve">
<path
d="M290.3,1.8c-0.2-0.8-1-1.3-1.8-1.1c-24,5.7-48.2,10.2-72.1,13.1c-24.2,3-48.8,4.6-73,4.8
c-24.2-0.3-48.8-2.1-73-5.3C47.1,10.2,23.4,5.8,0,0v5.1c23.2,5.5,46.7,9.7,69.9,12.6c24.4,3,49.1,4.7,73.5,4.8
c24.4-0.3,49.1-2.1,73.4-5.3c24-3.1,48.3-7.8,72.3-13.7C290,3.4,290.5,2.6,290.3,1.8z"/>
</svg>
<svg preserveaspectratio="none" class="corner-shape-left" viewbox="0 0 5.83 168.4">
<path d="M0,151.7v15.2a1.54,1.54,0,0,0,1.5,1.5h0A1.54,1.54,0,0,0,3,166.9V151.8c.1-23,.8-46.3,1.4-69C5.2,55.5,6,27.5,5.8,0H0Z"/>
</svg>
</div>
</div>
</a>
<a href="{{wrapper.blocks[2].config.link}}" target="_blank">
<div class="image img-3" {% if wrapper.blocks[2].media is not empty %} style="background: url(/{{wrapper.blocks[2].media.getWebPath}}) no-repeat center; background-size: cover;" {% endif %}></div>
<div class="text">
{% if wrapper.blocks[2].config.content is not empty %}
{{wrapper.blocks[2].config.content|raw}}
{% endif %}
<div class="corner-shape">
<svg preserveaspectratio="none" class="corner-shape-topleft" x="0px" y="0px" viewbox="0 0 21.4 19.5" style="enable-background:new 0 0 21.4 19.5;" xml:space="preserve">
<path
d="M20,0.3L18.9,0c-0.4-0.1-0.9,0-1.3,0.3S17,1,17,1.4l-0.1,1.2c0,0.1,0,0.2,0,0.3s0,0.2,0,0.3
c0,0.2-0.1,0.5-0.1,0.7c-0.1,0.5-0.2,0.9-0.3,1.4c-0.3,1-0.6,1.9-1.1,2.7c-0.9,1.7-2.1,3.1-3.6,4.1c-1.4,1-3.2,1.7-5.2,2
c-1.5,0.2-3.2,0.3-4.9,0.2c-0.4,0-0.8,0.1-1.1,0.4C0.2,15.1,0,15.5,0,15.9v1.9v0.1c0,0.1,0,0.3,0,0.4v1.2h5.8l0,0
c0.5-0.1,1.1-0.1,1.6-0.2c3.8-0.7,6.3-2.2,7.2-2.9c2.1-1.5,3.9-3.5,5.2-6c0.6-1.1,1.1-2.3,1.4-3.6c0.1-0.3,0.2-0.6,0.2-1l0,0V0.7
C21,0.6,20.5,0.5,20,0.3z"/>
</svg>
<svg preserveaspectratio="none" class="corner-shape-top" viewbox="0 0 290.3 22.5" style="enable-background:new 0 0 290.3 22.5;" xml:space="preserve">
<path
d="M290.3,1.8c-0.2-0.8-1-1.3-1.8-1.1c-24,5.7-48.2,10.2-72.1,13.1c-24.2,3-48.8,4.6-73,4.8
c-24.2-0.3-48.8-2.1-73-5.3C47.1,10.2,23.4,5.8,0,0v5.1c23.2,5.5,46.7,9.7,69.9,12.6c24.4,3,49.1,4.7,73.5,4.8
c24.4-0.3,49.1-2.1,73.4-5.3c24-3.1,48.3-7.8,72.3-13.7C290,3.4,290.5,2.6,290.3,1.8z"/>
</svg>
<svg preserveaspectratio="none" class="corner-shape-left" viewbox="0 0 5.83 168.4">
<path d="M0,151.7v15.2a1.54,1.54,0,0,0,1.5,1.5h0A1.54,1.54,0,0,0,3,166.9V151.8c.1-23,.8-46.3,1.4-69C5.2,55.5,6,27.5,5.8,0H0Z"/>
</svg>
</div>
</div>
</a>
<a href="{{wrapper.blocks[3].config.link}}" target="_blank">
<div class="image img-4" {% if wrapper.blocks[3].media is not empty %} style="background: url(/{{wrapper.blocks[3].media.getWebPath}}) no-repeat center; background-size: cover;" {% endif %}></div>
<div class="text">
{% if wrapper.blocks[3].config.content is not empty %}
{{wrapper.blocks[3].config.content|raw}}
{% endif %}
<div class="corner-shape">
<svg preserveaspectratio="none" class="corner-shape-topleft" x="0px" y="0px" viewbox="0 0 21.4 19.5" style="enable-background:new 0 0 21.4 19.5;" xml:space="preserve">
<path
d="M20,0.3L18.9,0c-0.4-0.1-0.9,0-1.3,0.3S17,1,17,1.4l-0.1,1.2c0,0.1,0,0.2,0,0.3s0,0.2,0,0.3
c0,0.2-0.1,0.5-0.1,0.7c-0.1,0.5-0.2,0.9-0.3,1.4c-0.3,1-0.6,1.9-1.1,2.7c-0.9,1.7-2.1,3.1-3.6,4.1c-1.4,1-3.2,1.7-5.2,2
c-1.5,0.2-3.2,0.3-4.9,0.2c-0.4,0-0.8,0.1-1.1,0.4C0.2,15.1,0,15.5,0,15.9v1.9v0.1c0,0.1,0,0.3,0,0.4v1.2h5.8l0,0
c0.5-0.1,1.1-0.1,1.6-0.2c3.8-0.7,6.3-2.2,7.2-2.9c2.1-1.5,3.9-3.5,5.2-6c0.6-1.1,1.1-2.3,1.4-3.6c0.1-0.3,0.2-0.6,0.2-1l0,0V0.7
C21,0.6,20.5,0.5,20,0.3z"/>
</svg>
<svg preserveaspectratio="none" class="corner-shape-top" viewbox="0 0 290.3 22.5" style="enable-background:new 0 0 290.3 22.5;" xml:space="preserve">
<path
d="M290.3,1.8c-0.2-0.8-1-1.3-1.8-1.1c-24,5.7-48.2,10.2-72.1,13.1c-24.2,3-48.8,4.6-73,4.8
c-24.2-0.3-48.8-2.1-73-5.3C47.1,10.2,23.4,5.8,0,0v5.1c23.2,5.5,46.7,9.7,69.9,12.6c24.4,3,49.1,4.7,73.5,4.8
c24.4-0.3,49.1-2.1,73.4-5.3c24-3.1,48.3-7.8,72.3-13.7C290,3.4,290.5,2.6,290.3,1.8z"/>
</svg>
<svg preserveaspectratio="none" class="corner-shape-left" viewbox="0 0 5.83 168.4">
<path d="M0,151.7v15.2a1.54,1.54,0,0,0,1.5,1.5h0A1.54,1.54,0,0,0,3,166.9V151.8c.1-23,.8-46.3,1.4-69C5.2,55.5,6,27.5,5.8,0H0Z"/>
</svg>
</div>
</div>
</a>
<a href="{{wrapper.blocks[4].config.link}}" target="_blank">
<div class="image img-5" {% if wrapper.blocks[3].media is not empty %} style="background: url(/{{wrapper.blocks[4].media.getWebPath}}) no-repeat center; background-size: cover;" {% endif %}></div>
<div class="text">
{% if wrapper.blocks[4].config.content is not empty %}
{{wrapper.blocks[4].config.content|raw}}
{% endif %}
<div class="corner-shape">
<svg preserveaspectratio="none" class="corner-shape-topleft" x="0px" y="0px" viewbox="0 0 21.4 19.5" style="enable-background:new 0 0 21.4 19.5;" xml:space="preserve">
<path
d="M20,0.3L18.9,0c-0.4-0.1-0.9,0-1.3,0.3S17,1,17,1.4l-0.1,1.2c0,0.1,0,0.2,0,0.3s0,0.2,0,0.3
c0,0.2-0.1,0.5-0.1,0.7c-0.1,0.5-0.2,0.9-0.3,1.4c-0.3,1-0.6,1.9-1.1,2.7c-0.9,1.7-2.1,3.1-3.6,4.1c-1.4,1-3.2,1.7-5.2,2
c-1.5,0.2-3.2,0.3-4.9,0.2c-0.4,0-0.8,0.1-1.1,0.4C0.2,15.1,0,15.5,0,15.9v1.9v0.1c0,0.1,0,0.3,0,0.4v1.2h5.8l0,0
c0.5-0.1,1.1-0.1,1.6-0.2c3.8-0.7,6.3-2.2,7.2-2.9c2.1-1.5,3.9-3.5,5.2-6c0.6-1.1,1.1-2.3,1.4-3.6c0.1-0.3,0.2-0.6,0.2-1l0,0V0.7
C21,0.6,20.5,0.5,20,0.3z"/>
</svg>
<svg preserveaspectratio="none" class="corner-shape-top" viewbox="0 0 290.3 22.5" style="enable-background:new 0 0 290.3 22.5;" xml:space="preserve">
<path
d="M290.3,1.8c-0.2-0.8-1-1.3-1.8-1.1c-24,5.7-48.2,10.2-72.1,13.1c-24.2,3-48.8,4.6-73,4.8
c-24.2-0.3-48.8-2.1-73-5.3C47.1,10.2,23.4,5.8,0,0v5.1c23.2,5.5,46.7,9.7,69.9,12.6c24.4,3,49.1,4.7,73.5,4.8
c24.4-0.3,49.1-2.1,73.4-5.3c24-3.1,48.3-7.8,72.3-13.7C290,3.4,290.5,2.6,290.3,1.8z"/>
</svg>
<svg preserveaspectratio="none" class="corner-shape-left" viewbox="0 0 5.83 168.4">
<path d="M0,151.7v15.2a1.54,1.54,0,0,0,1.5,1.5h0A1.54,1.54,0,0,0,3,166.9V151.8c.1-23,.8-46.3,1.4-69C5.2,55.5,6,27.5,5.8,0H0Z"/>
</svg>
</div>
</div>
</a>
<a href="{{wrapper.blocks[5].config.link}}" target="_blank">
<div class="image img-6" {% if wrapper.blocks[5].media is not empty %} style="background: url(/{{wrapper.blocks[5].media.getWebPath}}) no-repeat center; background-size: cover;" {% endif %}></div>
<div class="text">
{% if wrapper.blocks[5].config.content is not empty %}
{{wrapper.blocks[5].config.content|raw}}
{% endif %}
<div class="corner-shape">
<svg preserveaspectratio="none" class="corner-shape-topleft" x="0px" y="0px" viewbox="0 0 21.4 19.5" style="enable-background:new 0 0 21.4 19.5;" xml:space="preserve">
<path
d="M20,0.3L18.9,0c-0.4-0.1-0.9,0-1.3,0.3S17,1,17,1.4l-0.1,1.2c0,0.1,0,0.2,0,0.3s0,0.2,0,0.3
c0,0.2-0.1,0.5-0.1,0.7c-0.1,0.5-0.2,0.9-0.3,1.4c-0.3,1-0.6,1.9-1.1,2.7c-0.9,1.7-2.1,3.1-3.6,4.1c-1.4,1-3.2,1.7-5.2,2
c-1.5,0.2-3.2,0.3-4.9,0.2c-0.4,0-0.8,0.1-1.1,0.4C0.2,15.1,0,15.5,0,15.9v1.9v0.1c0,0.1,0,0.3,0,0.4v1.2h5.8l0,0
c0.5-0.1,1.1-0.1,1.6-0.2c3.8-0.7,6.3-2.2,7.2-2.9c2.1-1.5,3.9-3.5,5.2-6c0.6-1.1,1.1-2.3,1.4-3.6c0.1-0.3,0.2-0.6,0.2-1l0,0V0.7
C21,0.6,20.5,0.5,20,0.3z"/>
</svg>
<svg preserveaspectratio="none" class="corner-shape-top" viewbox="0 0 290.3 22.5" style="enable-background:new 0 0 290.3 22.5;" xml:space="preserve">
<path
d="M290.3,1.8c-0.2-0.8-1-1.3-1.8-1.1c-24,5.7-48.2,10.2-72.1,13.1c-24.2,3-48.8,4.6-73,4.8
c-24.2-0.3-48.8-2.1-73-5.3C47.1,10.2,23.4,5.8,0,0v5.1c23.2,5.5,46.7,9.7,69.9,12.6c24.4,3,49.1,4.7,73.5,4.8
c24.4-0.3,49.1-2.1,73.4-5.3c24-3.1,48.3-7.8,72.3-13.7C290,3.4,290.5,2.6,290.3,1.8z"/>
</svg>
<svg preserveaspectratio="none" class="corner-shape-left" viewbox="0 0 5.83 168.4">
<path d="M0,151.7v15.2a1.54,1.54,0,0,0,1.5,1.5h0A1.54,1.54,0,0,0,3,166.9V151.8c.1-23,.8-46.3,1.4-69C5.2,55.5,6,27.5,5.8,0H0Z"/>
</svg>
</div>
</div>
</a>
</section>