Skip to content

Commit 18e59d9

Browse files
committed
people page update
fixed images removed people images from mobile view
1 parent ece2f8e commit 18e59d9

10 files changed

Lines changed: 22 additions & 17 deletions

File tree

_includes/people_card.liquid

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,17 @@
22
<div class="card h-100 hoverable">
33
<div class="row no-gutters">
44
{% if people.img %}
5-
<div class="col-md-3">
5+
<style>
6+
@media (max-width: 768px) {
7+
.people-img-col { display: none !important; }
8+
}
9+
</style>
10+
<div class="col-md-3 people-img-col">
611
{% include figure.liquid
712
loading="eager"
813
path=people.img
914
sizes="(min-width: 768px) 50px, 5vw"
10-
lt="project thumbnail"
15+
lt="people thumbnail"
1116
class="card-img" %}
1217
</div>
1318
{% endif %}
@@ -18,20 +23,20 @@
1823
<div class="row ml-1 mr-1 p-0">
1924
{% if people.email %}
2025
<a href="mailto:{{ people.email | encode_email }}" title="email"><i class="fa-solid fa-envelope"></i></a>
21-
{% endif %}
22-
&nbsp;&nbsp;
26+
&nbsp;&nbsp;
27+
{% endif %}
2328
{% if people.website %}
2429
<a href="{{ people.website }}" title="website"><i class="fa-solid fa-home"></i></a>
25-
{% endif %}
26-
&nbsp;&nbsp;
30+
&nbsp;&nbsp;
31+
{% endif %}
2732
{% if people.scholar %}
2833
<a href="{{ people.scholar }}" title="google-scholar"><i class="ai ai-google-scholar"></i></a>
29-
{% endif %}
30-
&nbsp;&nbsp;
34+
&nbsp;&nbsp;
35+
{% endif %}
3136
{% if people.linkedin %}
3237
<a href="{{ people.linkedin }}" title="LinkedIn"><i class="fa-brands fa-linkedin"></i></a>
33-
{% endif %}
34-
&nbsp;&nbsp;
38+
&nbsp;&nbsp;
39+
{% endif %}
3540
{% if people.twitter %}
3641
<a href="{{ people.twitter }}" title="X"><i class="fa-brands fa-x-twitter"></i></a>
3742
{% endif %}

_pages/people.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ layout: page
33
div_class: people
44
permalink: /people/
55
title: people
6-
description: members of the lab or group
6+
description: members of the research group
77
nav: true
88
nav_order: 4
99
tabs: true
@@ -25,7 +25,7 @@ display_status: [current, alumni]
2525
<!-- <swiper-container keyboard="true" navigation="true" pagination="true" pagination-clickable="true" pagination-dynamic-bullets="true" rewind="true"> -->
2626
<div style="max-width: 900px; margin: 0 auto;">
2727
<swiper-container
28-
style="--swiper-navigation-color: #fff; --swiper-pagination-color: #fff; width: 100%; height: 480px;"
28+
style="--swiper-navigation-color: #fff; --swiper-pagination-color: #fff; width: 80%; height: 480px;"
2929
class="mySwiper"
3030
pagination-dynamic-bullets="true"
3131
thumbs-swiper=".mySwiper2"

_people/dylan-turpin.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
layout: page
33
name: Dylan Turpin
4-
role: Ph.D. Student (UofT) <br> (With Sven Dickenson) #description of the role
4+
role: Ph.D. Student (UofT) <br> (With Sven Dickinson) #description of the role
55
img: assets/img/people/dylan-turpin.jpeg
66
category: phd # pi, postdoc, phd, ms, ug, visitor
77
status: current # current, alumni

_people/ezra-ameperosa.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
layout: page
33
name: Ezra Ameperosa
4-
role: Ph.D. Student #description of the role
4+
role: Ph.D. Student <br> with AFRL #description of the role
55
img: assets/img/people/ezra-ameperosa.jpeg
66
category: phd # pi, postdoc, phd, ms, ug, visitor
77
status: current # current, alumni

_people/walker-byrnes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
layout: page
33
name: Walker Byrnes
4-
role: Ph.D. Student #description of the role
5-
img: assets/img/people/walker-byrnes.jpg
4+
role: Ph.D. Student <br> with GTRI #description of the role
5+
img: assets/img/people/walker-byrnes.jpeg
66
category: phd # pi, postdoc, phd, ms, ug, visitor
77
status: current # current, alumni
88
#links and socials

_people/wei-yu.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
layout: page
33
name: Wei Yu
4-
role: Ph.D. Student (UofT) #description of the role
4+
role: Ph.D. Student (UofT) <br> (with Steve Easterbrook) #description of the role
55
img: assets/img/people/wei-yu.jpeg
66
category: phd # pi, postdoc, phd, ms, ug, visitor
77
status: current # current, alumni
8.58 KB
Loading
-13.8 KB
Binary file not shown.

assets/img/people/zihan-zhou.jpeg

10.6 KB
Loading

assets/img/people/zihan-zhou.png

-495 KB
Binary file not shown.

0 commit comments

Comments
 (0)