Re-add Experience page
This commit is contained in:
parent
7a1afe9601
commit
37e4e80831
|
@ -56,6 +56,11 @@
|
||||||
href: '/talks',
|
href: '/talks',
|
||||||
pattern: '^/talks/?',
|
pattern: '^/talks/?',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: 'Experience',
|
||||||
|
href: '/experience',
|
||||||
|
pattern: '^/experience/?',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: 'Blog',
|
title: 'Blog',
|
||||||
href: '/blog',
|
href: '/blog',
|
||||||
|
|
|
@ -115,32 +115,34 @@ experiences:
|
||||||
{% for experience in page.experiences|reverse %}
|
{% for experience in page.experiences|reverse %}
|
||||||
{% set company = site.companies[experience.company] %}
|
{% set company = site.companies[experience.company] %}
|
||||||
|
|
||||||
<div class="mb-12">
|
<div class="mb-16">
|
||||||
{% if company.logo %}
|
<div class="flex flex-row justify-between">
|
||||||
<div class="float-right mt-2 mb-4 ml-4 w-16 sm:w-24 lg:w-32">
|
<div>
|
||||||
<img src="/images/experience/{{ company.logo }}" alt="{{ company.name }} logo">
|
<h2 class="mb-0">{{ company.name }}</h2>
|
||||||
</div>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
<div>
|
<div class="mb-4">
|
||||||
<h2 class="mb-0">{{ company.name }}</h2>
|
{% if company.url -%}
|
||||||
|
<a class="inline-block text-blue mb-1" href="{{ company.url }}?utm_source={{ site.short_url }}&utm_medium=experience">
|
||||||
|
{{- company.url -}}
|
||||||
|
</a>
|
||||||
|
{%- endif %}
|
||||||
|
|
||||||
<div class="mb-4">
|
<div class="text-grey-dark">
|
||||||
{% if company.url -%}
|
{{- experience.role }} from {{ experience.start }} to {{ experience.end|default('Present') -}}
|
||||||
<a class="inline-block text-blue mb-1" href="{{ company.url }}?utm_source={{ site.short_url }}&utm_medium=experience">
|
{%- if experience.location %} ({{ experience.location }}){% endif %}.
|
||||||
{{- company.url -}}
|
</div>
|
||||||
</a>
|
|
||||||
{%- endif %}
|
|
||||||
|
|
||||||
<div class="text-grey-dark">
|
|
||||||
{{- experience.role }} from {{ experience.start }} to {{ experience.end|default('Present') -}}
|
|
||||||
{%- if experience.location %} ({{ experience.location }}){% endif %}.
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{% if experience.description %}
|
||||||
|
<div class="markdown">
|
||||||
|
{{ experience.description|markdown }}
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if experience.description %}
|
{% if company.logo %}
|
||||||
<div class="markdown">
|
<div class="flex-none mt-2 mb-4 ml-4 w-16 sm:w-24 lg:w-32">
|
||||||
{{ experience.description|markdown }}
|
<img src="/images/experience/{{ company.logo }}" alt="{{ company.name }} logo">
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue