mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-12-17 21:00:38 +08:00
docs: add social banner in support of Ukraine (#1101)
Summary: Our mission at [Meta Open Source](https://opensource.facebook.com/) is to empower communities through open source, and we believe that it means building a welcoming and safe environment for all. As a part of this work, we are adding this banner in support for Ukraine during this crisis.  Pull Request resolved: https://github.com/facebookresearch/pytorch3d/pull/1101 Reviewed By: bottler Differential Revision: D34628257 Pulled By: dmitryvinn-fb fbshipit-source-id: 5863afb59a2b9431e8e2ebc5856254ab0cdfcfe8
This commit is contained in:
committed by
Facebook GitHub Bot
parent
69b27d160e
commit
16d0aa82c1
@@ -74,6 +74,20 @@ class HomeSplash extends React.Component {
|
||||
}
|
||||
}
|
||||
|
||||
function SocialBanner() {
|
||||
return (
|
||||
<div className="socialBanner">
|
||||
<div>
|
||||
Support Ukraine 🇺🇦{' '}
|
||||
<a href="https://opensource.fb.com/support-ukraine">
|
||||
Help Provide Humanitarian Aid to Ukraine
|
||||
</a>
|
||||
.
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
class Index extends React.Component {
|
||||
render() {
|
||||
const {config: siteConfig, language = ''} = this.props;
|
||||
@@ -212,6 +226,7 @@ loss_chamfer, _ = chamfer_distance(sample_sphere, sample_test)
|
||||
|
||||
return (
|
||||
<div>
|
||||
<SocialBanner />
|
||||
<HomeSplash siteConfig={siteConfig} language={language} />
|
||||
<div className="landingPage mainContainer">
|
||||
<Features />
|
||||
|
||||
Reference in New Issue
Block a user