-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
51 lines (45 loc) · 1.33 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<html>
<body>
<style>
.rw-conversation-container .rw-header {
background-color: #0f74d2;
}
.rw-conversation-container .rw-messages-container .rw-message .rw-response {
background-color: #dedddb;
font-family: Verdana, Helvetica, sans-serif;
}
.rw-conversation-container .rw-messages-container .rw-message .rw-client {
background-color: #;
}
.rw-launcher {
background-color: #0f74d2;
}
body {
background-image: url('nutrracks.png');
}
</style>
<script>!(function () {
let e = document.createElement("script"),
t = document.head || document.getElementsByTagName("head")[0];
(e.src =
"https://cdn.jsdelivr.net/npm/[email protected]/lib/index.js"),
// Replace 1.x.x with the version that you want
(e.async = !0),
(e.onload = () => {
window.WebChat.default(
{
customData: { language: "en" },
socketUrl: "http://localhost:5005",
title: 'Nucore Bot',
subtitle: 'I am your Assistant'
// add other props here
},
null
);
}),
t.insertBefore(e, t.firstChild);
})();
localStorage.removeItem('chat_session');
</script>
</body>
</html>