File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ import Publications from '../pages/publications'
1616import Theses from '../pages/theses'
1717import Projects from '../pages/projects'
1818import { getLabPictures , getLabPicture } from './labs'
19+ import { getTitle } from '../pages/people'
1920
2021import files from '../content/output/files.json'
2122import { default as labsJson } from '../content/output/labs.json'
@@ -98,6 +99,7 @@ export default function Person ({person}) {
9899 picture : getLabPicture ( lab . id , pictures )
99100 } )
100101 )
102+ const title = getTitle ( person )
101103 return (
102104 < >
103105 < Meta
@@ -112,7 +114,13 @@ export default function Person ({person}) {
112114 < div id = "person" className = "category" style = { { textAlign : 'center' } } >
113115 < Image width = { 0 } height = { 0 } className = "ui circular image large-profile" alt = { `${ person . name } 's photo` } src = { person . photo } style = { { margin : 'auto' } } />
114116 < h1 > { person . name } </ h1 >
115- < p > { person . title } </ p >
117+ < p > { person . title || title } </ p >
118+ { person . university &&
119+ < p > { person . university } </ p >
120+ }
121+ { person . faculty &&
122+ < p > { person . faculty } </ p >
123+ }
116124 { person . keywords !== null && person . keywords !== undefined && //type.key === 'faculty' &&
117125 < div className = "ui large basic labels" >
118126 { person . keywords . map ( ( keyword ) => {
Original file line number Diff line number Diff line change 1+ name : Ahmed Abuzuraiq
2+ type : phd
3+ program : visiting
4+ university : Simon Fraser University (SFU)
5+ faculty : School of Interactive Arts and Technology (SIAT)
6+ url : https://abuzreq.com
7+ linkedin : https://www.linkedin.com/in/abuzreq
8+ scholar : https://scholar.google.com/citations?user=QIbBYvAAAAAJ
9+ github : https://github.com/abuzreq
10+ keywords :
11+ - Creativity Support
12+ - Generative AI
13+ - Data Visualization
Original file line number Diff line number Diff line change @@ -47,11 +47,12 @@ function programStringFromProgram(program) {
4747 switch ( program ) {
4848 case 'cs' : return 'CS '
4949 case 'cmd' : return 'CMD '
50+ case 'visiting' : return 'Visiting '
5051 }
5152 return ''
5253}
5354
54- function getTitle ( person ) {
55+ export function getTitle ( person ) {
5556 let title = typeStringFromType ( person . type )
5657
5758 if ( person . program ) {
You can’t perform that action at this time.
0 commit comments