diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index b9ff347..66d79a4 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -1,18 +1,18 @@ module.exports = { title: 'NestJS Telegraf', tagline: 'Powerful Nest module for easy and fast creation Telegram bots', - url: 'https://nestjs-telegraf.vercel.app', + url: 'https://nestjs-telegraf.hypeer.company', baseUrl: '/', onBrokenLinks: 'throw', favicon: 'img/favicon.ico', - organizationName: 'bukhalo', + organizationName: 'hypeertech', projectName: 'nestjs-telegraf', themeConfig: { navbar: { title: 'NestJS Telegraf', items: [ { - href: 'https://github.com/bukhalo/nestjs-telegraf', + href: 'https://github.com/hypeertech/nestjs-telegraf', label: 'GitHub', position: 'right', }, @@ -35,7 +35,7 @@ module.exports = { items: [ { label: 'Discussions', - href: 'https://github.com/bukhalo/nestjs-telegraf/discussions', + href: 'https://github.com/hypeertech/nestjs-telegraf/discussions', }, { label: 'Telegram', @@ -48,16 +48,16 @@ module.exports = { items: [ { label: 'Issues', - href: 'https://github.com/bukhalo/nestjs-telegraf/issues', + href: 'https://github.com/hypeertech/nestjs-telegraf/issues', }, { label: 'Examples', - to: 'https://github.com/bukhalo/nestjs-telegraf/tree/master/sample/', + to: 'https://github.com/hypeertech/nestjs-telegraf/tree/master/sample/', } ], }, ], - copyright: `Copyright © 2019 - ${new Date().getFullYear()}, Alexander Bukhalo, Arthur Asimov and Others.`, + copyright: `Copyright © 2019 - ${new Date().getFullYear()}, Hypeer, Arthur Asimov and Others.`, }, }, presets: [ @@ -68,7 +68,7 @@ module.exports = { sidebarPath: require.resolve('./sidebars.js'), routeBasePath: '/', editUrl: - 'https://github.com/bukhalo/nestjs-telegraf/edit/master/website/', + 'https://github.com/hypeertech/nestjs-telegraf/edit/master/website/', showLastUpdateAuthor: true, showLastUpdateTime: true, }, @@ -78,4 +78,12 @@ module.exports = { }, ], ], + plugins: [ + [ + require.resolve('docusaurus-gtm-plugin'), + { + id: 'GTM-PRP5KRP', + } + ] + ], }; diff --git a/website/package-lock.json b/website/package-lock.json index 81aece5..e1e581a 100644 --- a/website/package-lock.json +++ b/website/package-lock.json @@ -12,6 +12,7 @@ "@docusaurus/preset-classic": "2.0.1", "@mdx-js/react": "1.6.22", "clsx": "1.1.1", + "docusaurus-gtm-plugin": "^0.0.2", "react": "17.0.2", "react-dom": "17.0.2" }, @@ -5723,6 +5724,11 @@ "node": ">=6" } }, + "node_modules/docusaurus-gtm-plugin": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/docusaurus-gtm-plugin/-/docusaurus-gtm-plugin-0.0.2.tgz", + "integrity": "sha512-Xx/df0Ppd5SultlzUj9qlQk2lX9mNVfTb41juyBUPZ1Nc/5dNx+uN0VuLyF4JEObkDRrUY1EFo9fEUDo8I6QOQ==" + }, "node_modules/dom-converter": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/dom-converter/-/dom-converter-0.2.0.tgz", @@ -16512,6 +16518,11 @@ "@leichtgewicht/ip-codec": "^2.0.1" } }, + "docusaurus-gtm-plugin": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/docusaurus-gtm-plugin/-/docusaurus-gtm-plugin-0.0.2.tgz", + "integrity": "sha512-Xx/df0Ppd5SultlzUj9qlQk2lX9mNVfTb41juyBUPZ1Nc/5dNx+uN0VuLyF4JEObkDRrUY1EFo9fEUDo8I6QOQ==" + }, "dom-converter": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/dom-converter/-/dom-converter-0.2.0.tgz", diff --git a/website/package.json b/website/package.json index e81bbf2..0802e76 100644 --- a/website/package.json +++ b/website/package.json @@ -15,6 +15,7 @@ "@docusaurus/preset-classic": "2.0.1", "@mdx-js/react": "1.6.22", "clsx": "1.1.1", + "docusaurus-gtm-plugin": "^0.0.2", "react": "17.0.2", "react-dom": "17.0.2" },