Skip to content

Commit

Permalink
Krude initial attempt to add to the page emeritus members
Browse files Browse the repository at this point in the history
Ref #37
  • Loading branch information
yarikoptic committed Jun 28, 2023
1 parent ab088ac commit c4e4368
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 2 deletions.
20 changes: 19 additions & 1 deletion _data/team_members.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,22 @@
number_educ: 2
education1: PhD Atmospheric Physics, University of Warsaw
education2: MSc Theoretical Physics, University of Warsaw


# TODO: add current Kitware folks

# Emeritus members
- name: Michael Grauer
status: emeritus
photo: https://media.licdn.com/dms/image/C5603AQGUMiyWch18CQ/profile-displayphoto-shrink_800_800/0/1626721811203?e=1693440000&v=beta&t=3kPqftSLKIm5I1ZNN3CWSNzRdWlkBg6Ajtl_tj4Bw0M
info: ?
email: ?
number_educ: ?
education1: ?

#- name: Daniel Chiquito
# status: emeritus
# photo:
# info:
# email:
# number_educ: ?
# education1: ?
26 changes: 25 additions & 1 deletion _pages/team.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,32 @@ permalink: /team
<div class="row">
{% endif %}

<div class="col-sm-6 clearfix">
<style>
.emeritus-container {
position: relative;
display: inline-block;
}

.emeritus-container::after {
content: "Off-duty hero";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
color: white;
font-weight: bold;
font-size: 1.2em;
background: rgba(0,0,0,0.5);
}
</style>

<div class="col-sm-6 clearfix {% if member.status == emeritus %} emeritus-container {% endif %}">
<img src="{{ member.photo }}" class="img-responsive" width="25%" style="float: left" />

<h4>{{ member.name }}</h4>
<i>{{ member.info }}<br>email: <{{ member.email }}></i>
<ul style="overflow: hidden">
Expand Down

0 comments on commit c4e4368

Please sign in to comment.