Negate the bottom margin below sponsor sections
This commit is contained in:
parent
c6560bf8d7
commit
bed84ea1e6
|
@ -7,15 +7,15 @@ title: Sponsors
|
||||||
<p>If you'd like to get involved with sponsorship, head over to our <a href="/sponsorship">Sponsorship</a> page. We'll be on the lookout for new sponsors up until the day of the event.</p>
|
<p>If you'd like to get involved with sponsorship, head over to our <a href="/sponsorship">Sponsorship</a> page. We'll be on the lookout for new sponsors up until the day of the event.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% for level in site.sponsorship_levels %}
|
<div class="tw--mb-20">
|
||||||
|
{% for level in site.sponsorship_levels %}
|
||||||
{% set sponsors = getSponsors(site.sponsors, level) %}
|
{% set sponsors = getSponsors(site.sponsors, level) %}
|
||||||
{% if sponsors %}
|
{% if sponsors %}
|
||||||
<section class="tw-block tw-mb-12">
|
<section class="tw-block tw-mb-24">
|
||||||
<h2 class="tw-mb-6">{{ level ~ ' Sponsors'|capitalize }}</h2>
|
<h2 class="tw-mb-6">{{ level ~ ' Sponsors'|capitalize }}</h2>
|
||||||
|
|
||||||
<div class="tw--mb-8 {{ level == 'gold' ? '' : 'tw-flex tw-flex-wrap tw--mx-2' }}">
|
<div class="tw--mb-8 {{ level == 'gold' ? '' : 'tw-flex tw-flex-wrap tw--mx-2' }}">
|
||||||
{% for sponsor in sponsors %}
|
{% for sponsor in sponsors %}
|
||||||
<article class="tw-mb-8 {{ level == 'gold' ? 'tw-w-full' : 'tw-w-1/2 md:tw-w-1/4 lg:tw-w-1/6 tw-px-2' }}">
|
<article class="tw-mb-10 {{ level == 'gold' ? 'tw-w-full' : 'tw-w-1/2 md:tw-w-1/4 lg:tw-w-1/6 tw-px-2' }}">
|
||||||
{% set template = (level == 'gold') ? 'sponsors/full' : 'sponsors/teaser' %}
|
{% set template = (level == 'gold') ? 'sponsors/full' : 'sponsors/teaser' %}
|
||||||
{% include template with {
|
{% include template with {
|
||||||
description: sponsor.description,
|
description: sponsor.description,
|
||||||
|
@ -28,4 +28,5 @@ title: Sponsors
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue