[TASK] Layout for homepage
This commit is contained in:
@@ -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 %}
|
||||
Reference in New Issue
Block a user