From 962b6f22c5210b584c2f4c835e3f101ba010ceb3 Mon Sep 17 00:00:00 2001 From: slorber Date: Tue, 28 Jul 2020 18:42:35 +0200 Subject: [PATCH 1/2] add myself to /team page + add TeamProfileCard component --- website/docs/community/team.md | 189 +++++------------- .../src/components/TeamProfileCard/index.js | 43 ++++ 2 files changed, 89 insertions(+), 143 deletions(-) create mode 100644 website/src/components/TeamProfileCard/index.js diff --git a/website/docs/community/team.md b/website/docs/community/team.md index 0b5c4d92c7d8..ebd82e8264ff 100644 --- a/website/docs/community/team.md +++ b/website/docs/community/team.md @@ -4,157 +4,60 @@ title: Team slug: /team --- +import TeamProfileCard from "@site/src/components/TeamProfileCard" + ## Active Team
-
-
-
-
- -
-

Alexey Pyltsyn

-
-
-
-
- Obsessed open-source enthusiast πŸ‘‹ Eternal amateur at everything πŸ€·β€β™‚οΈ Maintainer of Russian docs on PHP, React, Kubernetes and much more 🧐 -
-
-
- GitHub -
-
-
-
-
-
-
-
- -
-

Fanny Vieira

-
-
-
-
- Fanny got started with web development in high school, building a project for the school kitchen. In her free time she loves contributing to Open Source, occasionally writing on her blog about her experiences, cooking, and creating Spotify playlists. -
-
-
- GitHub - Twitter -
-
-
-
-
-
-
-
- -
-

Joel Marcey

-
-
-
-
- Docusaurus founder and now ever grateful Docusaurus cheerleader to those who actually write code for it. -
-
-
- GitHub - Twitter -
-
-
-
-
-
-
-
- -
-

Yangshun Tay

-
-
-
-
- Full Front End Stack developer who likes working on the Jamstack. Working on Docusaurus made him Facebook's unofficial part-time Open Source webmaster, which is an awesome role to be in. -
-
-
- GitHub - Twitter -
-
-
-
+ + Obsessed open-source enthusiast πŸ‘‹ Eternal amateur at everything πŸ€·β€β™‚οΈ Maintainer of Russian docs on PHP, React, Kubernetes and much more 🧐 + + + Fanny got started with web development in high school, building a project for the school kitchen. In her free time she loves contributing to Open Source, occasionally writing on her blog about her experiences, cooking, and creating Spotify playlists. + + + Docusaurus founder and now ever grateful Docusaurus cheerleader to those who actually write code for it. + + + React lover since 2014. Freelance, helping Facebook ship Docusaurus v2. + + + Full Front End Stack developer who likes working on the Jamstack. Working on Docusaurus made him Facebook's unofficial part-time Open Source webmaster, which is an awesome role to be in. +
## Honorary Alumni
-
-
-
-
- -
-

Endilie Yacop Sucipto

-
-
-
-
- Maintainer @docusaurus Β· πŸ”₯πŸ”₯πŸ”₯ -
-
-
- GitHub - Twitter -
-
-
-
-
-
-
-
- -
-

Wei Gao

-
-
-
-
- πŸ‘©πŸ»β€πŸŒΎ Work in progress React developer, maintains Docusaurus, writes docs and spams this world with many websites. -
-
-
- GitHub - Twitter -
-
-
-
+ + Maintainer @docusaurus Β· πŸ”₯πŸ”₯πŸ”₯ + + + πŸ»β€πŸŒΎ Work in progress React developer, maintains Docusaurus, writes docs and spams this world with many websites. +
## Acknowledgements diff --git a/website/src/components/TeamProfileCard/index.js b/website/src/components/TeamProfileCard/index.js new file mode 100644 index 000000000000..de2fc13b44a7 --- /dev/null +++ b/website/src/components/TeamProfileCard/index.js @@ -0,0 +1,43 @@ +/** + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +import React from 'react'; + +export default function TeamProfile({name, children, githubUrl, twitterUrl}) { + return ( +
+
+
+
+ +
+

{name}

+
+
+
+
{children}
+
+
+ {githubUrl && ( + + GitHub + + )} + {twitterUrl && ( + + Twitter + + )} +
+
+
+
+ ); +} From 29295a9c477d9e535ec9712594488cde261b8c77 Mon Sep 17 00:00:00 2001 From: slorber Date: Tue, 28 Jul 2020 19:58:26 +0200 Subject: [PATCH 2/2] apply col classes from parent to make TeamProfileCard more reusable --- website/docs/community/team.md | 30 ++++++++++--------- .../src/components/TeamProfileCard/index.js | 10 +++++-- 2 files changed, 24 insertions(+), 16 deletions(-) diff --git a/website/docs/community/team.md b/website/docs/community/team.md index ebd82e8264ff..fb149dd1d903 100644 --- a/website/docs/community/team.md +++ b/website/docs/community/team.md @@ -6,58 +6,60 @@ slug: /team import TeamProfileCard from "@site/src/components/TeamProfileCard" +export function TeamProfileCardCol(props) { return } + ## Active Team
- Obsessed open-source enthusiast πŸ‘‹ Eternal amateur at everything πŸ€·β€β™‚οΈ Maintainer of Russian docs on PHP, React, Kubernetes and much more 🧐 - - + Fanny got started with web development in high school, building a project for the school kitchen. In her free time she loves contributing to Open Source, occasionally writing on her blog about her experiences, cooking, and creating Spotify playlists. - - + Docusaurus founder and now ever grateful Docusaurus cheerleader to those who actually write code for it. - - + React lover since 2014. Freelance, helping Facebook ship Docusaurus v2. - - + Full Front End Stack developer who likes working on the Jamstack. Working on Docusaurus made him Facebook's unofficial part-time Open Source webmaster, which is an awesome role to be in. - +
## Honorary Alumni
- + Maintainer @docusaurus Β· πŸ”₯πŸ”₯πŸ”₯ - - + πŸ»β€πŸŒΎ Work in progress React developer, maintains Docusaurus, writes docs and spams this world with many websites. - +
## Acknowledgements diff --git a/website/src/components/TeamProfileCard/index.js b/website/src/components/TeamProfileCard/index.js index de2fc13b44a7..d9f80a8468ed 100644 --- a/website/src/components/TeamProfileCard/index.js +++ b/website/src/components/TeamProfileCard/index.js @@ -7,9 +7,15 @@ import React from 'react'; -export default function TeamProfile({name, children, githubUrl, twitterUrl}) { +export default function TeamProfileCard({ + className, + name, + children, + githubUrl, + twitterUrl, +}) { return ( -
+