From f9a75bf672b8300ea8028b141249c46509bbe4c5 Mon Sep 17 00:00:00 2001 From: Ashelyn Rose Date: Sat, 4 Nov 2023 14:22:15 -0600 Subject: Add corona, adjust styles --- app/about/[name]/page.tsx | 10 +++++----- app/about/page.tsx | 51 +++++++++++++++++++++++++++++++++++++++-------- app/page.tsx | 2 +- 3 files changed, 49 insertions(+), 14 deletions(-) (limited to 'app') diff --git a/app/about/[name]/page.tsx b/app/about/[name]/page.tsx index 411a2f0..afdbe29 100644 --- a/app/about/[name]/page.tsx +++ b/app/about/[name]/page.tsx @@ -1,3 +1,4 @@ +import { Fragment } from "react"; import Markdown from "markdown-to-jsx"; import { notFound } from "next/navigation"; @@ -20,16 +21,15 @@ export default function MemberPage({ params: { name } }) { <>
-

{member.bioShort}

- {member.bioContinued} + {member.bioShort} + {member.bioContinued} {member.bioFields?.length && ( -
{member.bioFields.map(({ name, value }) => ( - <> + {name} {value} - + ))}
)} diff --git a/app/about/page.tsx b/app/about/page.tsx index 970d76f..863bea9 100644 --- a/app/about/page.tsx +++ b/app/about/page.tsx @@ -6,6 +6,7 @@ import profilePics from '~/utils/profiles' export interface Member { name: string, + featured: boolean, mainPronouns: string, color: string, bioShort: string, @@ -13,35 +14,69 @@ export interface Member { } export default function About() { + const members = system.members as Member[] + const featuredMembers : Member[] = members.filter(({featured}) => featured) + const nonfeaturedMembers : Member[] = members.filter(({featured}) => !featured) + return ( <>

About Us

- {system.members.map((member: Member) => { + {featuredMembers.map((member: Member) => { const style = { "--member-color": member.color } as React.CSSProperties return (
- +

{member.name}

{member.mainPronouns}

{member.bioShort}

-

{member.readMore}

+

+ {member.readMore} +

) })} -
+

- 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 + Generally the above three members are who interact with others + throughout our day to day. They handle our work, our social relationships, + and our broader plans for life. In addition, our system has another + internally-focused member who you will likely not meet unless you seek it out:

+ {nonfeaturedMembers.map((member: Member) => { + const style = { "--member-color": member.color } as React.CSSProperties + return ( +
+ +

{member.name}

+

{member.mainPronouns}

+

+ {member.bioShort} +

+

+ {member.readMore} +

+
+ ) + })} +

For avatar sources, see here

+ ) } diff --git a/app/page.tsx b/app/page.tsx index 9209518..eeb99af 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -7,7 +7,7 @@ export default function Index() {

Hi, we're tempest! And we also go by ashe. We're a median plural - system of three members, but most of the time you'll probably see us + system of four members, but most of the time you'll probably see us operating as one

-- cgit 1.4.1