Move speaker links
This commit is contained in:
parent
3831027e56
commit
645abc12b9
|
@ -4,31 +4,33 @@
|
|||
|
||||
{% block content_wrapper_inner %}
|
||||
<div class="md:tw-flex tw--mx-4">
|
||||
{% if page.image %}
|
||||
{% if page.image or page.links %}
|
||||
<div class="tw-px-4 tw-flex-0 tw-w-32 md:tw-w-48 tw-mb-4">
|
||||
<div class="tw-rounded-full tw-overflow-hidden tw-border-4 tw-border-solid tw-border-purple-500">
|
||||
{% if page.image %}
|
||||
<div class="tw-rounded-full tw-overflow-hidden tw-border-4 tw-border-solid tw-border-purple-500 tw-mb-4">
|
||||
<img class="tw-max-w-full tw-block" src="/images/speakers/{{ page.image }}" alt="{{ page.name }}">
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class="tw-px-4 tw-flex-1">
|
||||
{% if page.links %}
|
||||
<div class="tw-flex">
|
||||
<div class="tw--mb-1">
|
||||
{% if page.links.drupalorg %}
|
||||
<div class="tw-pl-6 tw-mr-4 tw-bg-no-repeat tw-bg-left" style="background-image: url(/themes/dcb2017/images/drop-1.png)">
|
||||
<div class="tw-pl-6 tw-mr-4 tw-bg-no-repeat tw-bg-left tw-mb-1" style="background-image: url(/themes/dcb2017/images/drop-1.png)">
|
||||
<a href="https://www.drupal.org/u/{{ page.links.drupalorg }}">{{ page.links.drupalorg }}</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if page.links.twitter %}
|
||||
<div class="tw-pl-6 tw-mr-4 tw-bg-no-repeat tw-bg-left" style="background-image: url(/themes/dcb2017/images/twitter-1.png)">
|
||||
<div class="tw-pl-6 tw-mr-4 tw-bg-no-repeat tw-bg-left tw-mb-1" style="background-image: url(/themes/dcb2017/images/twitter-1.png)">
|
||||
<a href="https://twitter.com/{{ page.links.twitter }}">{{ page.links.twitter }}</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class="tw-px-4 tw-flex-1">
|
||||
<div class="markup">
|
||||
<div class="tw-font-bold tw-text-xl">
|
||||
{% include 'speaker-role' with { speaker: page } %}
|
||||
|
|
Loading…
Reference in a new issue