-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
51 lines (43 loc) · 1.89 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
<!doctype html>
<html lang="en">
<head>
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title></title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
integrity="sha256-YvdLHPgkqJ8DVUxjjnGVlMMJtNimJ6dYkowFFvp4kKs=" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource/[email protected]/latin-300.css"
integrity="sha256-69VEtqsA54dXolmlOOpB6AUTkUBjI8SjBKCQ7ycib6I=" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource/[email protected]/latin-700.css"
integrity="sha256-tB5d+zyWiHQFQmJbLkUB/R3yq3K5zmN+38cBOZBwjkg=" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource/[email protected]/latin-300.css"
integrity="sha256-/bTf0ZdBXp9eQn0Xbgim3IoygJpVg108KstIe5AKO7E=" crossorigin="anonymous">
<style>
body {
font-weight: 300;
font-family: "Roboto";
}
strong {
font-weight: 700;
}
code {
font-weight: 300 !important;
font-size: 1em;
font-family: "Roboto Mono" !important;
}
</style>
</head>
<body>
<pug src="/examples/index.pug" />
<script type="module">
import * as treemaprenderer from '/examples/index.ts';
window['treemaprenderer'] = treemaprenderer;
document.title = __LIB_NAME__;
document.querySelector('#version').innerHTML = treemaprenderer.version();
document.querySelector('#branch').innerHTML = treemaprenderer.branch();
document.querySelector('#commit').innerHTML = treemaprenderer.commit();
document.querySelector('#cryear').innerHTML = new Date().getFullYear();
</script>
</body>
</html>