Move all files to 2019/
This commit is contained in:
parent
f59a1843de
commit
0b536af737
94 changed files with 0 additions and 0 deletions
11
2019/source/_includes/banner.html.twig
Normal file
11
2019/source/_includes/banner.html.twig
Normal file
|
@ -0,0 +1,11 @@
|
|||
<header role="banner">
|
||||
<div class="region region-header tw-max-w-6xl tw-px-6 sm:tw-flex sm:tw-justify-between sm:tw-items-center">
|
||||
<div id="block-dcb2017-branding" class="block block-system block-system-branding-block tw-mx-auto tw-my-2 sm:tw-mx-0">
|
||||
<a href="/" title="Home" rel="home" class="site-logo">
|
||||
<img src="/themes/dcb2017/logo.svg" alt="Home" />
|
||||
</a>
|
||||
</div>
|
||||
|
||||
{% include 'nav' %}
|
||||
</div>
|
||||
</header>
|
15
2019/source/_includes/footer.html.twig
Normal file
15
2019/source/_includes/footer.html.twig
Normal file
|
@ -0,0 +1,15 @@
|
|||
<footer role="contentinfo" class="tw-bg-balloon tw-bg-center tw-bg-cover">
|
||||
<div class="region region-footer">
|
||||
<div id="block-footerinfo" class="block block-block-content block-block-content1df4705d-991d-45d4-8c83-fa337eec6a69">
|
||||
<nav class="tw-mt-2 tw-mb-6 tw--ml-8">
|
||||
<a class="tw-uppercase tw-no-underline hocus:tw-text-green-600 tw-ml-8" href="http://2017.drupalcampbristol.co.uk" title="DrupalCamp Bristol 2017">2017</a>
|
||||
<a class="tw-uppercase tw-no-underline hocus:tw-text-green-600 tw-ml-8" href="{{ page.twitter.url }}" title="DrupalCamp Bristol on Twitter">Twitter</a>
|
||||
<a class="tw-uppercase tw-no-underline hocus:tw-text-green-600 tw-ml-8" href="https://www.youtube.com/channel/UCoHlMzj9iT4xOlpgYOg_rjw" title="View previous videos on YouTube">YouTube</a>
|
||||
</nav>
|
||||
|
||||
<div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item">
|
||||
<p><span>DrupalCamp Bristol is a non-profit event brought to you by a team of volunteers from the<span> </span></span><a href="https://www.drupalbristol.co.uk">Bristol Drupal community</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
50
2019/source/_includes/nav.html.twig
Normal file
50
2019/source/_includes/nav.html.twig
Normal file
|
@ -0,0 +1,50 @@
|
|||
{% set links = [
|
||||
{
|
||||
title: 'Tickets',
|
||||
href: site['tickets']['url'],
|
||||
active: false,
|
||||
enabled: site['tickets']['available'],
|
||||
},
|
||||
{
|
||||
title: 'Submit a session',
|
||||
href: site['cfp']['url'],
|
||||
active: false,
|
||||
enabled: site['cfp']['open'],
|
||||
},
|
||||
{
|
||||
title: 'Speakers',
|
||||
href: '/#speakers',
|
||||
active: page.layout == 'speaker',
|
||||
enabled: true,
|
||||
},
|
||||
{
|
||||
title: 'Schedule',
|
||||
href: '/#schedule',
|
||||
active: page.url == '/schedule' or page.layout == 'session',
|
||||
enabled: true,
|
||||
},
|
||||
{
|
||||
title: 'Sponsors',
|
||||
href: '/sponsors',
|
||||
active: page.url == '/sponsors',
|
||||
enabled: true,
|
||||
},
|
||||
{
|
||||
title: 'Sponsor us',
|
||||
href: '/sponsor-us',
|
||||
active: page.url == '/sponsor-us',
|
||||
enabled: now|date('U') < site['date'],
|
||||
}
|
||||
] %}
|
||||
<nav role="navigation" aria-labelledby="block-dcb2017-main-menu-menu" id="block-dcb2017-main-menu" class="block block-menu navigation menu--main">
|
||||
<h2 class="visually-hidden" id="block-dcb2017-main-menu-menu">Main navigation</h2>
|
||||
<ul class="tw-list-reset tw-flex tw-flex-wrap tw-justify-center tw--ml-8">
|
||||
{% for link in links if link.enabled %}
|
||||
<li class="tw-mb-2 tw-mx-4 md:tw-m-0 md:tw-ml-8">
|
||||
<a class="tw-uppercase tw-no-underline hocus:tw-text-green-600 {{ link.active ? 'tw-text-green-600' : 'tw-text-black' }}" href="{{ link.href|raw }}">
|
||||
{{ link.title }}
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</nav>
|
22
2019/source/_includes/schedule.html.twig
Normal file
22
2019/source/_includes/schedule.html.twig
Normal file
|
@ -0,0 +1,22 @@
|
|||
<section id="schedule" 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 class="tw-text-3xl md:tw-text-4xl">The Schedule</h2>
|
||||
|
||||
<ul class="tw-list-reset tw-overflow-hidden">
|
||||
{% for slot in slots %}
|
||||
{% set session = sessionInSlot(slot.id, sessions) %}
|
||||
<li class="tw-pt-4 lg:tw-pt-6 {{ loop.last ?: 'tw-pb-4 lg:tw-pb-6 tw-border-solid tw-border-0 tw-border-b tw-border-purple-400' }}">
|
||||
<span class="tw-flex tw-items-center tw-justify-between tw--mx-6">
|
||||
<span class="tw-px-6 tw-text-gray-200 tw-flex-1 tw-text-left">
|
||||
<span class="tw-block">{{ session.title|default(slot.label)|default('TBA') }}</span>
|
||||
{% if session.speakers %}
|
||||
<span class="tw-block tw-mt-1">{{ session.speakers|join(', ') }}</span>
|
||||
{% endif %}
|
||||
</span>
|
||||
<span class="tw-px-6 tw-font-semibold">{{ slot.time }}</span>
|
||||
</span>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
11
2019/source/_includes/session-speakers.html.twig
Normal file
11
2019/source/_includes/session-speakers.html.twig
Normal file
|
@ -0,0 +1,11 @@
|
|||
<h2>Speakers</h2>
|
||||
|
||||
<ul>
|
||||
{% for speaker in speakers %}
|
||||
<li>
|
||||
<a href="{{ speaker.url }}">
|
||||
{{ speaker.title }}
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
3
2019/source/_includes/speaker-role.html.twig
Normal file
3
2019/source/_includes/speaker-role.html.twig
Normal file
|
@ -0,0 +1,3 @@
|
|||
{{ speaker.role }}
|
||||
{%- if speaker.role and speaker.organisation %}, {% endif %}
|
||||
{{ speaker.organisation }}
|
9
2019/source/_includes/speaker-session.html.twig
Normal file
9
2019/source/_includes/speaker-session.html.twig
Normal file
|
@ -0,0 +1,9 @@
|
|||
{% for session in sessions %}
|
||||
{% if loop.first %}
|
||||
<h2 class="tw-mt-8">Session</h2>
|
||||
{% endif %}
|
||||
|
||||
<a href="{{ session.url }}">
|
||||
{{ session.title }}
|
||||
</a>
|
||||
{% endfor %}
|
38
2019/source/_includes/speakers.html.twig
Normal file
38
2019/source/_includes/speakers.html.twig
Normal file
|
@ -0,0 +1,38 @@
|
|||
<section id="speakers" class="tw-w-full sm:tw-max-w-5xl tw-mx-auto tw-text-center tw-my-12 md:tw-my-24">
|
||||
<div class="tw-px-4">
|
||||
<h2 class="tw-text-3xl md:tw-text-4xl tw-font-bold tw-mb-10">The Speakers</h2>
|
||||
|
||||
<div class="text-left sm:tw-px-12">
|
||||
<ul class="tw-list-reset tw-flex tw-flex-wrap tw--mx-4 tw--mb-10">
|
||||
{% for speaker in speakers %}
|
||||
<li class="tw-w-full lg:tw-w-1/2 tw-flex tw-text-left tw-mb-10">
|
||||
<a href="{{ speaker.url }}" class="group tw-px-4 tw-flex-1 tw-flex tw-flex-row-reverse tw-justify-center tw-no-underline focus:tw-outline-none tw-py-2">
|
||||
<span class="tw-flex-1 tw-flex tw-flex-col tw-justify-center">
|
||||
<span class="tw-block tw-font-bold tw-text-xl tw-text-gray-900 group-hocus:tw-underline">{{ speaker.title }}</span>
|
||||
<span class="tw-block tw-text-gray-800">
|
||||
{% include 'speaker-role' with { speaker: speaker } %}
|
||||
</span>
|
||||
</span>
|
||||
|
||||
{% if speaker.image %}
|
||||
<span class="tw-w-24 md:tw-w-32 tw-mr-6">
|
||||
<span class="tw-rounded-full tw-overflow-hidden tw-block tw-border-4 tw-border-solid tw-border-purple-500 group-hocus:tw-border-pink-500 tw-transition-border tw-transition-100">
|
||||
<img class="tw-block tw-w-full" src="/images/speakers/{{ speaker.image }}" alt="Photo of {{ speaker.name }}">
|
||||
</span>
|
||||
</span>
|
||||
{% endif %}
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="tw-mt-12 tw-leading-relaxed">
|
||||
<p class="tw-text-lg">
|
||||
We’re currently in the process of announcing speakers.
|
||||
<br class="tw-hidden md:tw-inline">
|
||||
Check back soon to see who else has been added or <a class="tw-text-purple-600 hocus:tw-text-purple-700 hocus:tw-no-underline" href="{{ site.twitter.url }}">follow us on Twitter</a>.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
26
2019/source/_includes/sponsors-block.html.twig
Normal file
26
2019/source/_includes/sponsors-block.html.twig
Normal file
|
@ -0,0 +1,26 @@
|
|||
<section class="tw-text-center tw-max-w-5xl md:tw-w-full tw-mx-auto tw-p-8">
|
||||
<h2 class="tw-font-bold tw-text-4xl tw-mb-8">Our Sponsors</h2>
|
||||
|
||||
{% for level in sponsorshipLevels %}
|
||||
{% set sponsors = getSponsors(sponsorData, level) %}
|
||||
{% if sponsors %}
|
||||
<section class="tw-block tw-max-w-3xl tw-mx-auto">
|
||||
<h3 class="tw-visuallyhidden">{{ level|capitalize }} Sponsors</h3>
|
||||
|
||||
<ul class="tw-list-reset tw-flex tw-flex-wrap tw-items-center tw-justify-center tw--mx-4">
|
||||
{% for sponsor in sponsors %}
|
||||
<li class="tw-mb-6 {{ level == 'gold' ? 'tw-w-3/5 md:tw-w-1/3' : 'tw-w-1/2 md:tw-w-1/4' }}">
|
||||
<div class="tw-px-4 tw-mb-4">
|
||||
<img src="/images/sponsors/{{ sponsor.logo }}" alt="{{ sponsor.name }} logo" class="tw-inline-block tw-max-w-full">
|
||||
</div>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</section>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
<footer class="tw-mt-4">
|
||||
<a class="tw-button tw-w-auto tw-py-2 tw-text-base tw-bg-green-600 hocus:tw-bg-pink-600" href="/sponsors">See all sponsors</a>
|
||||
</footer>
|
||||
</section>
|
25
2019/source/_includes/sponsors/full.html.twig
Normal file
25
2019/source/_includes/sponsors/full.html.twig
Normal file
|
@ -0,0 +1,25 @@
|
|||
<div class="tw-mb-4">
|
||||
<h3 class="tw-mb-5">{{ name }}</h3>
|
||||
|
||||
<div class="tw-flex tw-flex-col-reverse md:tw-flex-row-reverse tw--mx-4">
|
||||
<div class="tw-flex-1 tw-px-4">
|
||||
{% if description %}
|
||||
<div>
|
||||
{{ description|markdown }}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if url %}
|
||||
<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 tw-mt-2">
|
||||
Visit <span class="tw-visuallyhidden">{{ name }}’s</span> website
|
||||
</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
{% if logo %}
|
||||
<div class="tw-flex-none tw-px-4 tw-mb-3 md:tw-mb-0 tw-w-full md:tw-w-1/4">
|
||||
<img src="/images/sponsors/{{ logo }}" alt="{{ name }} logo" class="tw-block tw-w-48 md:tw-w-auto tw-max-w-full">
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
9
2019/source/_includes/sponsors/teaser.html.twig
Normal file
9
2019/source/_includes/sponsors/teaser.html.twig
Normal file
|
@ -0,0 +1,9 @@
|
|||
<div class="tw-flex tw-flex-col tw-items-center tw-justify-center">
|
||||
<div>
|
||||
<img src="/images/sponsors/{{ logo }}" alt="{{ name }} logo" class="tw-max-w-full tw-w-full">
|
||||
</div>
|
||||
|
||||
<div class="tw-mt-1">
|
||||
<a href="{{ url }}">{{ name }}</a>
|
||||
</div>
|
||||
</div>
|
3
2019/source/_includes/update-text.html.twig
Normal file
3
2019/source/_includes/update-text.html.twig
Normal file
|
@ -0,0 +1,3 @@
|
|||
<div class="tw-bg-black tw-font-bold tw-text-lg tw-text-white tw-text-center tw-p-4 tw-uppercase tw-mt-auto">
|
||||
{{ page.update_text }}
|
||||
</div>
|
Reference in a new issue