diff --git a/src/components/LayoutHeader/Header.js b/src/components/LayoutHeader/Header.js index 29ee3369..35e6c55c 100644 --- a/src/components/LayoutHeader/Header.js +++ b/src/components/LayoutHeader/Header.js @@ -10,9 +10,9 @@ import HeaderLink from './HeaderLink'; import Link from 'gatsby-link'; import React from 'react'; import {colors, fonts, media} from 'theme'; +import {version} from 'site-constants'; import ExternalLinkSvg from 'templates/components/ExternalLinkSvg'; import DocSearch from './DocSearch'; -import VersionToggler from './VersionToggler'; import logoSvg from 'icons/logo.svg'; @@ -146,7 +146,25 @@ const Header = ({location}: {location: Location}) => ( width: 'calc(100% / 6)', }, }}> - + + v{version} + ( + +
+
+
React Versions
+ +
+

+ A complete release history for React is available{' '} + + in GitHub + . +

+

Documentation for recent releases can also be accessed below:

+ +
+
+
+ +); + +export default Versions;