-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.svelte
74 lines (66 loc) · 1.92 KB
/
index.svelte
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
<script lang="ts">
import CodeEditor from '$lib/components/CodeEditor.svelte';
import Header from '$lib/components/Header.svelte';
import About from '$lib/components/About.svelte';
const d = new Date();
const version = `${d.getFullYear()}_${
d.getMonth() + 1
}_${d.getDate()}__${d.getHours()}_${d.getMinutes()}_${d.getSeconds()}`;
</script>
<svelte:head>
<link rel="icon" href="/favicon.png?version={version}" />
<link rel="apple-touch-icon" href="/images/icons/apple-touch-icon.png?version={version}" />
<link
rel="apple-touch-icon"
sizes="57x57"
href="/images/icons/apple-touch-icon-57x57.png?version={version}"
/>
<link
rel="apple-touch-icon"
sizes="72x72"
href="/images/icons/apple-touch-icon-72x72.png?version={version}"
/>
<link
rel="apple-touch-icon"
sizes="76x76"
href="/images/icons/apple-touch-icon-76x76.png?version={version}"
/>
<link
rel="apple-touch-icon"
sizes="114x114"
href="/images/icons/apple-touch-icon-114x114.png?version={version}"
/>
<link
rel="apple-touch-icon"
sizes="120x120"
href="/images/icons/apple-touch-icon-120x120.png?version={version}"
/>
<link
rel="apple-touch-icon"
sizes="144x144"
href="/images/icons/apple-touch-icon-144x144.png?version={version}"
/>
<link
rel="apple-touch-icon"
sizes="152x152"
href="/images/icons/apple-touch-icon-152x152.png?version={version}"
/>
<link
rel="apple-touch-icon"
sizes="180x180"
href="/images/icons/apple-touch-icon-180x180.png?version={version}"
/>
<link rel="manifest" href="manifest.json?version={version}" />
</svelte:head>
<main>
<div id="app" class="mx-2 my-2 font-sans app lg:mx-2 lg:my-2">
<Header />
<CodeEditor />
<footer class="px-4 py-2 mt-4 font-normal blok fixed-block">
Minimalist installable <a class="link" href="https://jsonformatter.com/">json formatter</a
>,editor and minifier designed to maximize productivity
</footer>
<About />
</div>
</main>
<style lang="scss"></style>