Skip to content

Commit 60d3b8d

Browse files
committed
Merge branch 'main' into team-board-titles
2 parents 0050b26 + 9cefdc9 commit 60d3b8d

File tree

1 file changed

+61
-32
lines changed

1 file changed

+61
-32
lines changed

layouts/team/list.html

Lines changed: 61 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,38 @@ <h3 class="inter-700 text-40 dark-900">{{ .title | markdownify }}</h3>
3434
{{ end }}
3535
</ol>
3636
{{ end }}
37+
{{/* Current Team Section */}}
38+
{{ with $.Params.current_team_section }}
39+
{{ if .enable }}
40+
<div class="container-lg pt-5">
41+
<h4 class="inter-600 dark-900 text-32 pb-5">Current Membership of the Executive Board</h4>
42+
<div class="row g-2 g-md-4" id="team-members">
43+
{{ range $index, $element := .team_members }}
44+
<div class="col-6 col-sm-4 col-md-3 team-member {{ if gt $index 7 }}d-none{{ end }}" data-index="{{ $index }}">
45+
<div class="h-100 bg-white rounded-3 p-md-4 p-2 shadow-sm pb-md-3">
46+
<img src="{{ $element.image }}" alt="" class="img-fluid rounded-3">
47+
<h5 class="inter-700 text-20 dark-900 pt-4">{{ $element.name | markdownify }}</h5>
48+
{{ if $element.post }}<p class="inter-400 text-14 dark-900">{{ $element.post | markdownify }}</p>{{ end }}
49+
</div>
50+
</div>
51+
{{ end }}
52+
</div>
53+
{{ if gt (len .team_members) 8 }}
54+
<div class="d-flex justify-content-center align-items-center pt-4 flex-column flex-sm-row gap-2 mt-5">
55+
<a href="javascript:void(0);" id="show-more" class="btn btn-lg border shadow-sm bg-white dark-900 inter-500 text-16">
56+
<span>Show More</span>
57+
<img src="/images/essentials/d-down-arrow.png" alt="" width="20" height="20">
58+
</a>
59+
<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">
60+
<span>Show Less</span>
61+
<img src="/images/essentials/d-down-arrow.png" alt="" width="20" height="20" class="rotatedIcon">
62+
</a>
63+
</div>
64+
{{ end }}
65+
</div>
66+
{{ end }}
67+
{{ end }}
68+
</div>
3769
</div>
3870
</section>
3971
{{ end }}
@@ -110,45 +142,42 @@ <h3 class="inter-700 text-40 dark-900">{{ .title | markdownify }}</h3>
110142
{{ end }}
111143
</ol>
112144
</div>
113-
</section>
114-
{{ end }}
115-
{{ end }}
116-
{{/* End Technical Board Section */}}
117145

118-
{{/* Current Members of Technical Board Section */}}
119-
{{ with .Params.technical_team_section }}
120-
{{ if .enable }}
121-
<section class="section bg-dark-100">
122-
<div class="container-lg">
123-
<h3 class="inter-700 dark-900 text-40 pb-5">Current Membership of the Technical Advisory Board</h3>
124-
<div class="row g-2 g-md-4" id="team-members-tech">
125-
{{ range $i, $p := .team_members }}
126-
<div class="col-12 col-sm-4 col-md-3 team-member-tech {{ if gt $i 7 }}d-none{{ end }}" data-index="{{ $i }}">
127-
<div class="h-100 bg-white rounded-3 p-2 p-md-4 shadow-sm pb-md-3">
128-
<img src="{{ $p.image }}" alt="" class="img-fluid rounded-3">
129-
<h5 class="inter-700 text-20 dark-900 pt-4">{{ $p.name | markdownify }}</h5>
130-
{{ if $p.post }}<p class="inter-400 text-14 dark-900">{{ $p.post | markdownify }}</p>{{ end }}
146+
{{/* Current Members of Technical Board Section */}}
147+
{{ with $.Params.technical_team_section }}
148+
{{ if .enable }}
149+
<div class="container-lg pt-5">
150+
<h4 class="inter-600 dark-900 text-32 pb-5">Current Membership of the Technical Advisory Board</h4>
151+
<div class="row g-2 g-md-4" id="team-members-tech">
152+
{{ range $i, $p := .team_members }}
153+
<div class="col-12 col-sm-4 col-md-3 team-member-tech {{ if gt $i 7 }}d-none{{ end }}" data-index="{{ $i }}">
154+
<div class="h-100 bg-white rounded-3 p-2 p-md-4 shadow-sm pb-md-3">
155+
<img src="{{ $p.image }}" alt="" class="img-fluid rounded-3">
156+
<h5 class="inter-700 text-20 dark-900 pt-4">{{ $p.name | markdownify }}</h5>
157+
{{ if $p.post }}<p class="inter-400 text-14 dark-900">{{ $p.post | markdownify }}</p>{{ end }}
158+
</div>
131159
</div>
160+
{{ end }}
161+
</div>
162+
{{ if gt (len .team_members) 8 }}
163+
<div class="d-flex justify-content-center align-items-center pt-4 flex-column flex-sm-row gap-2">
164+
<a href="javascript:void(0);" id="show-more-tech" class="btn btn-lg shadow-sm bg-white dark-900 inter-500 text-16">
165+
<span>Show More</span>
166+
<img src="/images/essentials/d-down-arrow.png" alt="" width="20" height="20">
167+
</a>
168+
<a href="javascript:void(0);" id="show-less-tech" class="btn btn-lg shadow-sm bg-white dark-900 inter-500 text-16 d-none">
169+
<span>Show Less</span>
170+
<img src="/images/essentials/d-down-arrow.png" alt="" width="20" height="20" class="rotatedIcon">
171+
</a>
132172
</div>
133173
{{ end }}
134174
</div>
135-
{{ if gt (len .team_members) 8 }}
136-
<div class="d-flex justify-content-center align-items-center pt-4 flex-column flex-sm-row gap-2">
137-
<a href="javascript:void(0);" id="show-more-tech" class="btn btn-lg shadow-sm bg-white dark-900 inter-500 text-16">
138-
<span>Show More</span>
139-
<img src="/images/essentials/d-down-arrow.png" alt="" width="20" height="20">
140-
</a>
141-
<a href="javascript:void(0);" id="show-less-tech" class="btn btn-lg shadow-sm bg-white dark-900 inter-500 text-16 d-none">
142-
<span>Show Less</span>
143-
<img src="/images/essentials/d-down-arrow.png" alt="" width="20" height="20" class="rotatedIcon">
144-
</a>
145-
</div>
146175
{{ end }}
147-
</div>
148-
</section>
149-
{{ end }}
176+
{{ end }}
177+
</section>
178+
{{ end }}
150179
{{ end }}
151-
{{/* End Current Members of Technical Board Section */}}
180+
{{/* End Technical Board Section */}}
152181

153182
{{/* Core Development Team Section */}}
154183
{{ with .Params.core_dev_section }}

0 commit comments

Comments
 (0)