Skip to content

Commit 0373136

Browse files
committed
Update doula profiles: add image paths for board members, adjust SCSS styles for board member cards, and remove unused classes from JSON configuration. Include new profile images for Patrick Boswell and Nella Goho.
1 parent c003417 commit 0373136

12 files changed

Lines changed: 31 additions & 12 deletions
Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,25 @@
11
.board-members {
2+
margin-block-start: var(--space-xl);
23
display: grid;
34
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
4-
gap: 2rem;
5+
gap: var(--space-l);
56
}
67

78
.board-member-card {
8-
border: 1px solid var(--brown-400);
99
border-radius: 10px;
10-
padding: 1.5rem;
1110
text-align: center;
12-
background-color: var(--brown-100);
1311
}
1412

1513
.board-member-card__image {
1614
margin-bottom: 1rem;
1715

1816
img {
19-
width: 100%;
20-
max-width: 200px;
17+
aspect-ratio: 1 / 1;
18+
object-fit: cover;
19+
width: 300px;
2120
height: auto;
22-
border-radius: 50%;
2321
border: 5px solid var(--teal-500);
22+
border-radius: var(--border-radius-md);
2423
}
2524
}
2625

@@ -31,6 +30,16 @@
3130
}
3231

3332
.board-member-card__role {
34-
font-weight: var(--font-weight-regular);
33+
font-weight: var(--font-weight-light);
3534
margin: 0;
35+
font-variation-settings: "slnt" -12;
36+
}
37+
38+
@container (max-width: 40rem) {
39+
.board-members,
40+
.board-member-card {
41+
display: flex;
42+
flex-direction: column;
43+
align-items: center;
44+
}
3645
}

hugo/content/about-the-doula-cooperative.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,23 @@ type: "about-cooperative"
44
board_members:
55
- name: "Phyllis Sharp"
66
role: "President"
7+
path: "/doulas/phyllis-sharp/phyllis-sharp-profile-300.avif"
78
- name: "LaKeisha Washington"
89
role: "Vice President"
10+
path: "/doulas/lakeisha-washington/lakeisha-washington-profile-300.avif"
911
- name: "Patrick Boswell"
1012
role: "Treasurer"
13+
path: "/assets/images/patrick-boswell-profile-300.avif"
1114
- name: "Nella Goho"
1215
role: "Website Coordinator"
16+
path: "/assets/images/nella-goho-profile-300.avif"
1317
- name: "Christine Landers"
1418
role: "Referral Coordinator"
15-
- name: "Julia Sittig"
19+
path: "/doulas/christine-landers/christine-landers-profile-300.avif"
20+
- name: "Julia M Sittig"
1621
role: "Hospital Liason"
22+
path: "/doulas/julia-m-sittig/julia-m-sittig-profile-300.avif"
1723
- name: "Morgan Moy"
1824
role: "Community Liason"
25+
path: "/doulas/morgan-moy/morgan-moy-profile-300.avif"
1926
---
Binary file not shown.
Binary file not shown.
4.36 MB
Loading

hugo/hugo_stats.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@
116116
"navbar__link",
117117
"navbar__logo",
118118
"navbar__nav",
119-
"no-credentials",
120119
"post-submission-section",
121120
"price",
122121
"profile-card",

hugo/layouts/partials/about-cooperative/board-member-card.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
<div class="board-member-card">
22
<div class="board-member-card__image">
3-
{{ $image_path := printf "assets/images/about-cooperative/%s.png" (.name | urlize) }}
4-
<img src="{{ $image_path | relURL }}" alt="Headshot of {{ .name }}" />
3+
<img
4+
height="300"
5+
width="300"
6+
loading="lazy"
7+
src="{{ .path }}"
8+
alt="Headshot of {{ .name }}" />
59
</div>
610
<div class="board-member-card__info">
711
<p class="board-member-card__name">{{ .name }}</p>
1.62 MB
Loading
15.9 KB
Binary file not shown.
904 KB
Loading

0 commit comments

Comments
 (0)