-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
64 lines (61 loc) · 1.66 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<!-- THIS IS AN EXAMPLE PAGE AND SHOULD NOT BE USED OUTSIDE OF DEVELOPMENT -->
<!DOCTYPE html>
<html>
<head>
<title>Chat Widget | Seat Selector Demo</title>
<meta charset="UTF-8">
<style>
body {
background-color: #f9f9f9;
background-image: url('/img/jetbluebg.png');
background-size: cover;
background-repeat: no-repeat;
background-attachment: fixed;
}
#flat-chat {
width: 100vw;
height: 100vh;
position: absolute;
top: 0;
left: 0;
}
</style>
</head>
<body>
<div id="flat-chat"></div>
<div id="voiceflow-chat-frame"></div>
<script type="module">
import {
SeatSelectorExtension,
SeatSelectorv2Extension,
} from '/extensions.js';
(function (d, t) {
var v = d.createElement(t),
s = d.getElementsByTagName(t)[0];
v.onload = function () {
window.voiceflow.chat.load({
verify: { projectID: '66c45f514ee828676d637e62' },
url: 'https://general-runtime.voiceflow.com',
versionID: 'development',
user: {
name: 'Demo User',
},
render: {
mode: 'overlay',
},
allowDangerousHTML: true,
assistant: {
extensions: [
SeatSelectorExtension,
SeatSelectorv2Extension,
],
},
});
};
v.src = 'https://cdn.voiceflow.com/widget/bundle.mjs';
v.type = 'text/javascript';
s.parentNode.insertBefore(v, s);
})(document, 'script');
</script>
</body>
</html>