diff --git a/src/components/quickstarts/BetaBanner.js b/src/components/quickstarts/BetaBanner.js new file mode 100644 index 000000000..a09a3c96b --- /dev/null +++ b/src/components/quickstarts/BetaBanner.js @@ -0,0 +1,20 @@ +import React from 'react'; +import { css } from '@emotion/react'; +import { Callout } from '@newrelic/gatsby-theme-newrelic'; + +const BetaBanner = () => ( + + The New Relic I/O beta is currently available to all users, and will require + a full user license for future usage. Note that New Relic's free forever + tier comes with 1 free full user. + +); + +export default BetaBanner; diff --git a/src/pages/instant-observability.js b/src/pages/instant-observability.js index 3defb1bae..366628e4c 100644 --- a/src/pages/instant-observability.js +++ b/src/pages/instant-observability.js @@ -9,6 +9,7 @@ import PackTile from '../components/PackTile'; import IOBanner from '../components/IOBanner'; import IOLogo from '../components/IOLogo'; import Select from '../components/Select'; +import BetaBanner from '../components/quickstarts/BetaBanner'; import { SearchInput, useTessen, @@ -16,7 +17,6 @@ import { Button, Icon, Link, - Callout, } from '@newrelic/gatsby-theme-newrelic'; import { navigate } from '@reach/router'; @@ -39,21 +39,6 @@ const VIEWS = { LIST: 'List view', }; -const betaBanner = () => ( - - The New Relic I/O beta is currently available to all users, and will require - a full user license for future usage. Note that New Relic's free forever - tier comes with 1 free full user. - -); - /** * Determines if one string is a substring of the other, case insensitive * @param {String} substring the substring to test against @@ -246,7 +231,7 @@ const QuickstartsPage = ({ data, location }) => { `} > {isMobile && } -
{isMobile && betaBanner()}
+
{isMobile && }
{ `} > {!isMobile && } -
{!isMobile && betaBanner()}
+
{!isMobile && }
{ const quickstart = data.quickstarts; @@ -88,6 +89,7 @@ const QuickstartDetails = ({ data, location }) => { meta={quickStartMeta} /> +