Adjust experience and testimonials styling

This commit is contained in:
Oliver Davies 2019-02-14 02:46:05 +00:00
parent a54d3da3fe
commit b3f64ceac9
2 changed files with 8 additions and 8 deletions

View file

@ -130,11 +130,11 @@ experiences:
{% block content %} {% block content %}
{% import _self as helpers %} {% import _self as helpers %}
<div class="listing"> <div class="spaced-y-12">
{% 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-16"> <div>
<div class="flex flex-row justify-between"> <div class="flex flex-row justify-between">
<div> <div>
<h2 class="mb-0">{{ company.name }}</h2> <h2 class="mb-0">{{ company.name }}</h2>
@ -146,7 +146,7 @@ experiences:
</a> </a>
{%- endif %} {%- endif %}
<div class="text-grey-dark"> <div class="text-sm text-grey-dark">
{{ helpers.roleText(experience) }} {{ helpers.roleText(experience) }}
</div> </div>
</div> </div>

View file

@ -19,7 +19,7 @@ testimonials:
role: 'Brand & Web Specialist' role: 'Brand & Web Specialist'
text: | text: |
Oliver is a great guy and really easy to work with. He really goes the extra mile to make sure the project is done properly. I would recommend him and will not hesitate to use him again in future. Oliver is a great guy and really easy to work with. He really goes the extra mile to make sure the project is done properly. I would recommend him and will not hesitate to use him again in future.
- name: Brian Hartwell - name: Brian Hartwell
role: Interactive Creative Director role: Interactive Creative Director
text: | text: |
@ -67,9 +67,9 @@ testimonials:
Oliver is an amazing colleague, he's professional, full of knowledge and I could not recommend him more. Oliver is an amazing colleague, he's professional, full of knowledge and I could not recommend him more.
--- ---
{% block content %} {% block content %}
<div class="listing"> <div class="spaced-y-12">
{% for testimonial in page.testimonials|reverse %} {% for testimonial in page.testimonials|reverse %}
<article class="flex flex-row-reverse items-center mb-12"> <article class="flex flex-row-reverse items-center">
{% if testimonial.image %} {% if testimonial.image %}
<div class="flex-none"> <div class="flex-none">
<img <img
@ -81,11 +81,11 @@ testimonials:
{% endif %} {% endif %}
<div class="flex-1"> <div class="flex-1">
<div class="mb-2"> <div class="mb-3">
<h2 class="mb-1 leading-none">{{ testimonial.name }}</h2> <h2 class="mb-1 leading-none">{{ testimonial.name }}</h2>
{% if testimonial.role %} {% if testimonial.role %}
<div class="text-grey-dark"> <div class="text-grey-dark text-sm">
{{ testimonial.role|raw }} {{ testimonial.role|raw }}
</div> </div>
{% endif %} {% endif %}