michalvankodev-site/templates/components/talent_card.html

19 lines
526 B
HTML
Raw Normal View History

2024-03-13 19:14:10 +01:00
{% macro talent_card(svg, heading, description) %}
2024-09-27 11:52:25 +02:00
<section class="flex border rounded bg-white m-4 p-3 max-w-[32rem]">
2024-03-13 19:14:10 +01:00
<aside class="flex justify-center items-center pr-3">
2024-09-12 15:00:20 +02:00
<svg aria-hidden="true" class="fill-blue-950 h-12 w-12 md:h-16 md:w-16">
2024-09-28 13:09:01 +02:00
<use href="#{{svg}}" />
2024-03-13 19:14:10 +01:00
</svg>
</aside>
<section>
<header>
2024-09-12 15:00:20 +02:00
<h3 class="text-lg font-medium mb-1 md:text-2xl">{{heading}}</h3>
2024-03-13 19:14:10 +01:00
</header>
2024-09-20 11:51:29 +02:00
<p class="text-sm leading-5 text-slate-800 md:text-lg">{{description|safe}}</p>
2024-03-13 19:14:10 +01:00
</section>
</section>
{% endmacro %}