From 75a2b4409a17c778f4244ec64b319f9252636066 Mon Sep 17 00:00:00 2001 From: Gucheng Wang Date: Tue, 26 Mar 2024 12:42:26 +0800 Subject: [PATCH] Improve text --- docusaurus.config.js | 34 ---------------------------------- static/js/tawk.js | 9 --------- 2 files changed, 43 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 55f7450..0133ea5 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -55,16 +55,6 @@ module.exports = { to: "/help", position: "left", }, - { - href: "https://casdoor.com", - label: "For Enterprise", - position: "left", - }, - { - href: "https://casdoor.com", - label: "Hosting Plan (SaaS)", - position: "left", - }, { type: "localeDropdown", position: "right", @@ -93,20 +83,6 @@ module.exports = { type: "search", position: "right", }, - { - type: "custom-casdoor", - label: "Sign Up", - src: "https://casdoor.com", - position: "right", - className: "casdoor-signup casdoor-link", - }, - { - type: "custom-casdoor", - label: "Login", - src: "https://casdoor.com", - position: "right", - className: "casdoor-login casdoor-link", - }, ], }, footer: { @@ -190,12 +166,6 @@ var _hmt = _hmt || []; theme: lightCodeTheme, darkTheme: darkCodeTheme, }, - announcementBar: { - id: "announcement", // ID of the announcement bar - content: - "💖 Looking for an open-source identity and access management solution like Okta, Auth0, Keycloak ? Learn more about: Casdoor", - isCloseable: true, - }, docs: { sidebar: {hideable: true}, }, @@ -241,9 +211,5 @@ var _hmt = _hmt || []; src: "/js/isMainland.js", async: true, }, - { - src: "/js/tawk.js", - async: true, - }, ], }; diff --git a/static/js/tawk.js b/static/js/tawk.js index f23911c..e69de29 100644 --- a/static/js/tawk.js +++ b/static/js/tawk.js @@ -1,9 +0,0 @@ -/* eslint-disable no-var */ -// eslint-disable-next-line unused-imports/no-unused-vars -var Tawk_API = Tawk_API || {}, Tawk_LoadStart = new Date(); -(function() { - var s1 = document.createElement("script"), s0 = document.getElementsByTagName("script")[0]; - s1.src = "https://embed.tawk.to/623352fea34c2456412b8c51/1fuc7od6e"; - s1.setAttribute("crossorigin", "*"); - s0.parentNode.insertBefore(s1, s0); -})();