Skip to content

Commit fb1bd97

Browse files
committed
docs: config Kapa to open sidebar
1 parent 96a390d commit fb1bd97

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
@@ -35,11 +35,12 @@ function injectKapaScript() {
3535
script.setAttribute("data-website-id", "e89e7663-df2c-4c7f-974a-1bf8accdd615")
3636
script.setAttribute("data-project-name", "Ory")
3737
script.setAttribute("data-project-color", "#1A237E")
38+
script.setAttribute("data-view-mode", "sidebar")
3839
script.setAttribute(
3940
"data-modal-disclaimer",
4041
"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.",
4142
)
42-
script.setAttribute("data-modal-title", "Ory AI Copilot")
43+
script.setAttribute("data-modal-title", "Ask AI")
4344
script.setAttribute("data-button-text", "Ask AI")
4445
script.setAttribute("data-project-logo", "/docs/img/kapa-logo.png")
4546
script.setAttribute("data-consent-required", "true")

0 commit comments

Comments
 (0)