Meet the team sub-issue 2,3,4 (#592)
continuous-integration/drone/push Build is passing Details

Co-authored-by: ricsign <ricsign123@gmail.com>
Reviewed-on: #592
Reviewed-by: Amy Wang <a258wang@csclub.uwaterloo.ca>
Co-authored-by: Richard Shuai <r2shuai@csclub.uwaterloo.ca>
Co-committed-by: Richard Shuai <r2shuai@csclub.uwaterloo.ca>
This commit is contained in:
Richard Shuai 2023-07-28 14:27:05 -04:00 committed by Amy Wang
parent e5a4ad1b23
commit 3537450395
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",