Skip to content

Commit 285691c

Browse files
committed
add kapa script
1 parent c90a5ee commit 285691c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

app/layout.tsx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,17 @@ export default function RootLayout({children}: {children: React.ReactNode}) {
4949
data-api="https://plausible.io/api/event"
5050
src="https://plausible.io/js/script.tagged-events.js"
5151
/>
52+
<Script
53+
async
54+
src="https://widget.kapa.ai/kapa-widget.bundle.js"
55+
data-website-id="ec502f3e-ef02-4b03-b345-160b3e2b6a0c"
56+
data-button-hide // do not render kapa ai button
57+
data-modal-override-open-class="kapa-ai-class" // all elements with this class will open the kapa ai modal
58+
data-project-name="Sentry"
59+
data-project-color="#6A5FC1"
60+
data-project-logo="https://docs.sentry.io/_next/static/media/sentry-logo-dark.fc8e1eeb.svg"
61+
data-font-family="var(--font-rubik)"
62+
/>
5263
</html>
5364
);
5465
}

0 commit comments

Comments
 (0)