|
| 1 | +{%- assign academic = site.data.academic %} |
| 2 | + |
| 3 | +{%- if academic.intro %} |
| 4 | +<p>{{ academic.intro }}</p> |
| 5 | +{%- endif %} |
| 6 | + |
| 7 | +{%- if academic.acknowledgement %} |
| 8 | +<p>{{ academic.acknowledgement }}</p> |
| 9 | +{%- endif %} |
| 10 | + |
| 11 | +{%- if academic.current_members %} |
| 12 | +<h2>Current 2026 Members</h2> |
| 13 | +<div class="row row-cols-2 row-cols-sm-3 row-cols-md-4 row-cols-xl-5 g-4 contributor-cards"> |
| 14 | +{%- for contributor in academic.current_members %} |
| 15 | + {%- assign contributor_name = contributor.name %} |
| 16 | + {%- assign contributor_data = site.data.CONTRIBUTORS[contributor_name] %} |
| 17 | + <div class="col"> |
| 18 | + <div class="card h-100"> |
| 19 | + {%- assign id = contributor_data.git | default: 'no_github' %} |
| 20 | + <div class="position-relative"> |
| 21 | + {%- if contributor_data.image_url %} |
| 22 | + <img src="{{ contributor_data.image_url }}" class="card-img-top p-3 rounded-circle" alt="{{ contributor_name }}"> |
| 23 | + {%- else %} |
| 24 | + <img src="https://avatars.githubusercontent.com/{{ id }}" class="card-img-top p-3 rounded-circle" alt="{{ contributor_name }}"> |
| 25 | + {%- endif %} |
| 26 | + {%- if contributor.role %} |
| 27 | + <span class="badge position-absolute top-0 end-0">{{ contributor.role }}</span> |
| 28 | + {%- endif %} |
| 29 | + </div> |
| 30 | + <div class="card-body text-center py-0"> |
| 31 | + <p class="card-title">{{ contributor_name }}</p> |
| 32 | + {%- if contributor_data.affiliation %} |
| 33 | + <p class="card-affiliation">{{ contributor_data.affiliation }}</p> |
| 34 | + {%- endif %} |
| 35 | + </div> |
| 36 | + {%- if contributor_data.git or contributor_data.email or contributor_data.orcid %} |
| 37 | + <div class="card-footer"> |
| 38 | + <div class="d-flex justify-content-center"> |
| 39 | + {%- if contributor_data.git %} |
| 40 | + <div class="mx-1"><a class="btn bg-white text-primary hover-primary rounded-circle social-icons p-0" href="https://github.com/{{ id }}"><i class="fab fa-github"></i></a></div> |
| 41 | + {%- endif %} |
| 42 | + {%- if contributor_data.email %} |
| 43 | + <div class="mx-1"><a class="btn bg-white text-primary hover-primary rounded-circle social-icons p-0" href="mailto:{{ contributor_data.email }}"><i class="fas fa-envelope"></i></a></div> |
| 44 | + {%- endif %} |
| 45 | + {%- if contributor_data.orcid %} |
| 46 | + <div class="mx-1"><a class="btn bg-white text-primary hover-primary rounded-circle social-icons p-0" href="https://orcid.org/{{ contributor_data.orcid }}"><i class="fab fa-orcid"></i></a></div> |
| 47 | + {%- endif %} |
| 48 | + </div> |
| 49 | + </div> |
| 50 | + {%- endif %} |
| 51 | + </div> |
| 52 | + </div> |
| 53 | +{%- endfor %} |
| 54 | +</div> |
| 55 | +{%- endif %} |
| 56 | + |
| 57 | +{%- if academic.former_members %} |
| 58 | +<h2>Former Panel Members</h2> |
| 59 | +<div class="row row-cols-2 row-cols-sm-3 row-cols-md-4 row-cols-xl-5 g-4 contributor-cards"> |
| 60 | +{%- for contributor in academic.former_members %} |
| 61 | + {%- assign contributor_name = contributor.name %} |
| 62 | + {%- assign contributor_data = site.data.CONTRIBUTORS[contributor_name] %} |
| 63 | + <div class="col"> |
| 64 | + <div class="card h-100"> |
| 65 | + {%- assign id = contributor_data.git | default: 'no_github' %} |
| 66 | + <div class="position-relative"> |
| 67 | + {%- if contributor_data.image_url %} |
| 68 | + <img src="{{ contributor_data.image_url }}" class="card-img-top p-3 rounded-circle" alt="{{ contributor_name }}"> |
| 69 | + {%- else %} |
| 70 | + <img src="https://avatars.githubusercontent.com/{{ id }}" class="card-img-top p-3 rounded-circle" alt="{{ contributor_name }}"> |
| 71 | + {%- endif %} |
| 72 | + {%- if contributor.role %} |
| 73 | + <span class="badge position-absolute top-0 end-0">{{ contributor.role }}</span> |
| 74 | + {%- endif %} |
| 75 | + </div> |
| 76 | + <div class="card-body text-center py-0"> |
| 77 | + <p class="card-title">{{ contributor_name }}</p> |
| 78 | + {%- if contributor_data.affiliation %} |
| 79 | + <p class="card-affiliation">{{ contributor_data.affiliation }}</p> |
| 80 | + {%- endif %} |
| 81 | + </div> |
| 82 | + {%- if contributor_data.git or contributor_data.email or contributor_data.orcid %} |
| 83 | + <div class="card-footer"> |
| 84 | + <div class="d-flex justify-content-center"> |
| 85 | + {%- if contributor_data.git %} |
| 86 | + <div class="mx-1"><a class="btn bg-white text-primary hover-primary rounded-circle social-icons p-0" href="https://github.com/{{ id }}"><i class="fab fa-github"></i></a></div> |
| 87 | + {%- endif %} |
| 88 | + {%- if contributor_data.email %} |
| 89 | + <div class="mx-1"><a class="btn bg-white text-primary hover-primary rounded-circle social-icons p-0" href="mailto:{{ contributor_data.email }}"><i class="fas fa-envelope"></i></a></div> |
| 90 | + {%- endif %} |
| 91 | + {%- if contributor_data.orcid %} |
| 92 | + <div class="mx-1"><a class="btn bg-white text-primary hover-primary rounded-circle social-icons p-0" href="https://orcid.org/{{ contributor_data.orcid }}"><i class="fab fa-orcid"></i></a></div> |
| 93 | + {%- endif %} |
| 94 | + </div> |
| 95 | + </div> |
| 96 | + {%- endif %} |
| 97 | + </div> |
| 98 | + </div> |
| 99 | +{%- endfor %} |
| 100 | +</div> |
| 101 | +{%- endif %} |
0 commit comments