Skip to content

Commit

Permalink
Initial version of staff page new design
Browse files Browse the repository at this point in the history
  • Loading branch information
rschiang committed May 6, 2024
1 parent 1ee5df8 commit 0724bdf
Show file tree
Hide file tree
Showing 36 changed files with 688 additions and 100 deletions.
Binary file added src/assets/img/staff/77.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/img/staff/ahmin.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/img/staff/allen.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/img/staff/amos.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/img/staff/carey.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/img/staff/che.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/img/staff/city.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/img/staff/claire.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/img/staff/dong.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/img/staff/elva.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/img/staff/fanlan.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/img/staff/hou.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/img/staff/ireneann.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/img/staff/jackie.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/img/staff/joy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/img/staff/kangaroo.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/img/staff/kevin.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/img/staff/kuki.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/img/staff/lois.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/img/staff/monica.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/img/staff/oliver.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/img/staff/peter.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/img/staff/pm5.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/img/staff/puchi.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/img/staff/ralin.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/img/staff/riley.png
Binary file added src/assets/img/staff/rschiang.png
Binary file added src/assets/img/staff/seangau.jpg
Binary file added src/assets/img/staff/vanbert.jpg
Binary file added src/assets/img/staff/vivian.jpg
Binary file added src/assets/img/staff/whitecat.jpg
Binary file added src/assets/img/staff/yellowsoar.jpg
Binary file added src/assets/img/staff/yenchiang.jpg
Binary file added src/assets/img/staff/zhenshoot.jpg
755 changes: 670 additions & 85 deletions src/data/staff.json

Large diffs are not rendered by default.

33 changes: 18 additions & 15 deletions src/pug/staff/index.pug
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,21 @@ block main
h1.border-b.border-neutral-500.pb-3(data-i18n="staff.title") 工作人員
.text-sm.my-4(data-i18n="staff.subtitle") g0v Summit 2024 籌備團隊
.my-20
each team, key in staff
if key == '宣傳' || key == '議程'
.mb-12
h3.mb-4= key
each group, key in team
if key !== 'main'
h5.mb-4= key
.grid.mb-8(class="grid-cols-3 md:grid-cols-5")
each person in group
.mb-4= person
else
h3.mb-4= key
.grid.mb-12(class="grid-cols-3 md:grid-cols-5")
each person in team
.mb-4= person
- let volunteers = {}
- for (let volunteer of staff.members) volunteers[volunteer.id] = volunteer
.grid.mb-12(class="grid-cols-3 md:grid-cols-6 gap-4")
mixin staff-avatar(person)
if person != null
.mb-4.aspect-square.bg-slate-100.rounded-full.flex.items-center.justify-center.cursor-pointer(data-id=person.id)
- let person_name = (person.name.zh || '') + (person.name.zh === person.name.en ? '' : ' ' + person.name.en)
if person.avatar
img.rounded-full(src=person.avatar, alt=person_name)
else
span.text-center(data-i18n=`staff.${person.id}.name`)= person_name
each team in staff.teams
each volunteer_id in team.members
+staff-avatar(volunteers[volunteer_id])
if team.sections
each section in team.sections
each volunteer_id in section.members
+staff-avatar(volunteers[volunteer_id])

0 comments on commit 0724bdf

Please sign in to comment.