移除iframe4chatbase

This commit is contained in:
tangly1024
2023-07-18 12:26:59 +08:00
parent 7b1baa3d15
commit 8bfda86c7a
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/>
</>
}