Browse Source
Point old site banner at Beta docs (#5134)
* Point old site banner at Beta docs
* lint
main
dan
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
8 deletions
-
src/components/SocialBanner/SocialBanner.js
|
|
@ -10,13 +10,13 @@ import React from 'react'; |
|
|
|
import {colors, media} from 'theme'; |
|
|
|
|
|
|
|
const linkProps = { |
|
|
|
href: 'https://opensource.fb.com/support-ukraine', |
|
|
|
href: 'https://beta.reactjs.org', |
|
|
|
target: '_blank', |
|
|
|
rel: 'noopener', |
|
|
|
}; |
|
|
|
|
|
|
|
const bannerText = 'Support Ukraine 🇺🇦 '; |
|
|
|
const bannerLink = 'Help Provide Humanitarian Aid to Ukraine.'; |
|
|
|
const bannerText = 'Try out a preview of the new React Docs'; |
|
|
|
const bannerLink = '👉 beta.reactjs.org'; |
|
|
|
|
|
|
|
export default function SocialBanner() { |
|
|
|
return ( |
|
|
@ -58,11 +58,7 @@ export default function SocialBanner() { |
|
|
|
|
|
|
|
<a |
|
|
|
css={{ |
|
|
|
color: '#ddd', |
|
|
|
transition: 'color 200ms ease-out', |
|
|
|
':hover': { |
|
|
|
color: colors.white, |
|
|
|
}, |
|
|
|
color: colors.brand, |
|
|
|
}} |
|
|
|
{...linkProps} |
|
|
|
target="_blank" |
|
|
|