Alexvatti commited on
Commit
5824a55
·
verified ·
1 Parent(s): 57058d8

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +36 -2
index.html CHANGED
@@ -80,8 +80,20 @@
80
  text-decoration: underline;
81
  }
82
  </style>
83
- <script src="https://cdn.botpress.cloud/webchat/v3.0/inject.js"></script>
84
- <script src="https://files.bpcontent.cloud/2025/06/17/11/20250617112351-GH8BHBX5.js"></script>
 
 
 
 
 
 
 
 
 
 
 
 
85
  </head>
86
  <body>
87
  <header>
@@ -143,5 +155,27 @@
143
  <footer>
144
  <p>© 2024 Alexander Reddy. All rights reserved.</p>
145
  </footer>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
146
  </body>
147
  </html>
 
80
  text-decoration: underline;
81
  }
82
  </style>
83
+ <script src="https://cdn.botpress.cloud/webchat/v3.0/inject.js"></script>
84
+ <style>
85
+ #webchat .bpWebchat {
86
+ position: unset;
87
+ width: 100%;
88
+ height: 100%;
89
+ max-height: 100%;
90
+ max-width: 100%;
91
+ }
92
+
93
+ #webchat .bpFab {
94
+ display: none;
95
+ }
96
+ </style>
97
  </head>
98
  <body>
99
  <header>
 
155
  <footer>
156
  <p>© 2024 Alexander Reddy. All rights reserved.</p>
157
  </footer>
158
+
159
+ <div id="webchat" style="width: 500px; height: 500px;"></div>
160
+
161
+ <!-- In your <body> tag -->
162
+ <script>
163
+ window.botpress.on("webchat:ready", () => {
164
+ window.botpress.open();
165
+ });
166
+ window.botpress.init({
167
+ "botId": "c92c3b3e-577b-468d-a3a8-038982811ece",
168
+ "configuration": {
169
+ "website": {},
170
+ "email": {},
171
+ "phone": {},
172
+ "termsOfService": {},
173
+ "privacyPolicy": {}
174
+ },
175
+ "clientId": "042809cc-ca9d-409a-8540-537056859323",
176
+ "selector": "#webchat"
177
+ });
178
+ </script>
179
+
180
  </body>
181
  </html>