Skip to content

Commit f234f36

Browse files
committed
Tweak display and update information
1 parent 379f7da commit f234f36

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

src/data/staff.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@
234234
"name": {"zh": "ddio", "en": "ddio"},
235235
"avatar": "assets/img/speakers/ddio.jpg",
236236
"website": "",
237-
"bio": ""
237+
"bio": "ddio - 主婦,第一間房子專案維護者"
238238
},
239239
{
240240
"id": "coldplay",
@@ -248,7 +248,7 @@
248248
"name": {"zh": "比鄰", "en": "Billion"},
249249
"avatar": "assets/img/speakers/billion-lee.jpg",
250250
"website": "",
251-
"bio": ""
251+
"bio": "比鄰是個魔法少女"
252252
},
253253
{
254254
"id": "ichieh",

src/pcss/base.pcss

+1
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ a:not(.btn, .nav-link) {
7878
#modal {
7979
@apply fixed left-0 top-0 w-full h-full z-50 flex items-center justify-center p-4;
8080
background-color: rgba(0, 0, 0, 0.5);
81+
backdrop-filter: blur(2px);
8182
transition: all 0.3s ease;
8283
opacity: 0;
8384
pointer-events: none;

src/pug/staff/index.pug

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ block main
3535
- let clickable = !!(person?.website || person?.bio)
3636
- let alt = (person?.name) ? (person.name.zh || '') + (person.name.zh === person.name.en ? '' : ' ' + person.name.en) : person_id
3737
.staff.flex.flex-col.items-center.justify-center(id=person_id, data-id=person_id)
38-
a.w-full.flex.items-center.justify-center.aspect-square.bg-slate-100.rounded-full(href=((!person.website && !person.bio) ? null : (person.bio ? `staff/#${person_id}` : person.website)), rel="external", target=((person.website && !person.bio) ? "_blank" : null))
38+
a.w-full.flex.items-center.justify-center.aspect-square.bg-slate-100.rounded-full(href=(!clickable ? null : (person.bio ? `staff/#${person_id}` : person.website)), rel="external", target=((person.website && !person.bio) ? "_blank" : null), class=(clickable ? "cursor-pointer" : null))
3939
if person && person.avatar
4040
img.w-full.rounded-full(src=person.avatar, alt=alt)
4141
else

0 commit comments

Comments
 (0)