From 892423c9407898dd0a725eb5793c881974596198 Mon Sep 17 00:00:00 2001 From: Federico Morreale Date: Thu, 28 Sep 2023 14:48:12 +0200 Subject: [PATCH 1/2] fix: watch now button not displayed if link is undefined Signed-off-by: Federico Morreale --- microsite/src/pages/demos/index.tsx | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/microsite/src/pages/demos/index.tsx b/microsite/src/pages/demos/index.tsx index 1221c38a63..e3b4b7dbfd 100644 --- a/microsite/src/pages/demos/index.tsx +++ b/microsite/src/pages/demos/index.tsx @@ -175,12 +175,16 @@ const Demos = () => { {demoItem.title}} - actionButtons={[ - { - link: demoItem.actionItemLink, - label: 'WATCH NOW', - }, - ]} + actionButtons={ + demoItem.actionItemLink + ? [ + { + link: demoItem.actionItemLink, + label: 'WATCH NOW', + }, + ] + : [] + } > {demoItem.content} From 3b148d7bcf3d29357c9e869a7ec4a33b03bdb809 Mon Sep 17 00:00:00 2001 From: Federico Morreale Date: Thu, 28 Sep 2023 15:07:21 +0200 Subject: [PATCH 2/2] fix: update year in the footer Signed-off-by: Federico Morreale --- microsite/docusaurus.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/microsite/docusaurus.config.js b/microsite/docusaurus.config.js index a7df33623a..1879e35e72 100644 --- a/microsite/docusaurus.config.js +++ b/microsite/docusaurus.config.js @@ -276,7 +276,7 @@ module.exports = { }, ], copyright: - '

Made with ❤️ at Spotify

', + '

Made with ❤️ at Spotify

', }, algolia: { apiKey: '1f0ba86672ccfc3576faa94583e5b318',