mirror of
https://github.com/privacyguides/privacyguides.org.git
synced 2024-10-01 01:35:57 -04:00
26 lines
1.4 KiB
HTML
26 lines
1.4 KiB
HTML
<div class="card my-5">
|
|
<div class="card-body">
|
|
<div class="row p-3">
|
|
<div class="col-12 col-sm-4 col-md-3 text-center">
|
|
<img src="{{ item.logo }}" alt="{{ item.name }} logo" class="py-5 w-75">
|
|
</div>
|
|
<div class="col-12 col-sm-8 col-md-9 text-center text-md-left pb-4">
|
|
<h2>{{ item.title }}</h2>
|
|
{% if item.info %} <p class="badge badge-info"><i class="fad fa-info-circle"></i> {{ item.info }}</p>{% endif %}
|
|
{% if item.warning %} <p class="badge badge-warning"><i class="fad fa-exclamation-triangle"></i> {{ item.warning }}</p>{% endif %}
|
|
{{ item.description | markdownify }}
|
|
{% if item.downloads %}<p>{% for platform in item.downloads %}
|
|
<a href="{{ platform.url }}"><i class="{{ platform.icon }} fa-fw h2"></i></a>
|
|
{% endfor %}
|
|
</p>{% endif %}
|
|
{% if item.website or item.article %}<div class="pb-2">
|
|
{% if item.article %}<a href="{% link {{ item.article }} %}" class="btn btn-primary mt-1 mr-1"><i class="fad fa-info-circle fa-fw"></i>
|
|
More Information</a>{% endif %}
|
|
{% if item.website %}<a href="{{ item.website }}" rel="noopener" class="btn btn-secondary mt-1 mr-1"><i class="fad fa-external-link-square fa-fw"></i>
|
|
Visit {{ item.website | remove_first: "www." | split: "/" | slice: 2 }}</a>{% endif %}
|
|
</div>{% endif %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|