mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-26 18:58:17 +00:00
Reuse banner on 17.* to point to latest docs
This commit is contained in:
@@ -10,13 +10,13 @@ import React from 'react';
|
||||
import {colors, media} from 'theme';
|
||||
|
||||
const linkProps = {
|
||||
href: 'https://opensource.fb.com/support-ukraine',
|
||||
href: 'https://reactjs.org',
|
||||
target: '_blank',
|
||||
rel: 'noopener',
|
||||
};
|
||||
|
||||
const bannerText = 'Support Ukraine 🇺🇦 ';
|
||||
const bannerLink = 'Help Provide Humanitarian Aid to Ukraine.';
|
||||
const bannerText = 'This documentation is for React 17.';
|
||||
const bannerLink = 'Go to the latest docs.';
|
||||
|
||||
export default function SocialBanner() {
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user