Static schedule
This commit is contained in:
parent
e79adeee98
commit
1e3ec45cae
3 changed files with 71 additions and 0 deletions
14
source/_includes/schedule.html.twig
Normal file
14
source/_includes/schedule.html.twig
Normal 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>
|
|
@ -43,4 +43,8 @@ use: [speakers]
|
|||
{% include 'front-speakers' with {
|
||||
speakers: data.speakers,
|
||||
} %}
|
||||
|
||||
{% include 'schedule' with {
|
||||
slots: site.schedule.slots,
|
||||
} %}
|
||||
{% endblock %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue