Skip to content

Commit b7abf4b

Browse files
Add Ahmed Abuzuraiq and support visiting researchers (#202)
1 parent 83d9919 commit b7abf4b

4 files changed

Lines changed: 24 additions & 2 deletions

File tree

components/person.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import Publications from '../pages/publications'
1616
import Theses from '../pages/theses'
1717
import Projects from '../pages/projects'
1818
import {getLabPictures, getLabPicture} from './labs'
19+
import {getTitle} from '../pages/people'
1920

2021
import files from '../content/output/files.json'
2122
import { 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) => {
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
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

pages/people.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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) {
160 KB
Loading

0 commit comments

Comments
 (0)