{% extends 'base.html.twig' %}
{% block body %}
<div class="row">
<div class="col-12">
{% if widgets.top is defined %}
{% for widget in widgets.top|sort((a, b) => a.sort <=> b.sort) %}
{{ widget.content|raw }}
{% endfor %}
{% endif %}
</div>
</div>
<div class="row">
<div class="col-12 col-md-6">
{% if widgets.left is defined %}
{% for widget in widgets.left|sort((a, b) => a.sort <=> b.sort) %}
{{ widget.content|raw }}
{% endfor %}
{% endif %}
</div>
<div class="col-12 col-md-6">
{% if widgets.right is defined %}
{% for widget in widgets.right|sort((a, b) => a.sort <=> b.sort) %}
{{ widget.content|raw }}
{% endfor %}
{% endif %}
</div>
</div>
<div class="row">
<div class="col-12">
{% if widgets.bottom is defined %}
{% for widget in widgets.bottom|sort((a, b) => a.sort <=> b.sort) %}
{{ widget.content|raw }}
{% endfor %}
{% endif %}
</div>
</div>
{% endblock %}
{% block javascripts %}
{{ parent() }}
{% if assets is defined %}
{% for asset in assets %}
{{ encore_entry_script_tags(asset) }}
{% endfor %}
{% endif %}
{% endblock %}
{% block stylesheets %}
{{ parent() }}
{% if assets is defined %}
{% for asset in assets %}
{{ encore_entry_link_tags(asset) }}
{% endfor %}
{% endif %}
{% endblock %}