-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathavatarBot.html
124 lines (90 loc) · 3.6 KB
/
avatarBot.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
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
116
117
118
119
120
121
122
123
124
<!doctype html>
<html lang="en">
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-154489707-1"/>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-154489707-1');
</script>
</script>
<title>The Avatar Bot</title>
<meta name="description" content="The AvatarBot helps you in finding an Avatar for your Chatbot. Answer a few questions and get a match.">
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/>
<link href="https://fonts.googleapis.com/css?family=Muli:400,700" rel="stylesheet"/>
<link rel="stylesheet" href="fonts/icomoon/style.css"/>
<link rel="stylesheet" href="css/bootstrap.min.css"/>
<link rel="stylesheet" href="css/bootstrap-datepicker.css"/>
<link rel="stylesheet" href="css/jquery.fancybox.min.css"/>
<link rel="stylesheet" href="css/owl.carousel.min.css"/>
<link rel="stylesheet" href="css/owl.theme.default.min.css"/>
<link rel="stylesheet" href="fonts/flaticon/font/flaticon.css"/>
<link rel="stylesheet" href="css/aos.css"/>
<!-- MAIN CSS -->
<link rel="stylesheet" href="css/style-avatarbot.css">
<link rel="stylesheet" href="styles.css">
</head>
<body data-spy="scroll" data-target=".site-navbar-target" data-offset="300" onload="wakeUpCall();">
<div class="ftco-blocks-cover-1">
<div class="site-section-cover overlay" style="background-image: url('images/hero_1.jpg')">
<div class="container">
<div class="row align-items-center justify-content-center">
<div class="col-md-7 text-center">
<h1 class="mb-4 text-white">The Avatar Bot</h1>
<p class="mb-4">Looking for an Avatar for your Chatbot? Try me</p>
</br></br>
<p style="color:white;font-size: 100%;">Find me also on <a href="https://telegram.me/TheAvatarBot" target="_blank" >Telegram</a></p>
</br></br></br></br></br></br></br></br></br></br></br></br>
<!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. -->
<span>
<p >This template is made with <i class="icon-heart text-danger"></i> by <a href="https://colorlib.com" target="_blank" >Colorlib</a></p>
<!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. -->
</span>
</div> `
</div>
</div>
</div>
</div>
<div id="webchat"></div>
<script src="https://storage.googleapis.com/mrbot-cdn/webchat-v0.7.23.js"></script>
<script type="text/javascript">
function codeAddress() {
setTimeout(init, 1000);
}
window.onload = codeAddress;
</script>
</body>
<script>
function init() {
WebChat.default.init({
selector: "#webchat",
initPayload: "/session_start",
inputTextFieldHint: "Say Hi",
customData: { language: "en" },
socketUrl: "https://rasa-avatarbot.herokuapp.com/",
socketPath: "/socket.io/",
storage: "session",
profileAvatar: "avatarBot.png",
title: "Avatar Chatbot",
subtitle: "Find an Avatar",
displayUnreadCount: true,
showFullScreenButton: true,
showMessageDate: true,
openLauncherImage: "avatarBot.png",
embedded: false // true for full screen
});
var xhr1 = new XMLHttpRequest();
xhr1.open("GET", "https://rasa-avatarbot.herokuapp.com/", true);
xhr1.send(null);
var xhr2 = new XMLHttpRequest();
xhr2.open("GET", "https://rasasdk-avatarbot.herokuapp.com/", true);
xhr2.send(null);
var xhr3 = new XMLHttpRequest();
xhr3.open("GET", "https://rasaimg-avatarbot.herokuapp.com/ping", true);
xhr3.send(null);
}
</script>
</html>