From 0c7e92d40eef4770a174136a71c6396b1ec57383 Mon Sep 17 00:00:00 2001 From: Sunny Zanchi Date: Fri, 14 Jun 2024 12:52:46 -0400 Subject: [PATCH] add EOL banner --- src/images/bannerBackground.svg | 186 ++++++++++++++++++++++++++++++++ src/layouts/MainLayout.js | 70 ++++++++++++ 2 files changed, 256 insertions(+) create mode 100644 src/images/bannerBackground.svg diff --git a/src/images/bannerBackground.svg b/src/images/bannerBackground.svg new file mode 100644 index 000000000..145181aa3 --- /dev/null +++ b/src/images/bannerBackground.svg @@ -0,0 +1,186 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/layouts/MainLayout.js b/src/layouts/MainLayout.js index db7f8320a..86796c8e5 100644 --- a/src/layouts/MainLayout.js +++ b/src/layouts/MainLayout.js @@ -13,6 +13,8 @@ import { } from '@newrelic/gatsby-theme-newrelic'; import { Link } from 'gatsby'; import { useLocation } from '@reach/router'; + +import bannerBackground from '../images/bannerBackground.svg'; import pages from '../data/nav.yml'; import useSDK from '../hooks/useSDK'; import { SdkContext } from '../components/SdkContext'; @@ -39,6 +41,74 @@ const MainLayout = ({ children, pageContext }) => { ))} +
+
+

+ Now that we've migrated this site's content to{' '} + docs.newrelic.com, we're + EOLing this site on June 21st 2024. +

+