diff --git a/static-site/app/contact/page.tsx b/static-site/app/contact/page.tsx index 972e0dc67..e251dcba7 100644 --- a/static-site/app/contact/page.tsx +++ b/static-site/app/contact/page.tsx @@ -2,7 +2,7 @@ import { ReactElement } from "react"; import { BigSpacer } from "../../components/spacers"; import FlexCenter from "../../components/flex-center"; -import FocusParagraphNarrow from "../../components/focus-paragraph"; +import { FocusParagraphNarrow } from "../../components/focus-paragraph"; export default function ContactPage(): ReactElement { return ( diff --git a/static-site/app/team/page.tsx b/static-site/app/team/page.tsx new file mode 100644 index 000000000..43c07cf23 --- /dev/null +++ b/static-site/app/team/page.tsx @@ -0,0 +1,53 @@ +// import { BigSpacer, FlexCenter} from "../layouts/generalComponents"; +// import { CenteredFocusParagraph } from "../components/splash/styles"; +// import { TeamPageList } from "../components/People/avatars"; + +import { ReactElement } from "react"; + +import FlexCenter from "../../components/flex-center"; +import { FocusParagraphCentered } from "../../components/focus-paragraph"; +import { BigSpacer } from "../../components/spacers"; +import { TeamPageList } from "../../components/people/avatars"; + +import styles from "./styles.module.css"; + +export default function TeamPage(): ReactElement { + return ( +
{children}
; + return{children}
; +} + +export function FocusParagraphNarrow({ + children, +}: { + children: ReactNode; +}): ReactElement { + return{children}
; } diff --git a/static-site/components/focus-paragraph/styles.module.css b/static-site/components/focus-paragraph/styles.module.css index d7cbd048a..6cfda11c8 100644 --- a/static-site/components/focus-paragraph/styles.module.css +++ b/static-site/components/focus-paragraph/styles.module.css @@ -1,8 +1,22 @@ +/* this is the basic style for all FocusParagraph */ .focus { font-size: var(--niceFontSize); font-weight: 300; line-height: var(--tightLineHight); - margin: 20px 0px 0px; max-width: 640px; +} + +/* this is specifically *added* to the base style for FocusParagraphCentered */ +.centered { + margin: 20px 0 0; + text-align: center; +} +.centered > strong { + font-weight: 500; +} + +/* this is specifically *added* to the base style for FocusParagraphNarrow */ +.narrow { + margin: 20px 0px 0px; text-align: left; } diff --git a/static-site/components/people/avatars.module.css b/static-site/components/people/avatars.module.css index 5105289a7..51553604b 100644 --- a/static-site/components/people/avatars.module.css +++ b/static-site/components/people/avatars.module.css @@ -1,30 +1,71 @@ -.commonWrapper { - & a { - font-weight: 500 !important; - color: #333 !important; - } - & img { - margin-left: 5px; - border-radius: 50%; - vertical-align: middle; - } +.commonWrapper a { + color: #333 !important; + font-weight: 500 !important; +} +.commonWrapper img { + border-radius: 50%; + margin-left: 5px; + vertical-align: middle; } .footerWrapper { display: flex; flex-wrap: wrap; justify-content: center; +} +.footerWrapper a { + color: #333 !important; + font-weight: 500 !important; +} +.footerWrapper img { + border-radius: 50%; + height: 32px; + margin-left: 5px; + margin-right: 8px; + vertical-align: middle; + width: 32px; +} + +.teamPageWrapper { + display: grid; + font-size: 18px; + justify-content: center; + grid-template-columns: minmax(min-content, 500px); + padding: 20px 0px; - & a { - font-weight: 500 !important; - color: #333 !important; - } - & img { - border-radius: 50%; - height: 32px; - margin-left: 5px; - margin-right: 8px; - vertical-align: middle; - width: 32px; + /* Bootstrap's .container applies 25px left and right margins. Account for */ + /* that when computing the minimum width to support two 333px columns. */ + @media (min-width: calc(333px*2 + 25px*2)) { + grid-template-columns: repeat(auto-fit, 333px); } } +.teamPageWrapper a { + color: var(--darkGrey); +} +.teamPageWrapper img { + border-radius: 50%; + height: 60px; + margin-left: 5px; + margin-right: 20px; + vertical-align: middle; + width: 60px; +} + +.sideways { + display: flex; + flex-wrap: nowrap; + justify-content: flex-start; + padding: 10px 15px; +} + +.updown { + display: flex; + flex-direction: column; + flex-wrap: nowrap; + justify-content: flex-start; +} + +.blurb { + font-size: 14px; + text-align: left; +} diff --git a/static-site/components/people/avatars.tsx b/static-site/components/people/avatars.tsx index 563e06c36..a63c45da1 100644 --- a/static-site/components/people/avatars.tsx +++ b/static-site/components/people/avatars.tsx @@ -1,6 +1,6 @@ import { ReactElement, ReactNode } from "react"; -import styles from "./avatars.module.scss"; +import styles from "./avatars.module.css"; import { TeamMember, teamMembers } from "./teamMembers"; export function FooterTeamList(): ReactElement { @@ -26,6 +26,47 @@ export function FooterTeamList(): ReactElement { ); } +export function TeamPageList({ + membersKey, +}: { + membersKey: string; +}): ReactElement { + const people: TeamMember[] = teamMembers[membersKey]; + + return ( +