summary refs log tree commit diff
path: root/app/about/page.tsx
diff options
context:
space:
mode:
authorAshelyn Rose <git@tempest.dev>2023-12-02 16:29:03 -0700
committerAshelyn Rose <git@tempest.dev>2023-12-02 16:29:03 -0700
commitc74fad179379260dcf46edeae22c1f04ee842508 (patch)
tree6e5cce69c0b01227599933179cc7be2b230486a0 /app/about/page.tsx
parent11aed6e30f3050a1062e37149bba878d485d52a8 (diff)
Manual static image optimization
Diffstat (limited to 'app/about/page.tsx')
-rw-r--r--app/about/page.tsx8
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>