Meet the team sub-issue 2,3,4 #592

Merged
a258wang merged 1 commits from richard/meet-the-team into main 2023-07-28 14:27:08 -04:00
3 changed files with 1 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.3 MiB

After

Width:  |  Height:  |  Size: 1.9 MiB

View File

@ -182,7 +182,7 @@ async function getImage(imgPath: string) {
}
export async function getMemberImagePath(name: string) {
const imgPath = path.join("images", "team", name.replace(" ", ""));
const imgPath = path.join("images", "team", name.replace(/\s/g, ""));
const placeholder = path.join(
"images",
"team",