Skip to content
Snippets Groups Projects
Commit 9f9721a3 authored by Chris Lawton's avatar Chris Lawton
Browse files

adding mobile headshot image to be able to match designs

parent 139a587b
No related branches found
No related tags found
No related merge requests found
...@@ -15,6 +15,10 @@ ...@@ -15,6 +15,10 @@
<h4 class="heading">{{ page.job_title }}</h4> <h4 class="heading">{{ page.job_title }}</h4>
{% endif %} {% endif %}
{% if page.photo %}
{% image page.photo fill-210x235 class="image image--headshot-mobile" %}
{% endif %}
{% if page.introduction %} {% if page.introduction %}
<h4 class="heading heading--person-introduction">{{ page.introduction }}</h4> <h4 class="heading heading--person-introduction">{{ page.introduction }}</h4>
{% endif %} {% endif %}
...@@ -43,7 +47,7 @@ ...@@ -43,7 +47,7 @@
<div> <div>
{% if page.photo %} {% if page.photo %}
{% image page.photo fill-210x235 %} {% image page.photo fill-210x235 class="image image--headshot-desktop" %}
{% endif %} {% endif %}
{% if page.social_media_profile.all %} {% if page.social_media_profile.all %}
......
.image {
&--headshot-mobile {
display: block;
@include media-query(tablet-portrait) {
display: none;
}
}
&--headshot-desktop {
display: none;
@include media-query(tablet-portrait) {
display: block;
}
}
}
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
@import 'components/fund-box'; @import 'components/fund-box';
@import 'components/grid'; @import 'components/grid';
@import 'components/icon'; @import 'components/icon';
@import 'components/image';
@import 'components/input'; @import 'components/input';
@import 'components/link'; @import 'components/link';
@import 'components/list'; @import 'components/list';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment