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: add Seven-innovation-base to showcase #7144

Merged
merged 8 commits into from
Apr 11, 2022
Merged

Conversation

redhat123456
Copy link
Contributor

Motivation

Have you read the Contributing Guidelines on pull requests?

Test Plan

Related PRs

@facebook-github-bot
Copy link
Contributor

Hi @redhat123456!

Thank you for your pull request and welcome to our community.

Action Required

In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks!

@redhat123456
Copy link
Contributor Author

改好了,请大佬过目 @Josh-Cena

@redhat123456
Copy link
Contributor Author

这机器人看起来还挺有趣的,能否介绍一下

@Josh-Cena
Copy link
Collaborator

Please remember to sign the CLA, or I can't merge :) All the other stuff I can take care of before merging

@Josh-Cena
Copy link
Collaborator

这机器人看起来还挺有趣的,能否介绍一下

The CLA bot? It's just connected to Facebook's CLA registry, and every time you send a PR, it checks if the registry has a record associated with your email.

@redhat123456
Copy link
Contributor Author

专业的回答

我也是搞数学的数学人,以后可以多多交流😁

@Josh-Cena Josh-Cena changed the title add 七院创新基地 blog docs: add Seven-innovation-base to showcase Apr 11, 2022
@Josh-Cena Josh-Cena added the pr: documentation This PR works on the website or other text documents in the repo. label Apr 11, 2022
@redhat123456
Copy link
Contributor Author

谢谢大佬,我就说刚刚怎么就报错了

@Josh-Cena
Copy link
Collaborator

Yeah, now it's just the CLA left. If you've signed it it should be updated within a few hours. We can just wait :)

@redhat123456
Copy link
Contributor Author

不知道怎么CLA签名 ( 😭

Copy link
Contributor Author

@redhat123456 redhat123456 left a comment

Choose a reason for hiding this comment

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

@Josh-Cena
Copy link
Collaborator

Select "individual" here: https://code.facebook.com/cla, provide your information, read the agreement, check the "I agree", and submit.

@netlify
Copy link

netlify bot commented Apr 11, 2022

[V2]

Built without sensitive environment variables

Name Link
🔨 Latest commit 9c80ea6
🔍 Latest deploy log https://app.netlify.com/sites/docusaurus-2/deploys/62538511c951a00008c14547
😎 Deploy Preview https://deploy-preview-7144--docusaurus-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@redhat123456
Copy link
Contributor Author

okok

@redhat123456
Copy link
Contributor Author

明白了

@github-actions
Copy link

⚡️ Lighthouse report for the changes in this PR:

Category Score
🟠 Performance 59
🟢 Accessibility 100
🟢 Best practices 92
🟢 SEO 100
🟢 PWA 90

Lighthouse ran on https://deploy-preview-7144--docusaurus-2.netlify.app/

@facebook-github-bot
Copy link
Contributor

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks!

@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Apr 11, 2022
Copy link
Collaborator

@Josh-Cena Josh-Cena left a comment

Choose a reason for hiding this comment

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

Great, thanks!

@Josh-Cena Josh-Cena merged commit 0abf4d7 into facebook:main Apr 11, 2022
@@ -25,7 +25,7 @@ await Promise.all(
new URL(`../../website/src/data/showcase/${img}`, import.meta.url),
);
const {width, height} = imageSize(imgPath);
if (width === 640 && height === 320) {
if (width === 640 && height === 320 && imgPath.endsWith('.png')) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

what's the purpose of this new condition?

Copy link
Collaborator

Choose a reason for hiding this comment

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

We normalize JPEG images to PNG, but if an image has 640×320 dimensions it will be ignored and stay as JPEG.

@Josh-Cena Josh-Cena added pr: showcase and removed pr: documentation This PR works on the website or other text documents in the repo. labels May 4, 2022
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: showcase
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants