-
Add the portrait to
src/images/people/. Without a portrait, leaveimageout (or useplaceholder.png) and the card shows the placeholder. -
Open
src/data/site/people.js. -
Add an entry to the list:
{ name: '', image: 'file_name.png', // file name inside src/images/people position: 'PhD Student', status: 'current', // 'current' or 'alumni'; it selects the tab on /people/ url: 'https://...', // optional profile page; the name on /people/ links to it },
-
The group a person appears in on
/people/is derived frompositionbygroupKeyFor()insrc/components/cards.js: positions mentioning "graduate" (but not "undergraduate") or "PhD" go to Graduate Students,Undergraduate StudentandHigh School Studentto their own groups, "Director" or "Principal Investigator" to Principal Investigator, "Researcher" (but not "Postdoctoral") or "Research Scientist" to Researchers, and everything else to Staff & Postdocs. Within a group, people are sorted byPOSITION_ORDERin the same file, then by name. -
Run
npm test(it checks the status and that the portrait exists), then follow the build and deployment instructions in README.md.