Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added public/images/team/gh-aurorascharff.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/team/gh-brentvatne.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/team/gh-captbaritone.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/team/gh-cipolleschi.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/team/gh-cortinico.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/team/gh-fbmal7.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/team/gh-fkgozali.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/team/gh-huntie.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/team/gh-javache.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/team/gh-khalef1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/team/gh-kmagiera.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/team/gh-motiz88.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/team/gh-rh389.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/team/gh-rubennorte.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/team/gh-samselikoff.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/team/gh-simek.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/team/gh-stmoy.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/team/gh-thymikee.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/team/gh-vzaidman.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/team/jimmy-lai.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
46 changes: 41 additions & 5 deletions src/components/MDX/TeamMember.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,49 @@ interface TeamMemberProps {
name: string;
title: string;
permalink: string;
children: React.ReactNode;
children?: React.ReactNode;
photo: string;
twitter?: string;
threads?: string;
bsky?: string;
github?: string;
personal?: string;
// Comma-separated list of working groups. Suffix a group with `*` to mark
// that the member represents it on the Leadership Council, e.g. "Fiber*, DOM".
group?: string;
}

function GroupBadges({group}: {group: string}) {
const groups = group
.split(',')
.map((g) => g.trim())
.filter(Boolean);
if (groups.length === 0) {
return null;
}
return (
<div className="flex flex-row flex-wrap gap-2 my-3">
{groups.map((g) => {
const isLead = g.endsWith('*');
const label = isLead ? g.slice(0, -1).trim() : g;
return (
<span
key={g}
className="inline-flex items-center rounded-full bg-blue-10 dark:bg-gray-80 text-link dark:text-link-dark px-3 py-1 text-sm font-medium whitespace-nowrap">
{label}
{isLead && (
<span
className="ps-1 text-yellow-50"
aria-label="Leadership Council"
title="Leadership Council">
</span>
)}
</span>
);
})}
</div>
);
}

// TODO: good alt text for images/links
Expand All @@ -44,12 +80,11 @@ export function TeamMember({
threads,
bsky,
personal,
group,
}: TeamMemberProps) {
if (name == null || title == null || permalink == null || children == null) {
if (name == null || title == null || permalink == null) {
const identifier = name ?? title ?? permalink ?? 'unknown';
throw new Error(
`Expected name, title, permalink, and children for ${identifier}`
);
throw new Error(`Expected name, title, and permalink for ${identifier}`);
}
return (
<div className="pb-6 sm:pb-10">
Expand All @@ -69,6 +104,7 @@ export function TeamMember({
{name}
</H3>
{title && <div>{title}</div>}
{group && <GroupBadges group={group} />}
{children}
<div className="sm:flex sm:flex-row flex-wrap text-secondary dark:text-secondary-dark">
{twitter && (
Expand Down
130 changes: 87 additions & 43 deletions src/content/community/team.md

Large diffs are not rendered by default.

Loading