forked from idoco/intergram
-
Notifications
You must be signed in to change notification settings - Fork 0
/
demo.html
49 lines (41 loc) · 1.23 KB
/
demo.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
<!doctype html>
<html>
<head>
<title>Intergram Demo Page</title>
<meta charset="utf-8" />
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="initial-scale=1.0, user-scalable=no">
<style type="text/css">
body {
background-color: #f0f0f2;
margin: 10px;
padding: 0;
font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.main {
max-width: 600px;
margin: 5em auto;
padding: 50px;
background-color: #fff;
border-radius: 1em;
}
</style>
</head>
<body>
<div class="main">
<h1>Intergram Demo Page</h1>
<p>Free live chat widget linked to your Telegram messenger. </p>
<p><a href="https://github.com/idoco/intergram">More information...</a></p>
</div>
<script>
window.intergramId = 312940879;
window.intergramServer = window.location.origin;
window.intergramCustomizations = {
closedChatAvatarUrl: 'media/demo_avatar.jpg',
introMessage: 'Hello! How can I help you?',
closedStyle: 'button', // button or chat
};
</script>
<script src="/js/widget.js"></script>
</body>
</html>