From 5110b2d1b366a261b22af099186b6373b9569087 Mon Sep 17 00:00:00 2001 From: Gucheng Wang Date: Tue, 26 Mar 2024 00:45:40 +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 29d146396..2000eb61a 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -65,16 +65,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", @@ -103,20 +93,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: { @@ -209,12 +185,6 @@ var _hmt = _hmt || []; theme: lightCodeTheme, darkTheme: darkCodeTheme, }, - announcementBar: { - id: "announcement", // ID of the announcement bar - content: - "💖 Looking for an open-source and cross-platform authorization solution that supports ACL, RBAC, ABAC? Learn more about: Casbin", - isCloseable: true, - }, docs: { sidebar: {hideable: true}, }, @@ -260,9 +230,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 f23911c70..e69de29bb 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); -})();