Skip to content

Commit 5f0788c

Browse files
Add people
1 parent 076aacd commit 5f0788c

File tree

2 files changed

+7
-20
lines changed

2 files changed

+7
-20
lines changed

data/home/people.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,6 @@ content:
4141
name: "Xiangyu Shi"
4242
title: "Research Engineer"
4343
linkedin: "https://www.linkedin.com/in/xiangyu-shi-bd2002/"
44-
45-
- image: "images/yining.jpeg"
46-
name: "Yining Hou"
47-
title: "Research Engineer"
48-
linkedin: "https://www.linkedin.com/in/yining-hou/"
4944

5045
- image: "images/panagiotis.jpg"
5146
name: "Panagiotis Kaliosis"

themes/up-business-theme/layouts/partials/sections/people.html

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,26 @@
11
<style>
22
.team-member {
33
text-align: center;
4-
margin: 10px;
4+
margin-top: 20px;
55
box-sizing: border-box;
66
}
77

8-
.team-memberl-l,
9-
.team-member-r {
10-
flex-basis: calc(25% - 40px); /* Ensures 4 items per row */
11-
}
12-
138
.team-member img {
14-
width: 180px;
15-
height: 180px;
9+
width: 150px;
10+
height: 150px;
1611
border-radius: 20%;
1712
object-fit: cover;
1813
}
1914

2015
.team-member h2 {
2116
margin: 5px 0;
22-
font-size: 1.5rem;
17+
font-size: 1.1rem;
2318
padding-top: 5px;
2419
}
2520

2621
.team-member p {
2722
margin: 5px 0;
28-
font-size: 1rem;
23+
font-size: 0.9rem;
2924
}
3025
</style>
3126

@@ -41,7 +36,7 @@ <h3 class="fs-1 fw-bold text-center text-black-61">{{ . }}</h3>
4136
<!-- team-members -->
4237
<div class="row justify-content-center">
4338
{{ range .content.cardsl }}
44-
<div class="team-member team-memberl-l col-6 col-md-3">
39+
<div class="team-member col-4 col-md-2">
4540
{{ with .image }}{{ partial "utilities/image-fluid.html" . }}{{ end }}
4641
{{ with .name }}
4742
<h2 class="text-primary">{{ . }}</h2>
@@ -65,14 +60,11 @@ <h2 class="text-primary">{{ . }}</h2>
6560
{{ with .linkedin }}
6661
<li class="rounded-circle bg-blue-63 me-2 p-2"><a class="d-flex align-items-center justify-content-center size-16" href="{{ . }}">{{ partial "icons/linkedin.html" }}</a></li>
6762
{{ end }}
68-
<!-- {{ with .twitter }}
69-
<li class="rounded-circle bg-blue-63 me-2 p-2"><a class="d-flex align-items-center justify-content-center size-16" href="{{ . }}">{{ partial "icons/twitter.html" }}</a></li>
70-
{{ end }} -->
7163
</ul>
7264
</div>
7365
{{ end }}
7466
{{ range .content.cardsr }}
75-
<div class="team-member team-member-r col-6 col-md-3">
67+
<div class="team-member col-4 col-md-2">
7668
{{ with .image }}{{ partial "utilities/image-fluid.html" . }}{{ end }}
7769
{{ with .name }}
7870
<h2 class="text-primary">{{ . }}</h2>

0 commit comments

Comments
 (0)