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

Commit 3697152

Browse files
authored
Adding social banner (#1257)
1 parent c0cdb60 commit 3697152

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

website/pages/en/index.js

+15
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,20 @@ function VideoContainer() {
9494
);
9595
}
9696

97+
function SocialBanner() {
98+
return (
99+
<div className="SocialBanner">
100+
<div>
101+
Support Ukraine 🇺🇦{' '}
102+
<a href="https://opensource.facebook.com/support-ukraine">
103+
Help Provide Humanitarian Aid to Ukraine
104+
</a>
105+
.
106+
</div>
107+
</div>
108+
);
109+
}
110+
97111
class Index extends React.Component {
98112
render() {
99113
let language = this.props.language || "en";
@@ -113,6 +127,7 @@ class Index extends React.Component {
113127

114128
return (
115129
<div>
130+
<SocialBanner />
116131
<HomeSplash language={language} />
117132
<div className="mainContainer">
118133
<div className="descriptionSection paddingTop lightBackground" style={{ textAlign: "left" }} id="fast-download">

website/static/fasttext.css

+9
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,13 @@ div.descriptionSection {
4545
margin-top: 7%;
4646
}
4747

48+
/* Social Banner */
49+
.SocialBanner {
50+
font-weight: bold;
51+
font-size: 20px;
52+
padding: 20px;
53+
max-width: 768px;
54+
margin: 0 auto;
55+
text-align: center;
56+
}
4857

0 commit comments

Comments
 (0)