/
index.html
53 lines (42 loc) · 1.48 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>
Peekobot
</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Page styles - make your own! -->
<link rel="stylesheet" href="main.css">
<!-- Peekobot custom properties (CSS variable) - set these! -->
<style>
:root {
--peekobot-height: 80vh;
--peekobot-avatar: url();
}
</style>
<!-- Peekobot styles -->
<link rel="stylesheet" href="peekobot.css">
<!-- These provide in-browser transpilation of ES6 JS code to ES5 to support IE11 -->
<script src="https://unpkg.com/@babel/polyfill@7.6.0/dist/polyfill.min.js"></script>
<script src="https://unpkg.com/@babel/standalone/babel.min.js"></script>
</head>
<body>
<header class="text-center">
<h1 class="xl reset-margin large-margin">Peekobot</h1>
<p>
Peekobot is a simple choice-driven chatbot framework in less than 100 lines of vanilla JS
</p>
<p>
I'm made by <a href="https://twitter.com/magicroundabout">Ross Wintle</a> and
you can find me on <a href="https://github.com/peekobot/peekobot">GitHub</a>
</p>
</header>
<main id="main">
<div id="peekobot-container">
<div id="peekobot"></div>
</div>
</main>
<script src="conversation.js"></script>
<script type="text/babel" data-presets="es2015,es2016,es2017" src="peekobot.js"></script>
</body>
</html>