forked from shopglobal/cloe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
151 lines (145 loc) · 5.39 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
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="shortcut icon" href="images/favicon.ico">
<title id="title-response">Hello, I'm Cloe.</title>
<!-- CSS stylesheets -->
<link rel="stylesheet" href="css/bulma.css">
<link rel="stylesheet" href="css/animate.min.css">
<link rel="stylesheet" href="css/font-awesome.min.css">
<!-- <link rel="stylesheet" href="css/material.min.css"> -->
<!-- Javascript libraries -->
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/bulma.js"></script>
<script type="text/javascript" src="js/material.min.js"></script>
<script type="text/javascript" src="js/annyang.min.js"></script>
<script type="text/javascript" src="js/p5.min.js"></script>
<script type="text/javascript" src="js/p5.sound.js"></script>
<script type="text/javascript" src="js/cloe.js"></script>
</head>
<body>
<!-- interface -->
<section class="hero is-info is-fullheight">
<div class="hero-head">
<header class="nav">
<div class="container">
<div class="nav-left">
<a class="nav-item" href="https://jinyeom.github.io/cloe">
<!-- for volume response -->
<div id="canvas-holder"></div>
<img src="images/logo.png" alt="logo">
</a>
</div>
<span class="nav-item">
<a class="button is-info is-inverted" id="help">
<span class="icon">
<i class="fa fa-info-circle"></i>
</span>
<span>Help</span>
</a>
<script type="text/javascript">
$('#help').click(function() {
$('html').addClass('is-clipped');
$('#modal-help').addClass('is-active');
})
</script>
</span>
</div>
</header>
</div>
<!-- response -->
<div class="hero-body">
<div class="container has-text-centered">
<!-- response text -->
<p class="title is-1" id="response"></p>
<script type="text/javascript">
// for response
$('#response').animateCss('fadeIn');
$('#response').html("Hello, I'm Cloe.");
</script>
</div>
</div>
<!-- footer -->
<footer class="footer">
<div class="container">
<div class="content has-text-centered">
<p>
<strong>Cloe</strong> by
<a href="http://jinyeom.github.io">Jin Yeom</a> with <span class="icon"><i class="fa fa-heart"></i></span>.
The source code is licensed <a href="http://opensource.org/licenses/mit-license.php">MIT</a>.
The website content is licensed <a href="http://creativecommons.org/licenses/by-nc-sa/4.0/">CC ANS 4.0</a>.
</p>
<p>
<a class="icon" href="https://github.com/jinyeom/cloe">
<i class="fa fa-github"></i>
</a>
</p>
</div>
</div>
</footer>
</section>
<!-- modal for Wikipedia search -->
<div id="modal-ter" class="modal">
<div class="modal-background"></div>
<div class="modal-card">
<section class="modal-card-body">
<p class="modal-card-title" id="modal-title"></p>
<div class="content is-large" id="modal-content"></div>
</section>
</div>
</div>
<!-- modal for help -->
<div id="modal-help" class="modal">
<div class="modal-background"></div>
<div class="modal-card">
<section class="modal-card-body">
<div class="content is-medium">
<section class="hero is-info is-fullheight">
<div class="hero-body">
<div class="container">
<div class="column">
<p>
<h1 class="subtitle is-2">Start Listening</h1>
'Hey Cloe'<br>
</p>
<p>
<h1 class="subtitle is-2">Stop Listening</h1>
'Nevermind'<br>
'Nothing'<br>
'Stop listening'<br>
</p>
<p>
<h1 class="subtitle is-2">Current Time</h1>
'Show me time'<br>
'What time is it?'<br>
</p>
<p>
<h1 class="subtitle is-2">Wikipedia Search</h1>
'What's __________'<br>
'Who's __________'<br>
</p>
<p>
<h1 class="subtitle is-2">General Search</h1>
'Google __________'<br>
'Bing __________'<br>
'Video search __________'<br>
'Find __________ on YouTube'<br>
'Search __________ on Netflix'<br>
'Find __________ on Netflix'<br>
</p>
<p>
<h1 class="subtitle is-2">Open Web Page</h1>
'Open __________'<br>
'Go to __________'<br>
</p>
</div>
</div>
</div>
</section>
</div>
</section>
</div>
</div>
</body>
</html>