Add Support Ukraine banner

Summary:
Inspired by https://github.com/facebook/react-native-website/pull/2988

Changelog: Add Support Ukraine banner to website

Reviewed By: antonk52, aigoncharov

Differential Revision: D34627820

fbshipit-source-id: 61f69984451c504eca9a6f5e55f30d968344129e
This commit is contained in:
Pascal Hartig
2022-03-04 03:25:42 -08:00
committed by Facebook GitHub Bot
parent 6c74f2dd18
commit 07ee7fa706

View File

@@ -28,6 +28,13 @@ const siteConfig = {
projectName: 'flipper', projectName: 'flipper',
// TODO: T69061026 enable once sandy docs are complete: external_domain: 'fbflipper.com', // TODO: T69061026 enable once sandy docs are complete: external_domain: 'fbflipper.com',
themeConfig: { themeConfig: {
announcementBar: {
id: 'support_ukraine',
content:
'Support Ukraine 🇺🇦 <a target="_blank" rel="noopener noreferrer" href="https://opensource.facebook.com/support-ukraine"> Help Provide Humanitarian Aid to Ukraine</a>.',
backgroundColor: '#fff',
textColor: 'rgb(28, 30, 33)',
},
navbar: { navbar: {
title: fbContent({ title: fbContent({
internal: 'Flipper @FB', internal: 'Flipper @FB',