chat-base

This commit is contained in:
tangly1024
2023-07-18 12:06:43 +08:00
parent 982087532f
commit 7b1baa3d15
4 changed files with 33 additions and 3 deletions

14
components/ChatBase.js Normal file
View File

@@ -0,0 +1,14 @@
import BLOG from '@/blog.config'
export default function ChatBase() {
if (!BLOG.CHATBASE_ID) {
return <></>
}
return <iframe
src={`https://www.chatbase.co/chatbot-iframe/${BLOG.CHATBASE_ID}`}
width="100%"
style={{ height: '100%', minHeight: '700px' }}
frameborder="0"
></iframe>
}