-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
97 lines (84 loc) · 3.37 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
<!DOCTYPE html>
<html>
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-57661254-3"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-57661254-3');
</script>
<title>funsorting!</title>
<meta http-equiv="content-type" content="text/html; charset=UTF8">
<meta name="description" content="Easy way to learn sorting algorithms">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="shortcut icon" type="image/x-icon" href="/assets/funlogo.png"/>
<link href="https://fonts.googleapis.com/css?family=VT323" rel="stylesheet">
<style>
body {
font-family: 'VT323', monospace;
background-image: url('src/assets/background.jpg');
background-repeat: repeat;
background-position: center top;
background-size: 100%;
}
#app {
width: 80%;
}
.tour {
position:absolute;
display: flex;
opacity: 0;
transition: opacity 1.5s ease;
}
.tour.showing {
opacity: 1;
}
.tour div {
background-color: #e8e6846b;
padding: 0.2rem;
}
.tour img {
width: 2rem;
height: 2rem;
}
#tourShufflerButtons img, #tourSorterMethods img {
transform: rotate(180deg);
}
#tourShufflerButtons div {
width: 20rem;
}
</style>
<script async defer src="https://buttons.github.io/buttons.js"></script>
<meta property="og:title" content="funsorting!">
<meta property="og:description" content="Easy way to learn sorting algorithms">
<meta property="og:image" content="https://funsorting.github.io//assets/funlogo200.png">
<meta property="og:url" content="http://funsorting.github.io">
</head>
<body>
<a href="https://github.com/funsorting/funsorting.github.io"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png" alt="Fork me on GitHub"></a>
<center>
<img src="src/assets/logo.png" />
<div id="app" class="app"></div>
<span>for programmers made with <span style="color: #e25555;">♥</span> by programmers</span>
<br /><br />
<!-- Place this tag where you want the button to render. -->
<a class="github-button" href="https://github.com/funsorting/funsorting.github.io" data-icon="octicon-star" data-show-count="true" aria-label="Star funsorting/funsorting.github.io on GitHub">Star</a>
<br /><br />
<div id="tourShufflerButtons" class="tour">
<img src="src/assets/arrow.png" />
<div>The way of how original data are organized can make huge difference, try changing that!</div>
</div>
<div id="tourSoundButton" class="tour">
<div>Sound helps understand the sorting, and it's fun!</div>
<img src="src/assets/arrow.png" />
</div>
<div id="tourSorterMethods" class="tour">
<img src="src/assets/arrow.png" />
<div>These are different sorting algorithms, see how different they act!</div>
</div>
<script src="src/lib/tour.js"></script>
</center>
<script type="text/javascript" src="src/index_bundle.js"></script></body>
</html>