Update talk page layout

This commit is contained in:
Oliver Davies 2017-02-19 21:14:22 +00:00
parent 710d22254c
commit c873cf2321
34 changed files with 82 additions and 121 deletions

View file

@ -1 +1,3 @@
@import 'code' @import 'code'
@import 'layout'
@import 'typography'

View file

@ -0,0 +1,5 @@
.is-flex
display: flex
.is-half
width: 50%

View file

@ -0,0 +1,3 @@
@each $value in 'left' 'center' 'right'
.is-#{$value}
text-align: #{$value}

View file

@ -3,3 +3,4 @@
@import 'blog-post' @import 'blog-post'
@import 'experience' @import 'experience'
@import 'projects' @import 'projects'
@import 'talk'

View file

@ -0,0 +1,7 @@
.talk-location,
.talk-slides,
.talk-video
margin-bottom: 1.5em
.talk-pager
margin-top: 2em

View file

@ -1,14 +0,0 @@
{% if page.event %}
<h2>Details</h2>
<ul>
<li>
Event:
{% if page.event.website %}<a href="{{ page.event.website }}">{%- endif -%}
{{ page.event.name }}
{%- if page.event.website -%}</a>{%- endif %}
</li>
<li>Date: {{ page.date|date(site.default_date_format) }}</li>
<li>Location: {{ page.event.location }}</li>
</ul>
{% endif %}

View file

@ -0,0 +1,3 @@
<p class="talk-location">
At {{ page.location }} on {{ page.date|date('jS F Y') }}.
</p>

View file

@ -1,9 +1,5 @@
{% if page.slides.embed %} {% if page.slides.embed %}
<div class="slides"> <div class="talk-slides">
<h2 class="slides__title">Slides</h2> {{ page.slides.embed|raw }}
<div class="slides__content">
{{ page.slides.embed|raw }}
</div>
</div> </div>
{% endif %} {% endif %}

View file

@ -1,7 +1,7 @@
{% if page.video.embed %} {% if page.video.embed %}
<h2>Video</h2> <div class="talk-video">
<div class="embed-container">
<div class="embed-container"> {{ page.video.embed|raw }}
{{ page.video.embed|raw }} </div>
</div> </div>
{% endif %} {% endif %}

View file

@ -19,7 +19,7 @@
</a> </a>
</td> </td>
<td>{{ talk.event.name }}</td> <td>{{ talk.location }}</td>
</tr> </tr>
{% endfor %} {% endfor %}
</tbody> </tbody>

View file

@ -1,13 +1,10 @@
--- ---
title: So, what is this Drupal thing? title: So, what is this Drupal thing?
event: location: Unified Diff
name: Unified Diff logo_link: http://unifieddiff.co.uk
website: http://unifieddiff.co.uk
location: Cardiff, UK
video: video:
embed: <iframe src="https://player.vimeo.com/video/49827006" width="640" height="360" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe> embed: <iframe src="https://player.vimeo.com/video/49827006" width="640" height="360" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
url: https://vimeo.com/49827006 url: https://vimeo.com/49827006
slug: what-is-this-drupal-thing
tags: tags:
- meetup - meetup
- drupal - drupal

View file

@ -1,8 +1,6 @@
--- ---
title: Drupal and the LDAP Module title: Drupal and the LDAP Module
event: location: SWDUG
name: SWDUG (South Wales Drupal user group)
location: Cardiff, UK
tags: tags:
- meetup - meetup
- swdug - swdug

View file

@ -1,9 +1,7 @@
--- ---
title: Never Commit to Master - An Introduction to Git Flow title: Never Commit to Master - An Introduction to Git Flow
event: location: DrupalCamp London 2014
name: DrupalCamp London 2014 logo_link: http://2014.drupalcamplondon.co.uk
website: http://2014.drupalcamplondon.co.uk
location: London, UK
slides: slides:
embed: <script async class="speakerdeck-embed" data-id="201559e0f103013198dd5a5f6f23ab67" data-ratio="1.29456384323641" src="//speakerdeck.com/assets/embed.js"></script> embed: <script async class="speakerdeck-embed" data-id="201559e0f103013198dd5a5f6f23ab67" data-ratio="1.29456384323641" src="//speakerdeck.com/assets/embed.js"></script>
url: https://speakerdeck.com/opdavies/never-commit-to-master-an-introduction-to-git-flow url: https://speakerdeck.com/opdavies/never-commit-to-master-an-introduction-to-git-flow

View file

@ -1,9 +1,7 @@
--- ---
title: drush make drupalbristol title: drush make drupalbristol
event: location: Bristol Drupal
name: Bristol Drupal logo_link: http://www.drupalbristol.org.uk
website: http://www.drupalbristol.org.uk
location: Bristol, UK
slides: slides:
embed: <script async class="speakerdeck-embed" data-id="42605700f102013198de5a5f6f23ab67" data-ratio="1.29456384323641" src="//speakerdeck.com/assets/embed.js"></script> embed: <script async class="speakerdeck-embed" data-id="42605700f102013198de5a5f6f23ab67" data-ratio="1.29456384323641" src="//speakerdeck.com/assets/embed.js"></script>
url: https://speakerdeck.com/opdavies/drush-make-drupalbristol url: https://speakerdeck.com/opdavies/drush-make-drupalbristol

View file

@ -1,8 +1,6 @@
--- ---
title: About the Drupal Association title: About the Drupal Association
event: location: SWDUG
name: SWDUG
location: Cardiff, UK
tags: tags:
- meetup - meetup
- swdug - swdug

View file

@ -1,9 +1,7 @@
--- ---
title: Drupal.org in 2015: What's Coming Next title: Drupal.org in 2015: What's Coming Next
event: location: DrupalCamp Brighton 2015
name: DrupalCamp Brighton 2015 logo_link: http://www.drupalcampbrighton.co.uk/drupalcamp-brighton-2015
website: http://www.drupalcampbrighton.co.uk/drupalcamp-brighton-2015
location: Brighton, UK
tags: tags:
- conference - conference
- drupalcamp - drupalcamp

View file

@ -1,9 +1,7 @@
--- ---
title: Drupal.org in 2015: What's Coming Next title: Drupal.org in 2015: What's Coming Next
event: location: DrupalCamp London 2015
name: DrupalCamp London 2015 logo_link: http://2015.drupalcamplondon.co.uk
website: http://2015.drupalcamplondon.co.uk
location: London, UK
tags: tags:
- conference - conference
- drupalcamp - drupalcamp

View file

@ -1,9 +1,6 @@
--- ---
title: Drupal 8 title: Drupal 8
event: location: PHPSW
name: PHPSW
website: http://phpsw.uk
location: Bristol, UK
slides: slides:
embed: <script async class="speakerdeck-embed" data-id="46ba4ba577d94a32b7abdade610ceb69" data-ratio="1.29456384323641" src="//speakerdeck.com/assets/embed.js"></script> embed: <script async class="speakerdeck-embed" data-id="46ba4ba577d94a32b7abdade610ceb69" data-ratio="1.29456384323641" src="//speakerdeck.com/assets/embed.js"></script>
url: https://speakerdeck.com/opdavies/drupal-8 url: https://speakerdeck.com/opdavies/drupal-8

View file

@ -1,9 +1,6 @@
--- ---
title: Test Drive Twig with Sculpin title: Test Drive Twig with Sculpin
event: location: DrupalCamp North 2015
name: DrupalCamp North 2015
website: http://drupalcampnorth.org
location: Sunderland, UK
slides: slides:
embed: <script async class="speakerdeck-embed" data-id="54589d2e50a3476a9a75aed809e9edf1" data-ratio="1.77777777777778" src="//speakerdeck.com/assets/embed.js"></script> embed: <script async class="speakerdeck-embed" data-id="54589d2e50a3476a9a75aed809e9edf1" data-ratio="1.77777777777778" src="//speakerdeck.com/assets/embed.js"></script>
url: https://speakerdeck.com/opdavies/test-drive-twig-with-sculpin url: https://speakerdeck.com/opdavies/test-drive-twig-with-sculpin

View file

@ -1,9 +1,6 @@
--- ---
title: Dancing for Drupal title: Dancing for Drupal
event: location: umBristol (Bristol Umbraco user group)
name: umBristol (Bristol Umbraco user group)
website: http://umbristol.co.uk
location: Bristol, UK
slides: slides:
embed: <script async class="speakerdeck-embed" data-id="ffa9b6dea6dc4a8eb207b9982ed6e1bd" data-ratio="1.33333333333333" src="//speakerdeck.com/assets/embed.js"></script> embed: <script async class="speakerdeck-embed" data-id="ffa9b6dea6dc4a8eb207b9982ed6e1bd" data-ratio="1.33333333333333" src="//speakerdeck.com/assets/embed.js"></script>
url: https://speakerdeck.com/opdavies/umbristol-dancing-for-drupal url: https://speakerdeck.com/opdavies/umbristol-dancing-for-drupal

View file

@ -1,9 +1,6 @@
--- ---
title: Building Static Websites with Sculpin title: Building Static Websites with Sculpin
event: location: PHPSW
name: PHPSW
website: http://phpsw.uk
location: Bristol, UK
slides: slides:
embed: <script async class="speakerdeck-embed" data-id="6c9c4be1a1344f1291ff13a391674a66" data-ratio="1.37081659973226" src="//speakerdeck.com/assets/embed.js"></script> embed: <script async class="speakerdeck-embed" data-id="6c9c4be1a1344f1291ff13a391674a66" data-ratio="1.37081659973226" src="//speakerdeck.com/assets/embed.js"></script>
url: https://speakerdeck.com/opdavies/building-static-websites-with-sculpin url: https://speakerdeck.com/opdavies/building-static-websites-with-sculpin

View file

@ -1,9 +1,6 @@
--- ---
title: Getting Started with Drupal 8 Module Development title: Getting Started with Drupal 8 Module Development
event: location: DrupalCamp London 2016
name: DrupalCamp London 2016
website: http://drupalcamp.london
location: London, UK
tags: tags:
- conference - conference
- php - php

View file

@ -1,9 +1,6 @@
--- ---
title: Drupal VM Generator title: Drupal VM Generator
event: location: NWDUG
name: NWDUG
website: http://nwdrupal.org.uk
location: Manchester, UK
code: https://github.com/opdavies/drupal-vm-generator code: https://github.com/opdavies/drupal-vm-generator
tags: tags:
- drupal-vm - drupal-vm

View file

@ -1,9 +1,6 @@
--- ---
title: Drupal VM Generator title: Drupal VM Generator
event: location: Drupal Bristol
name: Drupal Bristol
website: https://www.drupalbristol.org.uk
location: Bristol, UK
code: https://github.com/opdavies/drupal-vm-generator code: https://github.com/opdavies/drupal-vm-generator
tags: tags:
- drupal-vm - drupal-vm

View file

@ -1,9 +1,6 @@
--- ---
title: Drupal 8: Rejoining the Herd title: Drupal 8: Rejoining the Herd
event: location: PHP South Coast 2016
name: PHP South Coast 2016
website: http://2016.phpsouthcoast.co.uk
location: Portsmouth, UK
tags: tags:
- conference - conference
- php - php

View file

@ -1,10 +1,7 @@
--- ---
title: Drupal VM, Meet Symfony Console title: Drupal VM, Meet Symfony Console
event: location: DrupalCamp Bristol 2016
name: DrupalCamp Bristol 2016 logo: assets/images/talks/drupalcamp-bristol.png
website: https://www.drupalcampbristol.co.uk
location: Bristol, UK
logo: assets/images/talks/drupalcamp-bristol.png
tags: tags:
- conference - conference
- php - php

View file

@ -1,10 +1,7 @@
--- ---
title: Modern Drupal Development with Composer title: Modern Drupal Development with Composer
type: Lightning talk type: Lightning talk
event: location: PHPSW
name: PHPSW
website: http://phpsw.uk
location: Bristol, UK
tags: ['meetups', 'phpsw', 'drupal', 'composer'] tags: ['meetups', 'phpsw', 'drupal', 'composer']
slides: slides:
embed: '<script async class="speakerdeck-embed" data-id="7a1358502526425a9cfd288f85fb32f3" data-ratio="1.37081659973226" src="//speakerdeck.com/assets/embed.js"></script>' embed: '<script async class="speakerdeck-embed" data-id="7a1358502526425a9cfd288f85fb32f3" data-ratio="1.37081659973226" src="//speakerdeck.com/assets/embed.js"></script>'

View file

@ -1,10 +1,7 @@
--- ---
title: Goodbye Drush Make. Hello Composer! title: Goodbye Drush Make. Hello Composer!
event: location: Drupal Bristol
name: Drupal Bristol logo: assets/images/talks/drupalcamp-bristol.png
website: https://www.drupalbristol.org.uk
location: Bristol, UK
logo: assets/images/talks/drupalcamp-bristol.png
tags: ['meetup', 'drupal', 'composer'] tags: ['meetup', 'drupal', 'composer']
# image: drush-make-is-dead-long-live-composer.png # image: drush-make-is-dead-long-live-composer.png
slides: slides:

View file

@ -1,9 +1,6 @@
--- ---
title: Getting (Your Data) Into Drupal 8 title: Getting (Your Data) Into Drupal 8
event: location: Drupal Bristol
name: Drupal Bristol
website: https://www.drupalbristol.org.uk
location: Bristol, UK
tags: ['meetup', 'drupal', 'drupal-8'] tags: ['meetup', 'drupal', 'drupal-8']
slides: slides:
url: ~ url: ~

View file

@ -1,9 +1,6 @@
--- ---
title: It All Started With A Patch title: It All Started With A Patch
event: location: PHPSW
name: PHPSW
website: https://phpsw.uk
location: Bristol, UK
tags: [meetup, phpsw, open-source] tags: [meetup, phpsw, open-source]
slides: slides:
url: https://speakerdeck.com/opdavies/it-all-started-with-a-patch-phpsw url: https://speakerdeck.com/opdavies/it-all-started-with-a-patch-phpsw

View file

@ -1,9 +1,6 @@
--- ---
title: Deploying PHP Applications with Fabric title: Deploying PHP Applications with Fabric
event: location: Nomad PHP
name: Nomad PHP Lightning Talks
website: https://nomadphp.com
location: Online
tags: ['meetup', 'php', 'fabric'] tags: ['meetup', 'php', 'fabric']
slides: slides:
url: ~ url: ~

View file

@ -1,9 +1,6 @@
--- ---
title: Getting (Your Data) Into Drupal 8 title: Getting (Your Data) Into Drupal 8
event: location: DrupalCamp London 2017
name: DrupalCamp London 2017
website: http://drupalcamp.london
location: London, UK
tags: [] tags: []
slides: slides:
url: ~ url: ~

View file

@ -1,10 +1,7 @@
--- ---
title: Test driven Drupal development with SimpleTest and PHPUnit title: Test driven Drupal development with SimpleTest and PHPUnit
event: location: DrupalCamp London 2017
name: DrupalCamp London 2017
website: http://drupalcamp.london
location: London, UK
tags: [] tags: []
slides: slides:
url: ~ url: ~

View file

@ -5,9 +5,30 @@
{% endblock %} {% endblock %}
{% block content_wrapper %} {% block content_wrapper %}
{% block content %}{% endblock %} {% include 'talk/location' %}
{% include 'talk/event' %}
{% include 'talk/slides' %} {% include 'talk/slides' %}
{% include 'talk/video' %} {% include 'talk/video' %}
<div class="content">
{% block content %}{% endblock %}
</div>
<div class="talk-pager is-flex">
{% if page.next_talk %}
<div class="is-half">
<a href="{{ page.next_talk.url }}">
&laquo; {{ page.next_talk.title }}
</a>
</div>
{% endif %}
{% if page.previous_talk %}
<div class="is-half text-right">
<a href="{{ page.previous_talk.url }}" class="is-half text-right">
{{ page.previous_talk.title }} &raquo;
</a>
</div>
{% endif %}
</div>
{% endblock %} {% endblock %}