From f53e501cb19084cc304c21b262dc25b2cd066bcc Mon Sep 17 00:00:00 2001 From: Lene Gadewoll Date: Thu, 1 Aug 2024 14:20:31 +0200 Subject: [PATCH] fix: ensure containerId is not set if not defined --- packages/website/docusaurus.config.ts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/packages/website/docusaurus.config.ts b/packages/website/docusaurus.config.ts index 190d4644782..9d311d6e699 100644 --- a/packages/website/docusaurus.config.ts +++ b/packages/website/docusaurus.config.ts @@ -50,9 +50,9 @@ const config: Config = { showReadingTime: true, editUrl: 'https://github.com/elastic/eui/tree/main/website/', }, - googleTagManager: { + googleTagManager: googleTagManagerId && { containerId: googleTagManagerId, - } + }, } satisfies Preset.Options, ], ], @@ -104,6 +104,12 @@ const config: Config = { position: 'right', component: 'github', }, + { + href: 'https://www.figma.com/community/file/964536385682658129', + label: 'Figma', + position: 'right', + component: 'figma', + }, ], }, footer: {