From c74fad179379260dcf46edeae22c1f04ee842508 Mon Sep 17 00:00:00 2001 From: Ashelyn Rose Date: Sat, 2 Dec 2023 16:29:03 -0700 Subject: Manual static image optimization --- app/about/page.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'app/about/page.tsx') 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} />

{member.name}

{member.mainPronouns}

@@ -61,7 +61,7 @@ export default function About() { alt="" width={80} height={80} - src={profilePics[member.name.toLowerCase()]} + src={member.profileImg} />

{member.name}

{member.mainPronouns}

-- cgit 1.4.1