<!-- Card Group -->
<div class="card_group">
<div class="card_group_header">
<div class="fs-row">
<div class="fs-cell">
<div class="card_group_header_inner">
<h2 class="card_group_title">Facts & Figures</h2>
<div class="card_group_description">
<p>Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Curabitur blandit tempus porttitor. Etiam porta sem malesuada magna mollis euismod. Donec ullamcorper nulla non metus auct.</p>
</div>
</div>
</div>
</div>
</div>
<div class="card_group_body">
<div class="fs-row">
<div class="fs-cell">
<ul class="card_group_items card_count_2" aria-label="Facts & Figures">
<li class="card_group_item">
<figure class="card_group_item_figure">
<img class="card_group_item_image" srcset="https://images.fastspot.com/framework/740x494/1 740w, https://images.fastspot.com/framework/500x334/1 500w, https://images.fastspot.com/framework/300x200/1 300w" src="https://images.fastspot.com/framework/300x200/1" alt="" loading="lazy" width="300" height="200">
</figure>
<div class="card_group_item_body">
<h3 class="card_group_item_title">
<span class="card_group_item_title_label">Ornare Egestas</span>
</h3>
<div class="card_group_item_description">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent eget est sed ex pretium fringilla. Vivamus ac turpis quis eros consectetur ornare.</p>
</div>
</div>
</li>
</ul>
</div>
</div>
</div>
</div>
<!-- END: Card Group -->
{#
{% include '@component-card-group' with {
title: 'Title',
description: 'Description',
items: [
{
image: '1',
title: 'Item Title',
description: 'Item Description'
}
]
} %}
#}
{% if items|length % 3 == 0 %}
{% set card_count = 3 %}
{% elseif items|length < 3 %}
{% set card_count = 2 %}
{% else %}
{% set card_count = 4 %}
{% endif %}
<!-- Card Group -->
<div class="card_group">
{% if title or description %}
<div class="card_group_header">
<div class="fs-row">
<div class="fs-cell">
<div class="card_group_header_inner">
{% if title %}
<h2 class="card_group_title">{{ title }}</h2>
{% endif %}
{% if description %}
<div class="card_group_description">
<p>{{ description }}</p>
</div>
{% endif %}
</div>
</div>
</div>
</div>
{% endif %}
<div class="card_group_body">
<div class="fs-row">
<div class="fs-cell">
<ul class="card_group_items card_count_{{ card_count }}" {% if title %} aria-label="{{ title }}" {% endif %}>
{% for item in items %}
<li class="card_group_item">
<figure class="card_group_item_figure">
{% include '@partial-image' with {
class: 'card_group_item',
alt: item.alt,
image: item.image,
loading: 'lazy',
crop: 'classic',
max: 'sml'
} %}
</figure>
<div class="card_group_item_body">
{% if item.title %}
{% if title %}
<h3 class="card_group_item_title">
{% else %}
<h2 class="card_group_item_title">
{% endif %}
<span class="card_group_item_title_label">{{ item.title }}</span>
{% if title %}
</h3>
{% else %}
</h2>
{% endif %}
{% elseif item.stat %}
{% if title %}
<h3 class="card_group_item_stat">
{% else %}
<h2 class="card_group_item_stat">
{% endif %}
<span class="card_group_item_stat_value">{{ item.stat.value }}</span>
<span class="card_group_item_stat_context">{{ item.stat.context }}</span>
{% if title %}
</h3>
{% else %}
</h2>
{% endif %}
{% endif %}
<div class="card_group_item_description">
<p>{{ item.description }}</p>
</div>
</div>
</li>
{% endfor %}
</ul>
</div>
</div>
</div>
</div>
<!-- END: Card Group -->
No notes defined.