minor layout fixes

This commit is contained in:
Konstantin 2024-03-19 21:39:18 +01:00
parent 30e8f29d1f
commit 44969cf4dd
8 changed files with 115 additions and 91 deletions

View file

@ -4,10 +4,10 @@
{% block body_class %}{% endblock %}
{% block content %}
<section class="flex flex-col items-center justify-center h-full mx-4">
<section class="flex flex-col items-center justify-center h-full max-w-7xl px-0 md:px-4 lg:px-8">
<div class="mx-auto max-w-3xl text-base leading-7">
<h1>{{ page.title }}</h1>
{% image page.image fill-480x320 %}
{% image page.image fill-480x320 class="rounded-2xl bg-gray-50" %}
<p>{{ page.hero_text }}</p>
{% if page.hero_cta_link %}
<a href="{% pageurl page.hero_cta_link %}">
@ -17,7 +17,10 @@
</div>
</section>
<div class="w-full px-2 lg:px-4">
{{ page.body|richtext }}
</div>
<section class="max-w-7xl px-0 md:px-4 lg:px-8">
<div class="w-full px-2 lg:px-4">
{{ page.body|richtext }}
</div>
</section>
{% endblock content %}