Skip to content

Commit e1b48fb

Browse files
authored
Redesigned team page (#32)
* Create announcement_36.md * Ilker joined! * Update announcement_36.md * Update announcement_36.md * Update about_detailed.md * Updates * Update cohen.md * Create announcement_37.md * Comment out image path in cohen.md Commented out the image path for Joshua Cohen. * Update join.md * Update gt-arch-6242.md * Update description for Ilker Karadağ * Redesign of teams page * . --------- Co-authored-by: Patrick Kastner <[email protected]>
1 parent 233ae7a commit e1b48fb

26 files changed

+75
-49
lines changed

_includes/figure.liquid

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,11 @@
4444
{% else %}
4545
height="auto"
4646
{% endif %}
47-
{% if include['min-width'] or include['min-height'] or include['max-width'] or include['max-height'] %}
47+
{% if include.style or include['min-width'] or include['min-height'] or include['max-width'] or include['max-height'] %}
4848
style="
49+
{% if include.style %}
50+
{{ include.style }}
51+
{% endif %}
4952
{% if include['min-width'] %}
5053
min-width: {{ include.min-width }};
5154
{% endif %}

_includes/team_member.liquid

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<div class="col mb-4">
2+
<a href="{% if project.redirect %}{{ project.redirect }}{% else %}{{ project.url | relative_url }}{% endif %}" style="text-decoration: none; color: inherit;">
3+
<div class="card h-100 hoverable border-0 bg-transparent">
4+
{% if project.img %}
5+
<div class="text-center mt-3">
6+
{%
7+
include figure.liquid
8+
loading="eager"
9+
path=project.img
10+
sizes = "150px"
11+
alt="project thumbnail"
12+
class="rounded-circle img-fluid z-depth-1"
13+
style="width: 150px; height: 150px; object-fit: cover;"
14+
%}
15+
</div>
16+
{% endif %}
17+
<div class="card-body text-center p-2">
18+
<h5 class="card-title mb-1">{{ project.title }}</h5>
19+
<p class="card-text small text-muted">{{ project.description }}</p>
20+
</div>
21+
</div>
22+
</a>
23+
</div>

_pages/team.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ title: Team
55
description: Current and previous members of the lab
66
nav: true
77
nav_order: 6
8-
display_categories: [Director, Visiting Scholar, PhD, Graduate, Undergraduate, Collaborators, Alumni]
8+
display_categories: [Lab, Collaborators, Alumni]
99
horizontal: true
1010
---
1111

@@ -21,9 +21,9 @@ horizontal: true
2121
<!-- Generate cards for each project -->
2222
{% if page.horizontal -%}
2323
<div class="container">
24-
<div class="row row-cols-2">
24+
<div class="row row-cols-2 row-cols-sm-3 row-cols-md-4 row-cols-lg-5">
2525
{%- for project in sorted_projects -%}
26-
{% include projects_horizontal.liquid %}
26+
{% include team_member.liquid %}
2727
{%- endfor %}
2828
</div>
2929
</div>
@@ -47,9 +47,9 @@ horizontal: true
4747
{% if page.horizontal -%}
4848

4949
<div class="container">
50-
<div class="row row-cols-2">
50+
<div class="row row-cols-2 row-cols-sm-3 row-cols-md-4 row-cols-lg-5">
5151
{%- for project in sorted_projects -%}
52-
{% include projects_horizontal.html %}
52+
{% include team_member.liquid %}
5353
{%- endfor %}
5454
</div>
5555
</div>

_team/aerathu.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ layout: page
33
title: Joseph Aerathu
44
description: MS in Architecture (High Performance Building)
55
img: assets/img/team/Aerathu.jpg
6-
importance: 1
7-
category: Graduate
6+
importance: 40
7+
category: Lab
88
---
99

1010

_team/alvarez.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ layout: page
33
title: Marcelo Álvarez
44
description: MS in Architecture (Design Computation)
55
img: assets/img/team/Alvarez.jpg
6-
importance: 1
7-
category: Graduate
6+
importance: 41
7+
category: Lab
88
---
99

1010
<div class="profile mb-3">

_team/beesen.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ layout: page
33
title: Atharva Beesen
44
description: BS Computer Science
55
img: assets/img/team/Beesen.jpg
6-
importance: 1
7-
category: Undergraduate
6+
importance: 72
7+
category: Lab
88
---
99

1010
<div class="profile mb-3 float-right mb-3">

_team/changnawa.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ layout: page
33
title: Thanasarn Changnawa
44
description: PhD Student in Architecture
55
img: https://avatars.githubusercontent.com/u/137975914
6-
importance: 1
7-
category: PhD
6+
importance: 30
7+
category: Lab
88
---
99

1010
<div class="profile mb-3 float-right mb-3">

_team/cohen.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
layout: page
33
title: Joshua Cohen
4-
description: BS Civil Engineering
4+
description: # BS Civil Engineering
55
img: # assets/img/team/Cohen.jpg
66
importance: 1
77
category: Alumni

_team/dewitt.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ layout: page
33
title: Mason Dewitt
44
description: BS Electrical Engineering
55
img: https://avatars.githubusercontent.com/u/181799063?v=4
6-
importance: 1
7-
category: Undergraduate
6+
importance: 77
7+
category: Lab
88
---
99

1010
<div class="profile mb-3 float-right mb-3 mb-3 mb-3">

_team/h_xu.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ layout: page
33
title: Hang Xu
44
description: PhD Student in Architecture
55
img: https://raw.githubusercontent.com/HangXXXu/Selfimage/refs/heads/main/image_1.png
6-
importance: 1
7-
category: PhD
6+
importance: 31
7+
category: Lab
88
---
99

1010
<div class="profile mb-3 float-right mb-3 mb-3 mb-3">

0 commit comments

Comments
 (0)