Merge pull request #1270 from tangly1024/release/4.0.0

移除iframe4chatbase
This commit is contained in:
tangly1024
2023-07-18 12:27:32 +08:00
committed by GitHub
2 changed files with 5 additions and 2 deletions

View File

@@ -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 <></>

View File

@@ -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) && <FlutteringRibbon />}
{JSON.parse(BLOG.COMMENT_TWIKOO_COUNT_ENABLE) && <TwikooCommentCounter {...props}/>}
{JSON.parse(BLOG.RIBBON) && <Ribbon />}
{BLOG.CHATBASE_ID && <ChatBase />}
<VConsole/>
</>
}