-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Jared Palmer <jared@jaredpalmer.com>
- Loading branch information
1 parent
eaffb71
commit ee1aa64
Showing
54 changed files
with
600 additions
and
4,046 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 ( | ||
<div className="grid gap-4 py-8 sm:grid-cols-2 md:grid-cols-4 border-b border-gray-400 border-opacity-20"> | ||
{authors.map((username) => | ||
!!team[username] ? ( | ||
<Avatar key={username} {...team[username]} /> | ||
) : ( | ||
console.warning("no author found for", username) || null | ||
) | ||
)} | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
ee1aa64
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs: