summary refs log tree commit diff
path: root/app/about/page.tsx
blob: 57b9aa72c4d186e04007df35f9abd334bdd480b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
import Image from 'next/image'

import system from '~/config/system.json'
import styles from '~/styles/about.module.css'
import profilePics from '~/utils/profiles'

export interface Member {
  name: string,
  mainPronouns: string,
  color: string,
  bioShort: string,
  readMore: string,
}

export default function About() {
  return (
    <>
      <h1 className="pageTitle">
        About Us
      </h1>
      <main className={styles.container}>
        {system.members.map((member: Member) => {
          const style = { "--member-color": member.color } as React.CSSProperties
          return (
            <section className={styles.member} style={style}>
              <Image alt="" width={150} height={150} src={profilePics[member.name.toLowerCase()]} />
              <h2>{member.name}</h2>
              <p className={styles.pronouns}>{member.mainPronouns}</p>
              <p>
                {member.bioShort}
              </p>
              <p><a href={`/about/${member.name.toLowerCase()}`}>{member.readMore}</a></p>
            </section>
          )
        })}
      </main >
      <div className={styles.summary}>
        <p>
          Our system is composed of the above three members.  Generally you
          don't have to care who is most present at any given time, as we share
          memory and flow in and out of front pretty often, but we do appreciate
          when people notice us individually
        </p>
      </div>
    </>
  )
}