Skip to content

Commit

Permalink
intecrcom scripts in static
Browse files Browse the repository at this point in the history
  • Loading branch information
Doron-Bargo committed Oct 4, 2023
1 parent 9d9c7d6 commit ab6628e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,14 @@ const config = {
}),
],
],

scripts: [
{
src: '/js/intercomSettings.js'
},
{
src: '/js/intercomWidget.js'
}
],
themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
Expand Down
4 changes: 4 additions & 0 deletions static/js/intercomSettings.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
window.intercomSettings = {
app_id: "bkz9ugqv",
custom_launcher_selector: '.intercom-launch'
};
1 change: 1 addition & 0 deletions static/js/intercomWidget.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ab6628e

Please sign in to comment.