-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdemo.html
73 lines (73 loc) · 3.43 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<!doctype html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0">
<title>demo page</title>
<link rel="stylesheet" href="style.css">
<link rel="shortcut icon" href="favicon.ico">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-giJF6kkoqNQ00vy+HMDP7azOuL0xtbfIcaT9wjKHr8RbDVddVHyTfAAsrekwKmP1" crossorigin="anonymous">
</head>
<body>
<nav class="navbar navbar-expand-md navbar-dark bg-dark fixed-top">
<div class="container-fluid">
<div class="collapse navbar-collapse" id="navbarCollapse">
<ul class="navbar-nav ms-auto mb-2 mb-md-0">
<li class="nav-item">
<a class="nav-link force-cursor" href="/?r=y&c=tutorial()">Tutorial</a>
</li>
<li class="nav-item">
<a class="nav-link force-cursor" href="/ide/">IDE</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="/" id="navbarDropdown">
Examples
</a>
</li>
</ul>
</div>
<div class="mx-auto order-0" style="padding-left: 2rem; padding-right: 2rem">
<a class="navbar-brand" href="/">
<img src="/logo.png" style="height: 2rem; padding-right: 0.5rem;">
Kuroko
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
</div>
<div class="collapse navbar-collapse" id="navbarCollapse">
<ul class="navbar-nav me-auto mb-2 mb-md-0">
<li class="nav-item">
<a class="nav-link" href="https://github.com/kuroko-lang/kuroko">Github</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://github.com/kuroko-lang/kuroko/releases">Downloads</a>
</li>
<li class="nav-item">
<a class="nav-link active" href="/docs/">Docs</a>
</li>
</ul>
</div>
</div>
</nav>
<main class="container">
<div class="bg-light p-5 rounded text-center">
<p class="lead">
Demo content goes here.
<script type="text/kuroko">
document.title = 'Kuroko Demo Page'[::-1]
document.querySelector("p.lead").append(str([i**i for i in range(50)]))
</script>
</p>
</div>
<footer class="container text-center mb-3 mt-3">
<p class="mb-0">Copyright 2020-2021 <a href="https://github.com/klange">K. Lange</a></p>
<p class="mb-0">Powered by <a href="https://emscripten.org">emscripten</a>, <a href="https://ace.c9.io/">Ace</a>, and <a href="https://getbootstrap.com/">Bootstrap</a>.</p>
</footer>
</main>
<script type="text/javascript" src="demo.js"></script>
<script async type="text/javascript" src="index.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/js/bootstrap.bundle.min.js" integrity="sha384-ygbV9kiqUc6oa4msXn9868pTtWMgiQaeYH7/t7LECLbyPA2x65Kgf80OJFdroafW" crossorigin="anonymous"></script>
</body>
</html>