Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Commit

Permalink
Adding social banner (#1257)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitryvinn authored Mar 4, 2022
1 parent c0cdb60 commit 3697152
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
15 changes: 15 additions & 0 deletions website/pages/en/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,20 @@ function VideoContainer() {
);
}

function SocialBanner() {
return (
<div className="SocialBanner">
<div>
Support Ukraine 🇺🇦{' '}
<a href="https://opensource.facebook.com/support-ukraine">
Help Provide Humanitarian Aid to Ukraine
</a>
.
</div>
</div>
);
}

class Index extends React.Component {
render() {
let language = this.props.language || "en";
Expand All @@ -113,6 +127,7 @@ class Index extends React.Component {

return (
<div>
<SocialBanner />
<HomeSplash language={language} />
<div className="mainContainer">
<div className="descriptionSection paddingTop lightBackground" style={{ textAlign: "left" }} id="fast-download">
Expand Down
9 changes: 9 additions & 0 deletions website/static/fasttext.css
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,13 @@ div.descriptionSection {
margin-top: 7%;
}

/* Social Banner */
.SocialBanner {
font-weight: bold;
font-size: 20px;
padding: 20px;
max-width: 768px;
margin: 0 auto;
text-align: center;
}

0 comments on commit 3697152

Please sign in to comment.