1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-21 17:34:25 +04:00
Files
tabler/shared/includes/cards/user-card-bg.html
2025-04-15 23:18:49 +02:00

12 lines
597 B
HTML

{% assign person-id = include.person-id | default: 0 %}
{% assign person = people[person-id] %}
<a class="card card-link" href="#">
<div class="card-cover card-cover-blurred text-center{% if include.blurred %} card-cover-blurred{% endif %}" style="background-image: url({{ page | relative }}/static/photos/{{ photos[person-id].file }})">
{% include "ui/avatar.html" size="xl" person=person thumb=true rounded=true %}
</div>
<div class="card-body text-center">
<div class="card-title mb-1">{{ person.full_name }}</div>
<div class="text-secondary">{{ person.job_title }}</div>
</div>
</a>