Add space above the About Me block

This commit is contained in:
Oliver Davies 2021-06-30 08:00:00 +01:00
parent 175f9c4853
commit be9aaeafb7
3 changed files with 27 additions and 21 deletions

View file

@ -1,9 +1,13 @@
{% extends 'base' %} {% extends 'base' %}
{% block content_wrapper %} {% block content_wrapper %}
<div class="markdown"> <div class="space-y-10">
{{ parent() }} <div>
</div> <div class="markdown">
{{ parent() }}
</div>
</div>
{% include 'about-author' %} {% include 'about-author' %}
</div>
{% endblock %} {% endblock %}

View file

@ -1,23 +1,25 @@
{% extends 'base' %} {% extends 'base' %}
{% block content_wrapper %} {% block content_wrapper %}
<div class="space-y-6"> <div class="space-y-10">
<div class="markdown"> <div class="space-y-6">
{{ parent() }} <div class="markdown">
{{ parent() }}
</div>
{% include 'talk/slides' with {
speakerdeck: page.speakerdeck,
} only %}
{% include 'talk/video' with {
video: page.video,
} only %}
{% include 'talk/events' with {
events: page.events|reverse,
} only %}
</div> </div>
{% include 'talk/slides' with { {% include 'about-author' %}
speakerdeck: page.speakerdeck,
} only %}
{% include 'talk/video' with {
video: page.video,
} only %}
{% include 'talk/events' with {
events: page.events|reverse,
} only %}
</div> </div>
{% include 'about-author' %}
{% endblock %} {% endblock %}

View file

@ -1,7 +1,7 @@
<section> <section>
<h2>About Me</h2> <h2>About Me</h2>
<div class="flex space-x-4"> <div class="flex mt-4 space-x-4">
<div class="flex-shrink-0"> <div class="flex-shrink-0">
<img src="/sites/default/files/images/me-precedent.jpg" alt="Picture of Oliver" class="w-16 h-16 border rounded-full border-gray"> <img src="/sites/default/files/images/me-precedent.jpg" alt="Picture of Oliver" class="w-16 h-16 border rounded-full border-gray">
</div> </div>