Re-add Experience page

This commit is contained in:
Oliver Davies 2018-10-09 23:54:23 +01:00
parent 7a1afe9601
commit 37e4e80831
2 changed files with 28 additions and 21 deletions

View file

@ -56,6 +56,11 @@
href: '/talks',
pattern: '^/talks/?',
},
{
title: 'Experience',
href: '/experience',
pattern: '^/experience/?',
},
{
title: 'Blog',
href: '/blog',

View file

@ -115,13 +115,8 @@ experiences:
{% for experience in page.experiences|reverse %}
{% set company = site.companies[experience.company] %}
<div class="mb-12">
{% if company.logo %}
<div class="float-right mt-2 mb-4 ml-4 w-16 sm:w-24 lg:w-32">
<img src="/images/experience/{{ company.logo }}" alt="{{ company.name }} logo">
</div>
{% endif %}
<div class="mb-16">
<div class="flex flex-row justify-between">
<div>
<h2 class="mb-0">{{ company.name }}</h2>
@ -144,6 +139,13 @@ experiences:
</div>
{% endif %}
</div>
{% if company.logo %}
<div class="flex-none mt-2 mb-4 ml-4 w-16 sm:w-24 lg:w-32">
<img src="/images/experience/{{ company.logo }}" alt="{{ company.name }} logo">
</div>
{% endif %}
</div>
</div>
{% endfor %}
</div>