mirror of
https://github.com/pierre42100/comunic
synced 2025-06-21 09:35:19 +00:00
First commit
This commit is contained in:
@ -0,0 +1,22 @@
|
||||
<div class="modular-row features {{ page.header.class}}">
|
||||
{{ content }}
|
||||
<div class="feature-items">
|
||||
{% for feature in page.header.features %}
|
||||
<div class="feature">
|
||||
{% if feature.icon %}
|
||||
<i class="fa fa-fw fa-{{ feature.icon }}"></i>
|
||||
<div class="feature-content icon-offset">
|
||||
{% else %}
|
||||
<div class="feature-content">
|
||||
{% endif %}
|
||||
{% if feature.header %}
|
||||
<h4>{{ feature.header }}</h4>
|
||||
{% endif %}
|
||||
{% if feature.text %}
|
||||
<p>{{ feature.text }}</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
@ -0,0 +1,13 @@
|
||||
{% set showcase_image = page.media.images|first.grayscale().contrast(20).brightness(-125).colorize(-35,81,122) %}
|
||||
{% if showcase_image %}
|
||||
<div class="modular-row showcase flush-top" style="background-image: url({{ showcase_image.url }});">
|
||||
{% else %}
|
||||
<div class="modular-row showcase">
|
||||
{% endif %}
|
||||
{{ content }}
|
||||
|
||||
{% for button in page.header.buttons %}
|
||||
<a class="button{% if button.primary %} primary{% endif %}" href="{{ button.url }}">{{ button.text }}</a>
|
||||
{% endfor %}
|
||||
|
||||
</div>
|
@ -0,0 +1,7 @@
|
||||
<div class="modular-row callout">
|
||||
{% set image = page.media.images|first %}
|
||||
{% if image %}
|
||||
{{ image.cropResize(400,400).html('','','align-'~page.header.image_align) }}
|
||||
{% endif %}
|
||||
{{ content }}
|
||||
</div>
|
Reference in New Issue
Block a user