-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
101 lines (94 loc) · 5.05 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
<!DOCTYPE html>
<html lang="es" dir="ltr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Planeta Miller</title>
<!-- Favicon -->
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="icon" href="favicon.ico" type="image/x-icon">
<!--CSS -->
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-giJF6kkoqNQ00vy+HMDP7azOuL0xtbfIcaT9wjKHr8RbDVddVHyTfAAsrekwKmP1" crossorigin="anonymous">
<link rel="stylesheet" href="css/main.css">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap" rel="stylesheet">
</head>
<body>
<header>
<ul class="nav nav-pills nav-fill">
<li class="nav-item">
<a id='mainTitle' class="nav-link active" aria-current="page" href="#" onclick="playSoundtrack();">⏳ INTERESTELAR</a>
<div class="spinner-grow text-light" role="status">
<span class="visually-hidden"></span>
</div>
</li>
</ul>
</header>
<section class="content text-light py-2 rounded">
<div class="col-12 text-center">
<h3 id="preTextTime">Han pasado aproximadamente</h3>
</div>
<div class="time my-2 text-center">
<p id="time">-- minutos</p>
</div>
<div class="col-12 text-center">
<h3 id="afterTextTime">en el planeta Miller desde el estreno de la película en 2014</h3>
</div>
<div class="col-12 text-center">
<h6 id="timeToWatchInterstellar">
faltan <span id="remainingDaysToWatch">X</span> días para que Miller haya tenido tiempo suficiente para mirar la película
</h6>
</div>
</section>
<section id="btnSnapshot" class="py-2 text-center">
<input id="btnGenSnapshot" class="btn btn-dark" onclick="takeSnapshot();" type="button" value="Screenshot">
<input id="btnShuffleQuote" class="btn btn-dark px-3" onclick="renderRandomQuote();" type="button" value="∞">
<input id="btnPlayMusic" class="btn btn-dark px-3" onclick="playSoundtrack();" type="button" value="Música">
</section>
<section class="content text-light py-2 px-2 text-center rounded">
<div class="phrase">
<p class="lead font-italic" id="phrase"></p>
<hr>
<p class="lead font-italic" id="author"></p>
</div>
</section>
<a href="#" id="imageDownloader" hidden></a>
<div id='credits' class="content text-light text-center mt-4 rounded" hidden>
<p>+) https://dbetm.github.io/time-miller</p>
</div>
<footer id="footer" class="container-fluid py-2 bg-light text-center">
<div id="langSelector" class="form-check form-switch d-flex justify-content-center my-2">
<input id="switchLang" class="form-check-input px-3" type="checkbox" role="switch" onchange="switchLang();">
<label id="lblSwitchLang" class="form-check-label px-3" for="switchLang">Español / Spanish</label>
</div>
<p>
<a id="refMusic" href="https://soundcloud.com/musicmike512/interstellar-hans-zimmer-main-themefirst-step-piano-cover" target="_blank">Música de fondo - First step</a>
</p>
<p>
<a id="refContribute" href="https://github.com/dbetm/time-miller" target="_blank">Contribuye en GitHub +)</a>
</p>
</footer>
<audio id="soundtrack">
<source src="assets/audios/FirstStep.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
<!-- Bootstrap Bundle with Popper -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-ygbV9kiqUc6oa4msXn9868pTtWMgiQaeYH7/t7LECLbyPA2x65Kgf80OJFdroafW" crossorigin="anonymous"></script>
<!-- JS -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/build/global/luxon.min.js" integrity="sha256-OVk2fwTRcXYlVFxr/ECXsakqelJbOg5WCj1dXSIb+nU=" crossorigin="anonymous"></script>
<script src="libs/html2canvas.min.js" charset="utf-8"></script>
<!-- My app -->
<script src="js/utils.js" charset="utf-8"></script>
<script src="js/app.js" charset="utf-8"></script>
<script src="js/translation.js" charset="utf-8"></script>
<script src="assets/quotes.json" charset="utf-8"></script>
<script type="text/javascript">
renderTextTranslated();
renderLangSwitcher();
renderTime();
renderTimeLeftForMillerToWatchMovie();
renderRandomQuote();
</script>
</body>
</html>