-
Notifications
You must be signed in to change notification settings - Fork 5
/
parallax.njk
29 lines (28 loc) · 1.09 KB
/
parallax.njk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<div class="parallax-container">
<div class="section no-pad-bot">
<div class="container white-text">
<br><br>
<h1 class="header center">
{% if theme.avatar %}
<div class='avatar'>
{{ image_tag(theme.avatar,{class:'circle responsive-img hoverable z-depth-1'}) }}
</div>
{% else %}
<i class="fa fa-chevron-circle-down " aria-hidden="true"></i>
{% endif %}
</h1>
<div class="row center">
<h5 class="header col s12">{{ theme.title or config.title }}</h5>
<div class="col s12">{{ theme.description or config.description }} </div>
</div>
<br><br>
</div>
</div>
<div class="parallax">
{% if theme.headerImageUrl %}
<img src="{{ theme.headerImageUrl }}" data-adaptive-background>
{% else %}
<div data-adaptive-background style="height: 100vh; background-color: #93b658;"></div>
{% endif %}
</div>
</div>