From 1fb13c48e086b36a92db795c1d119d5c47b31b7e Mon Sep 17 00:00:00 2001 From: Vincent Kraus Date: Wed, 26 Jul 2023 11:27:40 +0200 Subject: [PATCH] fix: add bot again --- docusaurus.config.js | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index ef8740c0ad..fa7e5963aa 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -244,17 +244,18 @@ const config = { scripts: [ // Needed as a workaround for https://answers.netlify.com/t/trailing-slash-missing-on-proxied-netlify-site/36367 "/docs/scripts/redirect.js", - // Disabled until widget size is fixed. - // - // { - // src: "https://widget.kapa.ai/kapa-widget.bundle.js", - // "data-website-id": "e89e7663-df2c-4c7f-974a-1bf8accdd615", - // "data-project-name": "Ory", - // "data-project-color": "#1A237E", - // "data-project-logo": - // "https://assets.website-files.com/627ba6588811eca90ffd6f2a/6282a6b11450b482db646ed2_hydra.png", - // async: true, - // }, + { + src: "https://widget.kapa.ai/kapa-widget.bundle.js", + "data-website-id": "e89e7663-df2c-4c7f-974a-1bf8accdd615", + "data-project-name": "Ory", + "data-project-color": "#1A237E", + "data-modal-disclaimer": + "By utilizing this chatbot, you consent to the collection and transmission of data to kapa.ai, which may include your IP address. Please be advised that your privacy and data protection are of utmost importance to us. We assure you that any data collected will be handled in compliance with applicable laws and regulations. For further details on how your data is processed and used, we encourage you to review our Privacy Policy. If you do not agree with these terms, we kindly request that you refrain from using this chatbot.", + "data-project-logo": + "https://assets.website-files.com/627ba6588811eca90ffd6f2a/6282a6b11450b482db646ed2_hydra.png", + async: true, + defer: true, + }, ], }