Refactor certifications block
This commit is contained in:
parent
5f4618cbda
commit
aacd25f519
2 changed files with 59 additions and 19 deletions
17
source/_partials/certification.html.twig
Normal file
17
source/_partials/certification.html.twig
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
<div class="flex mb-2">
|
||||
<div class="w-16 mr-2 flex-none">
|
||||
<div class="flex flex-col items-center">
|
||||
<img src="/images/badges/{{ image.filename }}" alt="{{ image.alt }}" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="flex items-center">
|
||||
<p class="mb-0">
|
||||
{% if url %}
|
||||
<a class="link" href="{{ url }}">{{ title }}</a>
|
||||
{% else %}
|
||||
{{ title }}
|
||||
{% endif %}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue