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: Adding Social Banner in Support of Ukraine #12532

Merged
merged 1 commit into from Mar 2, 2022
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 9 additions & 0 deletions website/src/pages/index.js
Expand Up @@ -301,6 +301,15 @@ class Index extends React.Component {
{siteConfig.title} {siteConfig.titleDelimiter} {siteConfig.tagline}
</title>
</Head>
<Container background="light">
<div className={styles.banner}>
Support Ukraine 🇺🇦{' '}
<Link to="https://opensource.facebook.com/support-ukraine">
Help Provide Humanitarian Aid to Ukraine
</Link>
.
</div>
</Container>
<HeroInteractive config={siteConfig} />
<div className="mainContainerV1" style={{padding: 0}}>
<Container
Expand Down
11 changes: 11 additions & 0 deletions website/src/pages/index.module.css
Expand Up @@ -5,6 +5,17 @@
* LICENSE file in the root directory of this source tree.
*/

/* Social Banner */

.banner {
font-weight: bold;
font-size: 20px;
padding: 20px;
max-width: 768px;
margin: 0 auto;
text-align: center;
}

/* Twitter Follow Button */

.twitter-follow-button {
Expand Down