1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-24 10:48:14 +04:00
Files
tabler/shared/includes/marketing/sections/testimonials.html
2025-05-16 22:27:18 +02:00

45 lines
1.4 KiB
HTML

{% assign limit = include.limit | default: 99 %}
<section class="section{% if include.background %} section-{{ include.background }}{% endif %}{% if include.class %} {{ include.class }}{% endif %}">
<div class="container">
{% unless include.hide-header %}
<div class="section-header">
<h2 class="section-title">Trusted by hundreds</h2>
<p class="section-description">Our Users send us bunch of smilies with our services, and we love them 😍</p>
</div>
{% endunless %}
<div class="row g-lg-6">
{% assign i = 1 %}
{% assign filtered-testimonials = testimonials | slice: 0, limit | split_to_n: 3 %}
{% for group in filtered-testimonials %}
<div class="col-md-6 col-lg-4">
<div class="row g-lg-6">
{% for testimonial in group %}
{% assign person = people[i] %}
<div class="col-12">
<a href="#" class="card bg-surface-secondary">
<div class="card-body">
<div class="row mb-3">
<div class="col-auto">{% include "ui/avatar.html" person=person size="md" %}</div>
<div class="col">
<h3 class="h3 m-0">{{ person.full_name }}</h3>
<div class="text-secondary">{{ person.job_title }}</div>
</div>
</div>
<p>
{{ testimonial }}
</p>
</div>
</a>
</div>
{% assign i = i | plus: 1 %}
{% endfor %}
</div>
</div>
{% endfor %}
</div>
</div>
</section>