[TASK] Layout for homepage

This commit is contained in:
2020-05-20 15:52:17 +02:00
parent 9bd1c17396
commit 6180fa411a
3 changed files with 21 additions and 1 deletions
@@ -0,0 +1,18 @@
{% extends "templates/layout/base.twig" %}
{% block content %}
<div class="parallax-container" style="height: 50vh;">
<div class="parallax"><img src="{{ assets_url }}/welcome.jpg"></div>
</div>
{{parent()}}
{% for section in meta.sections %}
<div class="parallax-container">
<div class="parallax"><img src="images/{{section.image}}"></div>
</div>
<div class="container">
<h2>{{section.title}}</h2>
{{ section.text }}
</div>
{% endfor %}
{% endblock %}