summary refs log tree commit diff
path: root/app/about/page.tsx
blob: 82d4864ff29871cb215f765d8fe48ec27068336d (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
import system from '~/config/system.json'

import styles from '~/styles/about.module.css'

interface Member {
  name: string,
  mainPronouns: string,
  avatarUrl: 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}>
              <img src={member.avatarUrl} />
              <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>
    </>
  )
}