-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathchatbot.html
More file actions
115 lines (100 loc) · 3.2 KB
/
chatbot.html
File metadata and controls
115 lines (100 loc) · 3.2 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Law AI Helper - Chatbot</title>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap" rel="stylesheet">
<style>
body {
font-family: 'Roboto', sans-serif;
background-color: #1e1e24;
color: white;
margin: 0;
padding: 0;
width: 100%;
}
header {
background-color: #1e1e24;
padding: 20px 40px;
}
.header-container {
display: flex;
justify-content: space-between;
align-items: center;
}
.header-logo {
color: white;
text-decoration: none;
display: flex;
align-items: center;
}
.header-logo img {
border-radius: 8px;
}
.header-logo span {
color: white;
font-size: 18px;
font-weight: bold;
margin-left: 10px;
}
h1 {
font-size: 24px;
}
.main-content {
text-align: center;
padding: 100px;
}
.footer {
background-color: #131316;
height: 30px;
width: 100%;
padding: 0 40px;
box-sizing: border-box;
position: fixed;
bottom: 0;
left: 0;
}
.footer-text {
font-size: 14px;
text-align: center;
color: #ccc;
line-height: 5px;
}
.footer-link {
color: #fff;
text-align: center;
}
</style>
</head>
<body>
<header>
<div class="header-container">
<a class="header-logo" href="index.html">
<img src="logo.png" width="75px" height="50px">
<span>Law AI Helper / Chatbot</span>
</a>
</div>
</header>
<div class="main-content">
<h1>To start your dialog click on <span style="color:#1E91F5">small <br> button</span> on the bottom-right corner</h1>
</div>
<footer class="footer">
<p class="footer-text">Law AI Helper - <a class="footer-link" href="index.html">Contact</a> | <a class="footer-link" href="index.html">About</a> | <a class="footer-link" href="index.html">Partners</a> | <a class="footer-link" href="index.html">Legal Information</a></p>
</footer>
<script>
window.watsonAssistantChatOptions = {
integrationID: "6055e307-7986-490b-87a0-f258e8232189",
region: "us-south",
serviceInstanceID: "34450d74-055a-4b5e-8241-24091d6d22cc",
onLoad: async (instance) => { await instance.render(); }
};
setTimeout(function() {
const t = document.createElement('script');
t.src = "https://web-chat.global.assistant.watson.appdomain.cloud/versions/" +
(window.watsonAssistantChatOptions.clientVersion || 'latest') + "/WatsonAssistantChatEntry.js";
document.head.appendChild(t);
});
</script>
</body>
</html>