diff --git a/assets/home.scss b/assets/home.scss index c8e607d..7616cbf 100644 --- a/assets/home.scss +++ b/assets/home.scss @@ -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 { diff --git a/schemas/network/people.json b/data/network/people.schema.json similarity index 100% rename from schemas/network/people.json rename to data/network/people.schema.json diff --git a/data/network/people.yaml b/data/network/people.yaml index 7d1ef9d..90fb628 100644 --- a/data/network/people.yaml +++ b/data/network/people.yaml @@ -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 diff --git a/schemas/personal/publications.json b/data/personal/publications.schema.json similarity index 91% rename from schemas/personal/publications.json rename to data/personal/publications.schema.json index a10105c..f278950 100644 --- a/schemas/personal/publications.json +++ b/data/personal/publications.schema.json @@ -50,6 +50,12 @@ } }, "additionalProperties": false + }, + "awards": { + "type": "array", + "items": { + "type": "string" + } } }, "required": [ diff --git a/data/personal/publications.yaml b/data/personal/publications.yaml index 06aee41..54eef8c 100644 --- a/data/personal/publications.yaml +++ b/data/personal/publications.yaml @@ -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: @@ -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: diff --git a/layouts/index.html b/layouts/index.html index b02a75e..5f48c28 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -152,6 +152,11 @@

{{ T "publications" }}

{{ .title }}

+
+ {{- range $value := .awards -}} + {{ partial "helper/icon" "award" }}{{ $value }} + {{- end -}} +

{{ range $key, $value := .authors }} {{- if ne $key 0 -}}, {{ end -}}