diff --git a/components/ChatBase.js b/components/ChatBase.js index c658afbf..5decc833 100644 --- a/components/ChatBase.js +++ b/components/ChatBase.js @@ -1,5 +1,10 @@ import BLOG from '@/blog.config' +/** + * 这是一个嵌入组件,可以在任意位置全屏显示您的chat-base对话框 + * 暂时没有页面引用 + * 因为您可以直接用内嵌网页的方式放入您的notion中 https://www.chatbase.co/chatbot-iframe/${BLOG.CHATBASE_ID} + */ export default function ChatBase() { if (!BLOG.CHATBASE_ID) { return <> diff --git a/components/ExternalPlugins.js b/components/ExternalPlugins.js index e9b0f932..867bb32b 100644 --- a/components/ExternalPlugins.js +++ b/components/ExternalPlugins.js @@ -1,6 +1,5 @@ import BLOG from 'blog.config' import dynamic from 'next/dynamic' -import ChatBase from './ChatBase' // import TwikooCommentCounter from '@/components/TwikooCommentCounter' // import { DebugPanel } from '@/components/DebugPanel' @@ -54,7 +53,6 @@ const ExternalPlugin = (props) => { {JSON.parse(BLOG.FLUTTERINGRIBBON) && } {JSON.parse(BLOG.COMMENT_TWIKOO_COUNT_ENABLE) && } {JSON.parse(BLOG.RIBBON) && } - {BLOG.CHATBASE_ID && } }