Skip to content
Snippets Groups Projects
Commit 205ecad5 authored by OndraPetrzilka's avatar OndraPetrzilka
Browse files

contact page, hande missing content

parent d9e9458d
No related branches found
No related tags found
3 merge requests!607Pirati.cz,!589Feature/pirati cz ondra,!575Feature/pirati cz
Pipeline #9425 passed
......@@ -7,6 +7,7 @@
<main role="main">
<section class="grid-container no-max mb-16">
<div class="grid-content-with-right-side flex flex-wrap">
{% if page.text %}
<div class="mb-12 xl:mb-0">
<h2 class="font-alt text-3xl sm:text-4xl mb-5">
Kontakty pro veřejnost
......@@ -22,11 +23,11 @@
</div>
{% endfor %}
</div>
{% endif %}
<div class="w-full max-w-2xl">
<h2 class="font-alt text-4xl mb-5">
Regionální kontakty
</h2>
<div class="__js-root w-full flex max-w-2xl items-center">
<ui-region-map class="w-full"></ui-region-map>
</div>
......@@ -35,9 +36,11 @@
</section>
<div class="grid-container">
<section class="grid-content-with-right-side mb-20">
{% if page.contact_boxes %}
<h2 class="font-alt text-4xl mb-5">
Další kontakty
</h2>
<div class="flex flex-wrap">
{% for contact_block in page.contact_boxes %}
<div class="contact-box">
......@@ -63,10 +66,12 @@
</div>
{% endfor %}
</div>
{% endif %}
</section>
</div>
<div class="grid-container no-max">
{% if page.contact_people %}
<section class="grid-content-with-right-side mb-20">
<h2 class="font-alt text-4xl mb-5">
Kontakty pro média
......@@ -97,6 +102,8 @@
{% endfor %}
</div>
</section>
{% endif %}
</div>
</main>
{% include 'main/includes/newsletter_section.html' %}
{% endblock content %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment