From 83af7abe821955ef074562f6e3b26eeb169c6e37 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Mon, 23 Oct 2023 20:57:12 +0100 Subject: [PATCH] feat: add Drupal Association text --- src/layouts/Layout.astro | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 9a1edcf8e..5d90983ec 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -43,8 +43,13 @@ const footerLinks = [ const canonicalURL = new URL(Astro.url.pathname, Astro.site).toString().replace(/\/$/, ""); const isFrontPage = Astro.props.isFront; -const showDrupalAssociationMessage = ['diagnostic', 'drupal-upgrade', 'dto', 'pricing'] - .includes(Astro.url.pathname.slice(1)); +const showDrupalAssociationMessage = [ + "diagnostic", + "drupal-upgrade", + "dto", + "pricing", + "team-coaching", +].includes(Astro.url.pathname.slice(1)); --- @@ -82,11 +87,11 @@ const showDrupalAssociationMessage = ['diagnostic', 'drupal-upgrade', 'dto', 'pr
- {false && showDrupalAssociationMessage && ( + {showDrupalAssociationMessage && (

Work with me and support Drupal. - 10% of any Drupal-related product or service is donated to the Drupal Association. + 5% from any Drupal-related product or service is donated to the Drupal Association.

)}