Skip to content

Commit cf38431

Browse files
committed
feat: add 2 CSV images
also make the conduct page display 'Image Forthcoming' in the schedule images as it does above for the CSS roster images also a small schedule change for Reception
1 parent bb7bab9 commit cf38431

File tree

5 files changed

+14
-11
lines changed

5 files changed

+14
-11
lines changed

_data/community-support-schedule.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ onsite:
6262
- day: Tuesday
6363
period: Reception
6464
volunteers:
65-
- yelton
65+
- allen
6666
- derven
6767

6868
- day: Wednesday

_data/community-support.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ derven:
2222
name: Caleb Derven
2323
last: Derven
2424
pronouns: he/him/his
25-
img:
26-
img_alt:
25+
img: /assets/img/conduct/derven-caleb.jpg
26+
img_alt: "Caleb Derven (he/him) is the Head of Digital Scholarship & Library Systems at the University of Limerick."
2727
slack_handle: Caleb Derven
2828
onsite: true
2929
online: false
@@ -92,8 +92,8 @@ navarro:
9292
name: Michelle S. Navarro
9393
last: Navarro
9494
pronouns: she/her
95-
img:
96-
img_alt:
95+
img: /assets/img/conduct/navarro-michelle-s.png
96+
img_alt: "A digital illustration of a woman with short brown hair sitting with a laptop. She is wearing a pink T-shirt. A small black cat is draped over their shoulder with closed eyes. A brown and white ragdoll cat with blue eyes is lying on their lap, partially covering the laptop's keyboard. The laptop is gray with a peach sticker on the back."
9797
slack_handle: Michelle S. Navarro
9898
onsite: false
9999
online: true
151 KB
Loading
189 KB
Loading

conduct/index.html

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,6 @@ <h4 class="speaker-name">{{ volunteer.name }}</h4>
238238
{% else %}
239239
<img alt="{{ volunteer.name }}" class="clip-circle-lg" src="{{ volunteer.img }}" alt="{{ volunteer.name }}">
240240
{% endif %}
241-
242241
</div>
243242
</div>
244243
</div>
@@ -269,11 +268,15 @@ <h3>{{ session.day }} — {{ session.period }}</h3>
269268
{% assign volunteer = site.data.community-support[volunteerId] %}
270269
<div class="speaker-box text-center">
271270
<div class="speaker-box-inner">
272-
{% if volunteer.img_alt != nil %}
273-
<img alt="{{ volunteer.img_alt }}" class="clip-circle-lg" src="{{ volunteer.img }}" alt="{{ volunteer.name }}">
274-
{% else %}
275-
<img alt="{{ volunteer.name }}" class="clip-circle-lg" src="{{ volunteer.img }}" alt="{{ volunteer.name }}">
276-
{% endif %}
271+
{% if volunteer.img == nil %}
272+
<div class="clip-circle-lg">
273+
<p style="color:#fff; font-size:1.15rem; font-style:italic; font-weight:bold; height:100%; display:flex; justify-content:center; align-items:center; padding:1rem;">Image Forthcoming</p>
274+
</div>
275+
{% elsif volunteer.img_alt != nil %}
276+
<img alt="{{ volunteer.img_alt }}" class="clip-circle-lg" src="{{ volunteer.img }}" alt="{{ volunteer.name }}">
277+
{% else %}
278+
<img alt="{{ volunteer.name }}" class="clip-circle-lg" src="{{ volunteer.img }}" alt="{{ volunteer.name }}">
279+
{% endif %}
277280
<h4 class="speaker-name">{{ volunteer.name }}</h4>
278281
</div>
279282
</div>

0 commit comments

Comments
 (0)