diff --git a/docs/components/Authors.js b/docs/components/Authors.js new file mode 100644 index 0000000000000..ab2bddb82abe2 --- /dev/null +++ b/docs/components/Authors.js @@ -0,0 +1,38 @@ +import { Avatar } from "./Avatar"; + +const team = { + jaredpalmer: { + name: "Jared Palmer", + twitterUsername: "jaredpalmer", + picture: "/images/people/jaredpalmer_headshot.jpeg", + }, + gaspargarcia_: { + name: "Gaspar Garcia", + twitterUsername: "gaspargarcia_", + picture: "/images/people/gaspargarcia_.jpeg", + }, + becca__z: { + name: "Becca Z.", + twitterUsername: "becca__z", + picture: "/images/people/becca__z.jpeg", + }, + gsoltis: { + name: "Greg Soltis", + twitterUsername: "gsoltis", + picture: "/images/people/gsoltis.jpeg", + }, +}; + +export function Authors({ authors }) { + return ( +
+ {authors.map((username) => + !!team[username] ? ( + + ) : ( + console.warning("no author found for", username) || null + ) + )} +
+ ); +} diff --git a/docs/components/Footer.tsx b/docs/components/Footer.tsx index 31e9af2556a3d..90c551df7733c 100644 --- a/docs/components/Footer.tsx +++ b/docs/components/Footer.tsx @@ -70,20 +70,17 @@ const navigation = { export function Footer() { return ( -