Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(v2): add myself to /team page + add TeamProfileCard component #3145

Merged
merged 4 commits into from
Jul 28, 2020

Conversation

slorber
Copy link
Collaborator

@slorber slorber commented Jul 28, 2020

Motivation

I'm on the team now 🤪

@slorber slorber requested a review from yangshun as a code owner July 28, 2020 17:14
@slorber slorber added the pr: documentation This PR works on the website or other text documents in the repo. label Jul 28, 2020
@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Jul 28, 2020
Copy link
Contributor

@yangshun yangshun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Welcome to the team!


export default function TeamProfile({name, children, githubUrl, twitterUrl}) {
return (
<div className="col col--6 margin-bottom--lg">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the card shouldn't contain the col classes for better reusability. Col classes should remain in the parent class.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks, totally missed that but totally agree :)

Good related blog post: https://visly.app/blog/layout-isolated-components

@docusaurus-bot
Copy link
Contributor

docusaurus-bot commented Jul 28, 2020

Deploy preview for docusaurus-2 ready!

Built with commit 4e23551

https://deploy-preview-3145--docusaurus-2.netlify.app

@slorber slorber merged commit ee2d1b4 into master Jul 28, 2020
@yangshun yangshun deleted the slorber/add-to-team branch August 26, 2020 02:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Signed Facebook CLA pr: documentation This PR works on the website or other text documents in the repo.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants