@@ -15,28 +15,24 @@ const Kapa = () => {
1515 }
1616 } ;
1717 let kapaWidget = (
18- < div className = { styles . FooterContainer } >
19- < section className = { styles . AskButtonContainer } >
20- < button
21- id = "kapa-ai"
22- type = "button"
23- className = { styles . AskButton }
24- onMouseOver = { showTooltip }
25- onMouseOut = { hideTooltip }
26- >
27- < i className = { styles . AskIcon } > forum</ i > Ask AI
28- </ button >
29- { /* <div className={styles.Tooltip}>
30- <p>Try our new docs assistant!</p>
31- </div> */ }
32- < script
33- src = "https://widget.kapa.ai/kapa-widget.bundle.js"
34- data-website-id = "e81c2b35-6c03-4576-a56c-3c825f866e06"
35- data-project-name = "Streamlit"
36- data-project-color = "#000000"
37- data-project-logo = "https://docs.streamlit.io/logo.svg"
38- data-modal-title = "Streamlit docs assistant (beta)"
39- data-modal-disclaimer = "
18+ < >
19+ < button
20+ id = "kapa-ai"
21+ type = "button"
22+ className = { styles . AskButton }
23+ onMouseOver = { showTooltip }
24+ onMouseOut = { hideTooltip }
25+ >
26+ < i className = { styles . AskIcon } > forum</ i > Ask AI
27+ </ button >
28+ < script
29+ src = "https://widget.kapa.ai/kapa-widget.bundle.js"
30+ data-website-id = "e81c2b35-6c03-4576-a56c-3c825f866e06"
31+ data-project-name = "Streamlit"
32+ data-project-color = "#000000"
33+ data-project-logo = "https://docs.streamlit.io/logo.svg"
34+ data-modal-title = "Streamlit docs assistant (beta)"
35+ data-modal-disclaimer = "
4036 This AI chatbot is powered by kapa.ai and public Streamlit information.
4137 Answers may be inaccurate, inefficient, or biased. Any use or decisions
4238 based on such answers should include reasonable practices including
@@ -52,16 +48,15 @@ const Kapa = () => {
5248 “Content”) may be used by Streamlit and kapa.ai to provide, maintain,
5349 develop, and improve their respective offerings. For more information on how
5450 kapa.ai may use your Content, see https://www.kapa.ai/content/terms-of-service."
55- data-button-hide = "true"
56- data-modal-override-open-id = "kapa-ai"
57- data-modal-lock-scroll = "false"
58- data-modal-border-radius = "6px"
59- data-modal-image-height = "18px"
60- data-answer-feedback-button-active-border = "1px solid #808495"
61- data-user-analytics-cookie-enabled = "false"
62- > </ script >
63- </ section >
64- </ div >
51+ data-button-hide = "true"
52+ data-modal-override-open-id = "kapa-ai"
53+ data-modal-lock-scroll = "false"
54+ data-modal-border-radius = "6px"
55+ data-modal-image-height = "18px"
56+ data-answer-feedback-button-active-border = "1px solid #808495"
57+ data-user-analytics-cookie-enabled = "false"
58+ > </ script >
59+ </ >
6560 ) ;
6661
6762 return kapaWidget ;
0 commit comments