This repository was archived by the owner on Jan 1, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +38
-1
lines changed Expand file tree Collapse file tree 2 files changed +38
-1
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,20 @@ class HomeSplash extends React.Component {
74
74
}
75
75
}
76
76
77
+ function SocialBanner ( ) {
78
+ return (
79
+ < div className = "SocialBannerWrapper" >
80
+ < div className = "SocialBanner" >
81
+ Support Ukraine 🇺🇦{ ' ' }
82
+ < a href = "https://opensource.fb.com/support-ukraine" >
83
+ Help Provide Humanitarian Aid to Ukraine
84
+ </ a >
85
+ .
86
+ </ div >
87
+ </ div >
88
+ ) ;
89
+ }
90
+
77
91
class Index extends React . Component {
78
92
render ( ) {
79
93
const { config : siteConfig , language = '' } = this . props ;
@@ -227,6 +241,7 @@ class Index extends React.Component {
227
241
228
242
return (
229
243
< div >
244
+ < SocialBanner />
230
245
< HomeSplash siteConfig = { siteConfig } language = { language } />
231
246
< div className = "mainContainer" >
232
247
< FeatureCallout />
Original file line number Diff line number Diff line change 90
90
91
91
a {
92
92
color : # 3eb0f7 ;
93
- }
93
+ }
94
+
95
+ /* Social Banner */
96
+
97
+ .SocialBannerWrapper {
98
+ padding : 0 0 ;
99
+ background-color : black;
100
+ }
101
+
102
+ .SocialBanner {
103
+ font-weight : bold;
104
+ font-size : 20px ;
105
+ padding : 20px ;
106
+ max-width : 768px ;
107
+ margin : 0 auto;
108
+ color : white;
109
+ text-align : center;
110
+ }
111
+
112
+ .SocialBanner a {
113
+ text-decoration : underline;
114
+ color : white;
115
+ }
You can’t perform that action at this time.
0 commit comments