Skip to content

Commit 48f9151

Browse files
authored
Merge pull request #12 from NeurodataWithoutBorders/team-board-titles
Add professional titles for team members in layout
2 parents 9cefdc9 + 60d3b8d commit 48f9151

File tree

2 files changed

+53
-4
lines changed

2 files changed

+53
-4
lines changed

content/team/_index.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,20 +30,28 @@ current_team_section:
3030
team_members:
3131
- image: /images/bing.png
3232
name: Bing Brunton
33+
post: Professor at University of Washington
3334
- image: /images/elizabeth.png
3435
name: Elizabeth Buffalo
36+
post: Professor at University of Washington
3537
- image: /images/anne.png
3638
name: Anne Churchland
39+
post: Professor at UCLA
3740
- image: /images/loren.png
3841
name: Loren Frank
42+
post: Professor at UCSF
3943
- image: /images/satrajit.png
4044
name: Satrajit Ghosh
45+
post: Principal Research Scientist at MIT
4146
- image: /images/adam-kepecs.png
4247
name: Adam Kepecs
48+
post: Professor at Washington University in St. Louis
4349
- image: /images/mala.png
4450
name: Mala Murthy
51+
post: Professor at Princeton University
4552
- image: /images/kris.png
4653
name: Kris Bouchard
54+
post: Staff Scientist at Lawrence Berkeley National Laboratory
4755
alumni_section:
4856
enable: true
4957
alumni:
@@ -68,18 +76,24 @@ technical_team_section:
6876
team_members:
6977
- image: /images/alessio.png
7078
name: Alessio Buccino
79+
post: Researcher at Allen Institute for Neural Dynamics & Research Software Engineer at CatalystNeuro
7180
- image: /images/saskia.png
7281
name: Saskia de Vries
82+
post: Senior Scientist at Allen Institute for Neural Dynamics
7383
- image: /images/yaroslav.png
7484
name: Yaroslav Halchenko
85+
post: Research Associate Professor at Dartmouth College
7586
- image: /images/ryan-ly.png
7687
name: Ryan Ly
88+
post: Scientific Data Engineer at Berkeley Lab
7789
# - image: /images/lawrence-niu.png
7890
# name: Lawrence Niu
7991
- image: /images/kushal.png
8092
name: Kushal Bakshi
93+
post: Neuroscience Data Engineer II at DataJoint
8194
- image: /images/szonja-weigl.jpeg
8295
name: Anna (Szonja) Weigl
96+
post: Research Software Engineer at CatalystNeuro
8397
core_dev_section:
8498
pynwb_section:
8599
enable: true

layouts/team/list.html

Lines changed: 39 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,43 @@ <h5 class="inter-700 text-20 dark-900 pt-4">{{ $element.name | markdownify }}</h
6666
{{ end }}
6767
{{ end }}
6868
</div>
69-
</section>
69+
</div>
70+
</section>
71+
{{ end }}
72+
{{/* End Executive Board Section */}}
73+
74+
{{/* Current Team Section */}}
75+
{{ with .Params.current_team_section }}
76+
{{ if .enable }}
77+
<section class="section bg-dark-100 pt-0">
78+
<div class="container-lg">
79+
<h3 class="inter-700 dark-900 text-40 pb-5">Current Membership of the Executive Board</h3>
80+
<div class="row g-2 g-md-4" id="team-members">
81+
{{ range $index, $element := .team_members }}
82+
<div class="col-6 col-sm-4 col-md-3 team-member {{ if gt $index 7 }}d-none{{ end }}" data-index="{{ $index }}">
83+
<div class="h-100 bg-white rounded-3 p-md-4 p-2 shadow-sm pb-md-3">
84+
<img src="{{ $element.image }}" alt="" class="img-fluid rounded-3">
85+
<h5 class="inter-700 text-20 dark-900 pt-4">{{ $element.name | markdownify }}</h5>
86+
{{ if $element.post }}<p class="inter-400 text-14 dark-900">{{ $element.post | markdownify }}</p>{{ end }}
87+
</div>
88+
</div>
89+
{{ end }}
90+
</div>
91+
{{ if gt (len .team_members) 8 }}
92+
<div class="d-flex justify-content-center align-items-center pt-4 flex-column flex-sm-row gap-2 mt-5">
93+
<a href="javascript:void(0);" id="show-more" class="btn btn-lg border shadow-sm bg-white dark-900 inter-500 text-16">
94+
<span>Show More</span>
95+
<img src="/images/essentials/d-down-arrow.png" alt="" width="20" height="20">
96+
</a>
97+
<a href="javascript:void(0);" id="show-less" class="btn btn-lg border shadow-sm bg-white dark-900 inter-500 text-16 d-none">
98+
<span>Show Less</span>
99+
<img src="/images/essentials/d-down-arrow.png" alt="" width="20" height="20" class="rotatedIcon">
100+
</a>
101+
</div>
102+
{{ end }}
103+
</div>
104+
</section>
105+
{{ end }}
70106
{{ end }}
71107
{{/* End Current Team Section */}}
72108

@@ -138,11 +174,10 @@ <h5 class="inter-700 text-20 dark-900 pt-4">{{ $p.name | markdownify }}</h5>
138174
</div>
139175
{{ end }}
140176
{{ end }}
141-
</div>
142177
</section>
143178
{{ end }}
144179
{{ end }}
145-
{{/* End Current Members of Technical Board Section */}}
180+
{{/* End Technical Board Section */}}
146181

147182
{{/* Core Development Team Section */}}
148183
{{ with .Params.core_dev_section }}
@@ -157,7 +192,7 @@ <h2 class="inter-700 text-40 dark-900">Core Development Team</h2>
157192
<h3 class="inter-600 dark-900 text-36">PyNWB</h3>
158193
<div class="row gy-2 g-md-3 g-lg-5 pt-4">
159194
{{ range .team_members }}
160-
<div class="col-sm-6 col-md-4">
195+
<div class="col-6 col-sm-4 col-md-3">
161196
<div class="h-100 bg-white rounded-3 p-4 shadow-sm pb-2 d-flex flex-column justify-content-between">
162197
<div class="d-flex flex-column justify-content-center align-items-center">
163198
<img src="{{ .image }}" alt="" class="img-fluid rounded-3">

0 commit comments

Comments
 (0)