-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
63 lines (59 loc) · 1.96 KB
/
index.html
File metadata and controls
63 lines (59 loc) · 1.96 KB
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
52
53
54
55
56
57
58
59
60
61
62
63
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Coming Soon | Rocket Applications Inc.</title>
<script type="module" src="https://unpkg.com/deep-chat@2.1.1/dist/deepChat.bundle.js"></script>
<style>
/* This makes the chat bubble sit pretty in the corner */
.chat-container {
position: fixed;
bottom: 20px;
right: 20px;
z-index: 1000;
filter: drop-shadow(0 5px 15px rgba(0,0,0,0.1));
}
/* Responsive sizing for mobile */
deep-chat {
width: 350px;
height: 500px;
background-color: #ffffff;
}
@media (max-width: 480px) {
deep-chat {
width: calc(100vw - 40px);
height: 70vh;
}
}
</style>
</head>
<body>
<h1>Coming soon...</h1>
<section>
<p><h3>Links:</h3></p>
<ul>
<li><a href="/privacy.html">Privacy Policy</a></li>
<li><a href="/tos.html">Terms of Service</a></li>
<li><a href="https://freeplayzone-4fefc.web.app/"/>FreePlayZone</a></li>
</ul>
</section>
<div class="chat-container">
<deep-chat
connect='{
"url": "https://rocketpsstorechatbot.rtx3080ti0415.workers.dev",
"method": "POST"
}'
demo="false"
introMessage='{"text": "Hey! I am your AI assistant. How can I help you today?"}'
messageStyles='{
"default": {
"ai": {"bubble": {"backgroundColor": "#f0f0f0", "color": "black"}},
"user": {"bubble": {"backgroundColor": "#007bff", "color": "white"}}
}
}'
textInput='{"placeholder": {"text": "Type your question..."}}'
submitButtonStyles='{"submit": {"container": {"default": {"backgroundColor": "#007bff"}}}}'
></deep-chat>
</div>
</body>
</html>