Skip to content

Commit b573a9f

Browse files
committed
docs: config Kapa to open sidebar
1 parent 28044cc commit b573a9f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/theme/KapaWidget.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,12 @@ function injectKapaScript() {
3434
script.setAttribute("data-website-id", "e89e7663-df2c-4c7f-974a-1bf8accdd615")
3535
script.setAttribute("data-project-name", "Ory")
3636
script.setAttribute("data-project-color", "#1A237E")
37+
script.setAttribute("data-view-mode", "sidebar")
3738
script.setAttribute(
3839
"data-modal-disclaimer",
3940
"By utilizing this chatbot, you consent to the collection and transmission of data to kapa.ai, which may include your IP address. Please be advised that your privacy and data protection are of utmost importance to us. We assure you that any data collected will be handled in compliance with applicable laws and regulations. For further details on how your data is processed and used, we encourage you to review our Privacy Policy. If you do not agree with these terms, we kindly request that you refrain from using this chatbot.",
4041
)
41-
script.setAttribute("data-modal-title", "Ory AI Copilot")
42+
script.setAttribute("data-modal-title", "Ask AI")
4243
script.setAttribute("data-button-text", "Ask AI")
4344
script.setAttribute("data-project-logo", "/docs/img/kapa-logo.png")
4445
script.setAttribute("data-consent-required", "true")

0 commit comments

Comments
 (0)