32 lines
1.3 KiB
HTML
32 lines
1.3 KiB
HTML
{% import "macros/clients.html" as clients %}
|
|
{% import "macros/client_details.html" as client_details %}
|
|
{% set clients = load_data(path="content/ecosystem/clients/clients.toml") %}
|
|
<div class="projects-card-deck">
|
|
{% for name, client in clients %}
|
|
{% if client.featured %}
|
|
<div>
|
|
<input id="client-{{ name | slugify }}-card-checkbox" type="checkbox" class="client-checkbox"
|
|
aria-hidden="true">
|
|
<label for="client-{{name | slugify }}-card-checkbox"
|
|
class="project-card client {{ clients::classes(client=client) }}">
|
|
{# We're not using placeholders as a fallback because we want showcased clients to have an actual icon #}
|
|
<img src="thumbnails/{{ client.thumbnail }}" alt="{{ name }} Logo">
|
|
<h3>{{ name }}</h3>
|
|
<span>{{ client.summary | safe }}</span>
|
|
<div class="platform-links">
|
|
{{ clients::platforms(packages=client.packages) }}
|
|
</div>
|
|
<a>Open client details</a>
|
|
</label>
|
|
|
|
<!-- Overlay -->
|
|
<label for="client-{{ name | slugify }}-card-checkbox" class="client-details-overlay">
|
|
</label>
|
|
|
|
<!-- Client details card -->
|
|
{{ client_details::client_details(name=name, client=client) }}
|
|
</div>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</div>
|