forked from librespeed/speedtest
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
72 lines (61 loc) · 2.16 KB
/
Copy pathindex.html
File metadata and controls
72 lines (61 loc) · 2.16 KB
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
<!doctype html>
<html lang="en">
<head>
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no, user-scalable=no"
/>
<meta charset="UTF-8" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link
rel="preconnect"
href="https://fonts.gstatic.com"
crossorigin
/>
<link
href="https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;400;500;700&family=Instrument+Serif:ital@0;1&display=swap"
rel="stylesheet"
/>
<link rel="icon" type="image/png" href="./assets/favicon.png" />
<script type="module">
import { createApp } from "vue";
import { createPinia } from "pinia";
import App from "./App.vue";
import { router } from "./router/index.ts";
import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome";
import { library } from "@fortawesome/fontawesome-svg-core";
import {
faRotateRight,
faClipboard,
faPause,
faPlay,
faPaintRoller,
} from "@fortawesome/free-solid-svg-icons";
library.add(
faRotateRight,
faClipboard,
faPause,
faPlay,
faPaintRoller,
);
const app = createApp(App);
const pinia = createPinia();
app.use(pinia);
app.use(router);
app.component("font-awesome-icon", FontAwesomeIcon).mount("#app");
</script>
<script type="module">
const key = import.meta.env.VITE_GOOGLE_MAPS_KEY;
if (key) {
const s = document.createElement("script");
s.src = `https://maps.googleapis.com/maps/api/js?key=${key}&libraries=places`;
s.async = true;
document.head.appendChild(s);
}
</script>
<title>speedtest.fi</title>
</head>
<body>
<div style="display: contents" id="app"></div>
</body>
</html>