Extract some partials
This commit is contained in:
parent
d4c66421ae
commit
235fbcfaaa
18
source/_includes/banner.html.twig
Normal file
18
source/_includes/banner.html.twig
Normal file
|
@ -0,0 +1,18 @@
|
|||
<header role="banner">
|
||||
<div class="region region-header">
|
||||
<div id="block-dcb2017-branding" class="block block-system block-system-branding-block">
|
||||
<a href="/" title="Home" rel="home" class="site-logo">
|
||||
<img src="/themes/dcb2017/logo.svg" alt="Home" />
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<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="menu">
|
||||
<li class="menu-item"><a href="http://2017.drupalcampbristol.co.uk" title="DrupalCamp Bristol 2017">2017</a></li>
|
||||
<li class="menu-item"><a href="{{ page.twitter_url }}" title="DrupalCamp Bristol on Twitter">Twitter</a></li>
|
||||
<li class="menu-item"><a href="https://www.youtube.com/channel/UCoHlMzj9iT4xOlpgYOg_rjw" title="View previous videos on YouTube">YouTube</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
</header>
|
9
source/_includes/footer.html.twig
Normal file
9
source/_includes/footer.html.twig
Normal file
|
@ -0,0 +1,9 @@
|
|||
<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">
|
||||
<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>
|
|
@ -25,31 +25,7 @@ twitter_url: https://twitter.com/drupalcampbris
|
|||
Skip to main content
|
||||
</a>
|
||||
<div class="tw-h-full">
|
||||
<header role="banner">
|
||||
<div class="region region-header">
|
||||
<div id="block-dcb2017-branding" class="block block-system block-system-branding-block">
|
||||
<a href="/" title="Home" rel="home" class="site-logo">
|
||||
<img src="/themes/dcb2017/logo.svg" alt="Home" />
|
||||
</a>
|
||||
</div>
|
||||
<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="menu">
|
||||
<li class="menu-item">
|
||||
<a href="http://2017.drupalcampbristol.co.uk" title="DrupalCamp Bristol 2017">2017</a>
|
||||
</li>
|
||||
|
||||
<li class="menu-item">
|
||||
<a href="{{ page.twitter_url }}" title="DrupalCamp Bristol on Twitter">Twitter</a>
|
||||
</li>
|
||||
|
||||
<li class="menu-item">
|
||||
<a href="https://www.youtube.com/channel/UCoHlMzj9iT4xOlpgYOg_rjw" title="View previous videos on YouTube">YouTube</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
</header>
|
||||
{% include 'banner' %}
|
||||
|
||||
<div class="tw-flex tw-flex-col tw-flex-1 tw-bg-balloon tw-bg-center tw-bg-cover">
|
||||
<div class="region tw-px-12 tw-my-16 lg:tw-my-24">
|
||||
|
@ -76,15 +52,8 @@ twitter_url: https://twitter.com/drupalcampbris
|
|||
<div class="tw-bg-black tw-font-bold tw-text-lg tw-text-white tw-text-center tw-p-4 tw-uppercase">
|
||||
Thanks to all previous speakers, sponsors and attendees. See you in 2019!
|
||||
</div>
|
||||
<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">
|
||||
<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>
|
||||
|
||||
{% include 'footer' %}
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
|
Loading…
Reference in a new issue