This is an automated email from the ASF dual-hosted git repository.
shenghang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/seatunnel-website.git
The following commit(s) were added to refs/heads/main by this push:
new 0447f291de75 feat: add kapa.ai widget to homepage head (#411)
0447f291de75 is described below
commit 0447f291de75cb5f1eeb67ee717b0e081d776040
Author: David Zollo <[email protected]>
AuthorDate: Tue Jan 6 18:06:10 2026 +0800
feat: add kapa.ai widget to homepage head (#411)
---
src/pages/index.tsx | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/pages/index.tsx b/src/pages/index.tsx
index c1b8fa5f5b64..90cbf92b8fc4 100644
--- a/src/pages/index.tsx
+++ b/src/pages/index.tsx
@@ -3,6 +3,7 @@ import Layout from '@theme/Layout';
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
import Home from './home'
import useIsBrowser from '@docusaurus/useIsBrowser';
+import Head from '@docusaurus/Head';
export default function() {
const isBrowser = useIsBrowser();
@@ -27,6 +28,9 @@ export default function() {
<Layout
title={siteConfig.title}
description="Description will go into a meta tag in <head />">
+ <Head>
+ <script async
src="https://widget.kapa.ai/kapa-widget.bundle.js"
data-website-id="7a9c6ef2-bbf5-48d8-8711-66bfa6675033"
data-project-name="Apache SeaTunnel"
data-project-logo="https://seatunnel.apache.org/image/logo.png"
data-project-color="#444FD9" data-modal-disclaimer="This is a custom LLM with
access to all [SeaTunnel
documentation](https://seatunnel.apache.org/docs/about)." data-consent-required
data-consent-screen-disclaimer="By clicking &quot;I agree, let's cha [...]
+ </Head>
<main>
<Home/>
</main>