2023-05-21 13:13:02 +02:00
|
|
|
{% macro render_services_card(card, index) %}
|
2023-06-24 19:12:03 +02:00
|
|
|
{% set card_image = card.record.attachments.images.get(card.card_image) %}
|
2023-05-21 13:13:02 +02:00
|
|
|
<div class="services_card {% if index%2 %}-odd{% else %}-even{% endif %}">
|
|
|
|
<div class="services_card__image_box">
|
2023-06-24 19:12:03 +02:00
|
|
|
<img src="{{ card_image|url }}" alt="" aria-hidden="true">
|
2023-05-21 13:13:02 +02:00
|
|
|
</div>
|
|
|
|
<div class="services_card__text_box">
|
|
|
|
<h2>{{ card.card_title }}</h2>
|
|
|
|
{{ card.card_text }}
|
2023-06-04 21:54:57 +02:00
|
|
|
<div class="servies_card__img_credits">
|
|
|
|
{{ card.image_credits }}
|
|
|
|
</div>
|
2023-05-21 13:13:02 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endmacro %}
|