-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
38 lines (37 loc) · 1.38 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
<!DOCTYPE html>
<html lang="{{i18nLang}}">
<head>
<meta charset="utf-8">
<title>{{siteTitle}}</title>
<link rel="stylesheet" href="./assets/main.scss" />
</head>
<body>
<div class="contextProgressZone">
<label for="debugProgress" id="debugProgressTitle"></label>
<progress id="debugProgress"></progress>
</div>
<div class="nav">
<div class="mid">
<span class="title">{{siteTitle}}</span>
<span class="github"><a href="https://github.com/SergioSim/DataVizOfGHarchive" target="_blank" class="github-link"><img src="./assets/GitHub-Mark-Light-32px.png"></a></span>
</div>
<div class="flags">
<span class="en"><img src="https://lipis.github.io/flag-icon-css/flags/4x3/gb.svg" alt="english" /></span>
<span class="fr"><img src="https://lipis.github.io/flag-icon-css/flags/4x3/fr.svg" alt="french" /></span>
</div>
</div>
<div class="analysis-container"></div>
<pre id="debug" class="debug"></pre>
<svg id="donut-chart"></svg>
<script src="./index.js"></script>
<script>
// Check that service workers are registered
if ('serviceWorker' in navigator) {
// Use the window load event to keep the page load performant
window.addEventListener('load', () => {
navigator.serviceWorker.register('/sw.js');
});
}
</script>
</body>
</html>