diff --git a/website/data/alert-banner.js b/website/data/alert-banner.js index 6fe988794..c62c18169 100644 --- a/website/data/alert-banner.js +++ b/website/data/alert-banner.js @@ -1,13 +1,13 @@ -export const ALERT_BANNER_ACTIVE = false +export const ALERT_BANNER_ACTIVE = true // https://github.com/hashicorp/web-components/tree/master/packages/alert-banner export default { - tag: 'Blog post', - url: 'https://www.hashicorp.com/blog/a-new-chapter-for-hashicorp', + tag: 'New', + url: 'https://cloud.hashicorp.com/products/packer ', text: - 'HashiCorp shares have begun trading on the Nasdaq. Read the blog from our founders, Mitchell Hashimoto and Armon Dadgar.', - linkText: 'Read the post', + 'HCP Packer offers automation and security workflows for Packer, and is now generally available.', + linkText: 'Sign up for free', // Set the expirationDate prop with a datetime string (e.g. '2020-01-31T12:00:00-07:00') // if you'd like the component to stop showing at or after a certain date - expirationDate: '2021-12-17T23:00:00-07:00', + // expirationDate: '2021-12-17T23:00:00-07:00', } diff --git a/website/pages/_app.js b/website/pages/_app.js index 66a707124..a497ea13f 100644 --- a/website/pages/_app.js +++ b/website/pages/_app.js @@ -22,6 +22,7 @@ const { ConsentManager, openConsentManager } = createConsentManager({ }) export default function App({ Component, pageProps }) { + console.log('ALERT_BANNER_ACTIVE', ALERT_BANNER_ACTIVE, alertBannerData) useFathomAnalytics() useAnchorLinkAnalytics()