-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
105 lines (92 loc) · 3.16 KB
/
index.html
File metadata and controls
105 lines (92 loc) · 3.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
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
102
103
104
105
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="./icon-animated.png" type="image/png" sizes="48x48" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<link rel="stylesheet" href="/fonts/fonts.css" />
<!-- Basic Meta -->
<title>Clocktopus</title>
<meta name="description" content="Web app to clock your time on tasks.">
<!-- Open Graph -->
<meta property="og:type" content="website">
<meta property="og:site_name" content="Clocktopus">
<meta property="og:title" content="Tracker">
<meta property="og:description" content="Web app to clock your time on tasks.">
<meta property="og:url" content="https://prettycoffee.github.io/clocktopus/">
<meta property="og:image" content="https://prettycoffee.github.io/clocktopus/preview-og.png">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta property="og:image:alt" content="Clocktopus – time tracker">
<!-- Locale -->
<meta property="og:locale" content="en_US">
<meta property="og:locale:alternate" content="de_DE">
<!-- Twitter -->
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Clocktopus">
<meta name="twitter:description" content="Web app to clock your time on tasks.">
<meta name="twitter:image" content="https://prettycoffee.github.io/clocktopus/preview-og.png">
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<script type="module" src="/src/main.tsx"></script>
<div id="root">
<!-- Spinner to be displayed while javascript is loading, content will be removed when react mounts the app -->
<div class="spinner">
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<g>
<circle
cx="12"
cy="12"
r="9.5"
fill="none"
strokeWidth="2"
strokeLinecap="round"
/>
</g>
</svg>
</div>
<style>
@keyframes spin {
to { transform: rotate(360deg); }
}
@keyframes stroke-offset {
0% { stroke-dasharray: 0 150; stroke-dashoffset: 0; }
47.5% { stroke-dasharray: 42 150; stroke-dashoffset: -16; }
95%,100% { stroke-dasharray: 42 150; stroke-dashoffset: -59; }
}
:root {
--light: oklch(0.923 0.003 11.638);
--dark: oklch(0.147 0.004 11.638);
@media (prefers-color-scheme: light) {
color: var(--dark);
background: var(--light);
}
@media (prefers-color-scheme: dark) {
color: var(--light);
background: var(--dark);
}
}
#root > .spinner {
display: grid;
place-items: center;
height: 100dvh;
width: 100dvw;
> svg {
stroke: currentColor;
height: 6rem;
width: 6rem;
> g {
transform-origin: center;
animation: spin 1s linear infinite;
> circle {
animation: stroke-offset 2s ease-in-out infinite;
}
}
}
}
</style>
</div>
</body>
</html>