-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
43 lines (41 loc) · 1.1 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Chat Widget Test</title>
<style>
body {
font-family: Arial, sans-serif;
line-height: 1.6;
margin: 0;
padding: 20px;
background-color: #f4f4f4;
}
.content {
max-width: 800px;
margin: auto;
background: white;
padding: 20px;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
</style>
</head>
<body>
<script src="http://localhost:5173/dist/nous-chat.js"></script>
<script type="module">
import Nous from "./src/main.js";
Nous.init({
color: "#1076EE",
zIndex: "1000",
webhookUrl:
"https://search-api-v2.nous.mesolitica.com/chat/[email protected]/2993",
title: "MPC Bot Test - S3",
firstMessage: "Hi there!",
secondMessage: "How can I help you today?",
initPayload: "SpecialInitPayLoadDoNotTouch",
});
</script>
</body>
</html>