This repository has been archived on 2025-09-29. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
drupalcampbristol/source/_includes/sponsors/full.html.twig

26 lines
825 B
Twig
Raw Normal View History

2019-04-25 22:09:19 +02:00
<div class="tw-mb-4">
<h3>{{ name }}</h3>
2019-04-25 22:24:31 +02:00
<div class="tw-flex tw-flex-col-reverse md:tw-flex-row-reverse tw--mx-4">
2019-04-25 22:09:19 +02:00
<div class="tw-flex-1 tw-px-4">
{% if description %}
<div>
{{ description|markdown }}
</div>
{% endif %}
{% if url %}
2019-04-25 23:15:25 +02:00
<a href="{{ url }}" class="tw-button tw-inline-block tw-w-auto tw-bg-purple-600 hocus:tw-bg-green-600 tw-text-base tw-px-4 tw-py-2 tw-mx-0">
2019-04-25 22:09:19 +02:00
Visit <span class="tw-visuallyhidden">{{ name }}s</span> website
</a>
{% endif %}
</div>
{% if logo %}
2019-04-25 22:24:31 +02:00
<div class="tw-flex-none tw-px-4 tw-mb-3 md:tw-mb-0 tw-w-full md:tw-w-1/4">
2019-04-25 23:08:42 +02:00
<img src="/images/sponsors/{{ logo }}" alt="{{ name }} logo" class="tw-block tw-w-48 md:tw-w-auto tw-max-w-full">
2019-04-25 22:09:19 +02:00
</div>
{% endif %}
</div>
</div>