Static schedule

This commit is contained in:
Oliver Davies 2019-05-21 17:11:15 +01:00
parent e79adeee98
commit 1e3ec45cae
3 changed files with 71 additions and 0 deletions

View file

@ -12,6 +12,59 @@ eventbrite:
papercall:
url: https://www.papercall.io/drupalcamp-bristol-2019
schedule:
slots:
- time: 8:30 am
speaker: Registration and refreshments
- time: 9:00 am
speaker: Welcome
- time: 9:10 am
speaker: Dan McNamara
- time: 10:00 am
speaker: TBA
- time: 10:30 am
speaker: Refreshments
- time: 10:50 am
speaker: TBA
- time: 11:40 am
speaker: TBA
- time: 12:10 pm
speaker: Lunch
- time: 1:10 pm
speaker: TBA
- time: 2:00 pm
speaker: TBA
- time: 2:15 pm
speaker: TBA
- time: 2:30 pm
speaker: Refreshments
- time: 2:50 pm
speaker: TBC
- time: 3:05 pm
speaker: TBC
- time: 3:20 pm
speaker: Matt Haworth
- time: 4:10 pm
speaker: Closing remarks
- time: 4:40 pm
speaker: Drinks reception
tickets:
available: true
url: '%eventbrite.url%'

View file

@ -0,0 +1,14 @@
<section class="tw-bg-purple-800 tw-text-white tw-py-16">
<div class="tw-max-w-xl tw-mx-auto tw-px-4 tw-text-center">
<h2>The Schedule</h2>
<ul class="tw-list-reset tw-overflow-hidden">
{% for slot in slots %}
<li class="tw-flex tw-justify-between tw-pt-6 {{ loop.last ?: 'tw-pb-6 tw-border-solid tw-border-0 tw-border-b tw-border-purple-400' }}">
<span class="tw-text-gray-200">{{ slot.speaker }}</span>
<span class="tw-font-semibold">{{ slot.time }}</span>
</li>
{% endfor %}
</ul>
</div>
</section>

View file

@ -43,4 +43,8 @@ use: [speakers]
{% include 'front-speakers' with {
speakers: data.speakers,
} %}
{% include 'schedule' with {
slots: site.schedule.slots,
} %}
{% endblock %}