-
Notifications
You must be signed in to change notification settings - Fork 22
/
index.html
233 lines (192 loc) · 11 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
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<!-- <meta http-equiv="X-UA-Compatible" content="IE=edge"> -->
<!-- Social media -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@OKAI" />
<!-- Change this--><meta name="twitter:title" content="OKAI - An Interactive Introduction to Artificial Intelligence (AI)" />
<meta name="twitter:description" content="OKAI utilizes interactive graphics to demystify and introduce Artificial Intelligence concepts to a broader audience." />
<!-- AA Change this--><meta name="twitter:image" content="https://okai.brown.edu/img/share/en/en_index.png" />
<!-- Change this--><meta property="og:url" content="https://okai.brown.edu/index.html" />
<meta property="og:type" content="article" />
<!-- Change this--><meta property="og:title" content="OKAI - An Interactive Introduction to Artificial Intelligence (AI)" />
<meta property="og:description" content="OKAI utilizes interactive graphics to demystify and introduce Artificial Intelligence concepts to a broader audience." />
<!-- AA Change this--><meta property="og:image" content="https://okai.brown.edu/img/share/en/en_index.png" />
<!-- ................... -->
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css?family=Nunito:400,700" rel="stylesheet">
<!-- Font Awesome -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.0/css/all.css" integrity="sha384-lZN37f5QGtY3VHgisS14W3ExzMWZxybE1SJSEsQp9S+oqd12jhcu+A56Ebc1zFSJ"
crossorigin="anonymous">
<!-- Bootstrap CSS CDN -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css"
integrity="sha384-9gVQ4dYFwwWSjIDZnLEWnxCjeSWFphJiwGPXr1jddIhOegiu1FwO5qRGvFXOdJZ4"
crossorigin="anonymous">
<!-- Scrollbar Custom CSS -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/malihu-custom-scrollbar-plugin/3.1.5/jquery.mCustomScrollbar.min.css">
<!-- My stylesheet -->
<link rel="stylesheet" href="./css/general.css">
<!-- change to own stylesheet -->
<link rel="stylesheet" href="./css/index.css">
<!-- language annotations -->
<link rel="alternate" hreflang="zh-Hans" href="https://okai.brown.edu/zh/index.html" />
<link rel="alternate" hreflang="en" href="https://okai.brown.edu/index.html" />
<link rel="canonical" href="https://okai.brown.edu/index.html" />
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-133914635-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-133914635-1');
</script>
<title>Home - OKAI</title>
</head>
<body>
<!-- navbar place holder -->
<div id="nav-placeholder"></div>
<!-- ######################### -->
<!-- Chapter content beginning -->
<!-- ######################### -->
<!-- landing section -->
<div id="openingText" class="d-flex align-items-center justify-content-center p-2">
<!-- start of row 1 -->
<div class="row align-items-center justify-content-center" style="width:100%">
<!-- col 2 -->
<div class="col-10 col-md-4 order-2 order-md-1 text-center mr-md-5">
<div class="text-left">
<!-- <p>Chapter ?</p> -->
<h1 class="ml-1">OKAI</h1>
<p class="ml-1">An Interactive Introduction to Artificial Intelligence (AI)</p>
<a class="m-1 btn btn-warning d-inline-block" id="start" href="./chapter0.html"
role="button">
Get Started
</a>
<button class="m-1 btn btn-outline-secondary d-inline-block" id="modalLink"
data-toggle="modal" data-target="#adviceModal" type="button">
How to Use
</button>
<!-- language selection -->
<div class="dropdown mt-2">
<i class="text-muted ml-1 fas fa-globe-asia fa-sm"></i>
<button class="my-1 btn btn-sm btn-outline-secondary dropdown-toggle" type="button"
id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true"
aria-expanded="false">
English <i class="ml-3 fas fa-caret-down"></i>
</button>
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
<a class="dropdown-item" href="/index.html">English</a>
<a class="dropdown-item" href="/zh/index.html">简体中文</a>
</div>
</div>
<!-- end of text left -->
</div>
<!-- end of col 2 -->
</div>
<!-- Modal -->
<div class="modal fade" id="adviceModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle"
aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLongTitle">How to Use</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body text-center">
<div id="tipsText" class="text-left">
<p>Hi! Welcome to OKAI! Here are some usage tips to optimize your
experience:</p>
<ul>
<li>
<p>For browsers, Chrome and Safari work the best!</p>
</li>
<li>
<p class="d-none d-md-block">Once you get to a chapter,
keep scrolling down to view the content, and click on
the left or right arrow icon
to switch between chapters and pages.</p>
<p class="d-block d-md-none">Once you get to a chapter,
keep scrolling down to view the content.</p>
</li>
<li>
<p>Hover over <strong id="navModalTooltip" data-toggle="tooltip"
title="You got it!">bold text
</strong> for additional information.</p>
</li>
<li>
<p>For quick navigation, click on the <i class="fas fa-bars fa-sm"></i>
icon on the top left corner to open the side menu.</p>
</li>
</ul>
</div>
</div>
<div class="modal-footer">
<!-- <button id="closeMyModal" type="button" class="btn btn-grey" data-dismiss="modal">Close</button> -->
<a class="btn btn-warning" id="start2" href="./chapter0.html" role="button">
Get Started
</a>
</div>
</div>
</div>
<!-- end of modal -->
</div>
<!-- col 3 -->
<div class="col-11 col-md-4 order-1 order-md-2">
<div id="openingLottie" class="openingAnimation mx-auto"></div>
</div>
<!-- col-4 -->
<!-- <div class="d-none d-md-block col-1 arrowIcon" style="position: absolute; right: 5px;">
<a href=".html"><i class="fas fa-caret-right fa-2x"></i></a>
</div> -->
</div>
<!-- end of row 1 -->
</div>
<!-- end of landing section -->
<div class="overlay"></div>
<!-- svg goo filter DO NOT DELETE-->
<svg version="1.1" xmlns="https://www.w3.org/2000/svg" style="height: 0; width: 0; position: absolute; top: -9999px; left: -99990px">
<defs>
<filter color-interpolation-filters="sRGB" id="goo">
<feGaussianBlur in="SourceGraphic" stdDeviation="13" result="blur" />
<feColorMatrix in="blur" mode="matrix" values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 21 -9"
result="cm" />
<feBlend />
</filter>
</defs>
</svg>
<!-- Boostrap JavaScript -->
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.0/umd/popper.min.js"
integrity="sha384-cs/chFZiN24E4KMATLdqdvsezGxaGsi4hLGOzlXwp5UZB1LY//20VyM2taTB4QvJ"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js" integrity="sha384-uefMccjFJAIv6A+rW+L4AHf99KvxDjWSu1z9VI8SKNVmz4sk7buKt/6v9KI65qnm"
crossorigin="anonymous"></script>
<!-- jQuery Custom Scroller CDN -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/malihu-custom-scrollbar-plugin/3.1.5/jquery.mCustomScrollbar.concat.min.js"></script>
<!-- GSAP -->
<script type="text/javascript" src="./js/TweenMax.min.js"></script>
<script type="text/javascript" src="./js/DrawSVGPlugin.min.js"></script>
<script type="text/javascript" src="./js/MorphSVGPlugin.min.js"></script>
<!-- Lottie -->
<script type="text/javascript" src="./js/lottie.js"></script>
<!-- ScrollMagic JavaScript -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/ScrollMagic/2.0.6/ScrollMagic.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/ScrollMagic/2.0.5/plugins/animation.gsap.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/ScrollMagic/2.0.5//plugins/debug.addIndicators.js"></script>
<script type="text/javascript" src="./js/main.js"></script>
<!-- change to own js files -->
<script type="text/javascript" src="./js/index.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('[data-toggle="tooltip"]').tooltip({
placement: "top"
});
});
</script>
</body>
</html>