Skip to content

Commit 787e11e

Browse files
authored
Merge pull request #712 from jasongrout/governance
Update for new governance
2 parents 9e10182 + 1b7bcda commit 787e11e

File tree

11 files changed

+232
-126
lines changed

11 files changed

+232
-126
lines changed

_includes/biocard.html

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,36 @@
11
<section class="biocard">
2-
<img
3-
class="biocard-photo"
4-
alt="{{ include.name }}"
5-
width=160
6-
height=160
7-
src="/assets/bios/{{ include.photo }}"
8-
loading="{% if include.loading %}{{ include.loading }}{% else %}lazy{% endif %}" />
2+
{% if include.photo %}
3+
<img
4+
class="biocard-photo"
5+
alt="{{ include.name }}"
6+
width=160
7+
height=160
8+
src="/assets/bios/{{ include.photo }}"
9+
loading="{% if include.loading %}{{ include.loading }}{% else %}lazy{% endif %}" />
10+
{% endif %}
911
<div class="biocard-copy">
1012
<div class="biocard-header">{{ include.name }}</div>
1113
{% if include.affiliation %}
1214
<div class="biocard-affiliation">{{ include.affiliation }}</div>
1315
{% endif %}
1416
<div class='biocard-badges'>
1517
{% if include.personal %}
16-
<a href="{{ include.personal }}" rel="noopener noreferrer">Web</a>
18+
<a href="{{ include.personal }}" rel="noopener noreferrer"><img src="/assets/badges/1f310.svg" alt="Personal Website" title="Personal Website"></a>
1719
{% endif %}
1820
{% if include.gh_handle %}
19-
<a href="https://github.com/{{ include.gh_handle }}" rel="noopener noreferrer">GitHub</a>
21+
<a href="https://github.com/{{ include.gh_handle }}" rel="noopener noreferrer"><img src="/assets/badges/github.svg" alt="GitHub" title="GitHub"></a>
2022
{% endif %}
2123
{% if include.linkedin %}
22-
<a href="{{ include.linkedin }}" rel="noopener noreferrer">LinkedIn</a>
24+
<a href="{{ include.linkedin }}" rel="noopener noreferrer"><img src="/assets/badges/linkedin.png" alt="LinkedIn" title="LinkedIn"></a>
25+
{% endif %}
26+
{% if include.mastodon %}
27+
<a href="{{ include.mastodon }}" rel="noopener noreferrer"><img src="/assets/badges/mastodon.svg" alt="Mastodon" title="Mastodon"></a>
2328
{% endif %}
2429
{% if include.twitter_handle %}
25-
<a href="https://twitter.com/{{ include.twitter_handle }}" rel="noopener noreferrer">Twitter</a>
30+
<a href="https://twitter.com/{{ include.twitter_handle }}" rel="noopener noreferrer"><img src="/assets/badges/twitter.svg" alt="Twitter" title="Twitter"></a>
31+
{% endif %}
32+
{% if include.subproject %}
33+
<div class="biocard-subproject">{{ include.subproject }}</div>
2634
{% endif %}
2735
</div>
2836
</div>

_sass/components/_biocard.scss

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
border-radius: 2px;
1414
box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
1515
display: inline-block;
16-
height: 280px;
16+
height: 300px;
1717
width: 160px;
1818
margin: 1em 1em 1em 0;
1919
.biocard-photo {
@@ -22,7 +22,7 @@
2222
}
2323
.biocard-copy {
2424
width: 100%;
25-
padding: 0.85em;
25+
padding: 0.85em 0.4em;
2626
}
2727
.biocard-header {
2828
font-size: 16px;
@@ -32,9 +32,19 @@
3232
font-size: 14px;
3333
font-style: italic;
3434
}
35+
.biocard-subproject {
36+
font-size: 16px;
37+
text-align: left;
38+
}
3539
.biocard-badges {
3640
margin-top: 0.5em;
3741
text-align: left;
3842
font-size: 14px;
43+
44+
img {
45+
max-height: 22px;
46+
max-width: 22px;
47+
margin: 2px;
48+
}
3949
}
4050
}

0 commit comments

Comments
 (0)