From 8784184cce1c480b91713a26d5cfd88585871787 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cyndira-flowforge=E2=80=9D?= <“yndira@flowforge.com”> Date: Fri, 17 Jan 2025 11:28:17 +0100 Subject: [PATCH] Add banner on docs pages And add UTM links --- src/_data/docs_banner.yaml | 14 +++++++------- src/_data/events.yaml | 2 +- src/_includes/components/docs-banner.njk | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/_data/docs_banner.yaml b/src/_data/docs_banner.yaml index 5ea1d8d593..185224b453 100644 --- a/src/_data/docs_banner.yaml +++ b/src/_data/docs_banner.yaml @@ -1,8 +1,8 @@ -- type: - title: "Take your Node-RED from Prototype to Production" - buttonText: "Learn more" - link: "/product/features/" - reference: "docs_banner-features_page" - expire: "2024-11-30T16:00:00Z" +- type: "New Whitepaper" + title: "UNS - Decoupling data producers and consumers" + buttonText: "Download now" + link: "https://eu1.hubs.ly/H0fY8Vl0" + reference: "docs_banner-whitepaper_uns" + expire: "2025-04-30T23:59:00Z" eventTime: - secondaryText: + secondaryText: "A Practical Guide to Unified Namespace with FlowFuse" diff --git a/src/_data/events.yaml b/src/_data/events.yaml index e11107c9b3..9a8b3d32f1 100644 --- a/src/_data/events.yaml +++ b/src/_data/events.yaml @@ -6,5 +6,5 @@ - type: "New Whitepaper" title: "UNS - Decoupling data producers and consumers" buttonText: "Download now" - link: "/whitepaper/uns-decoupling-data-producers-and-consumers/" + link: "https://eu1.hubs.ly/H0fY9900" expire: "2025-04-30T23:59:00Z" diff --git a/src/_includes/components/docs-banner.njk b/src/_includes/components/docs-banner.njk index 64267dce12..5f8ed3c9d2 100644 --- a/src/_includes/components/docs-banner.njk +++ b/src/_includes/components/docs-banner.njk @@ -28,7 +28,7 @@ {% endif %} {% if ad.secondaryText %} -