Skip to content

Commit

Permalink
Update publication
Browse files Browse the repository at this point in the history
  • Loading branch information
fhfuih committed Apr 6, 2024
1 parent 3abb1ec commit 0723586
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 2 deletions.
23 changes: 23 additions & 0 deletions assets/home.scss
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,29 @@ body.home {

.pub-main {
flex: 1 2;

h3 {
margin: 0 0 0.5em;
}
}

.pub-award {
display: inline-flex;
align-items: center;
gap: 0.1rem;
font-size: 0.8em;
padding: 0.125em 0.375em;
background-color: rgba(189, 195, 199, 0.3);
border-radius: 9999px;
transition: background-color 0.2s ease;
cursor: default;
&:hover {
background-color: rgba(189, 195, 199, 0.5);
}
svg {
width: 1em;
height: 1em;
}
}

.pub-img-collapser {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion data/network/people.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../schemas/network/people.json
# yaml-language-server: $schema=./people.schema.json
huang|zeyu:
given: Zeyu
family: Huang
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@
}
},
"additionalProperties": false
},
"awards": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
Expand Down
4 changes: 3 additions & 1 deletion data/personal/publications.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=../../schemas/personal/publications.json
# yaml-language-server: $schema=./publications.schema.json
- title: "Sharing Frissons among Online Video Viewers: Exploring the Design of Affective Communication for Aesthetic Chills"
short: FrissonsVideos
authors:
Expand Down Expand Up @@ -36,6 +36,8 @@
img: publications/drums.jpg
links:
doi: https://doi.org/10.1121/10.0023553
awards:
- Student Paper Competition Winner
- title: "CoArgue: Fostering Lurkers’ Contribution to Collective Arguments in Community-based QA Platforms"
short: CoArgue
authors:
Expand Down
5 changes: 5 additions & 0 deletions layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,11 @@ <h2>{{ T "publications" }}</h2>
</div>
<div class="pub-main">
<h3>{{ .title }}</h3>
<div class="pub-awards">
{{- range $value := .awards -}}
<span class="pub-award">{{ partial "helper/icon" "award" }}{{ $value }}</span>
{{- end -}}
</div>
<p class="author-line">
{{ range $key, $value := .authors }}
{{- if ne $key 0 -}}, {{ end -}}
Expand Down

0 comments on commit 0723586

Please sign in to comment.