diff options
Diffstat (limited to 'app/about/page.tsx')
-rw-r--r-- | app/about/page.tsx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/about/page.tsx b/app/about/page.tsx index 863bea9..255f403 100644 --- a/app/about/page.tsx +++ b/app/about/page.tsx @@ -1,8 +1,7 @@ -import Image from 'next/image' +import Image from 'components/Image' import system from '~/config/system.json' import styles from '~/styles/about.module.css' -import profilePics from '~/utils/profiles' export interface Member { name: string, @@ -11,6 +10,7 @@ export interface Member { color: string, bioShort: string, readMore: string, + profileImg: string, } export default function About() { @@ -32,7 +32,7 @@ export default function About() { alt="" width={150} height={150} - src={profilePics[member.name.toLowerCase()]} + src={member.profileImg} /> <h2>{member.name}</h2> <p className={styles.pronouns}>{member.mainPronouns}</p> @@ -61,7 +61,7 @@ export default function About() { alt="" width={80} height={80} - src={profilePics[member.name.toLowerCase()]} + src={member.profileImg} /> <h2>{member.name}</h2> <p className={styles.pronouns}>{member.mainPronouns}</p> |