content update

This commit is contained in:
Konstantin 2024-03-18 17:36:00 +01:00
parent cbd748459c
commit dee2d33a36
12 changed files with 144 additions and 94 deletions

View file

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