-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.html
More file actions
65 lines (58 loc) · 2.5 KB
/
app.html
File metadata and controls
65 lines (58 loc) · 2.5 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
<!doctype html>
<html lang="%paraglide.lang%">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!-- PWA -->
<link rel="manifest" href="/manifest.json" />
<meta name="theme-color" content="#2d2d2d" />
<meta name="mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
<meta name="apple-mobile-web-app-title" content="KARL" />
<link rel="apple-touch-icon" href="/icon-192.png" />
<!-- Open Graph / Social Media -->
<meta property="og:type" content="website" />
<meta property="og:url" content="https://karl-helps.org/" />
<meta property="og:title" content="KARL - Therapieplatz finden" />
<meta property="og:description" content="Therapieplatz finden, ohne den Verstand zu verlieren. KARL hilft dir Schritt für Schritt." />
<meta property="og:image" content="https://karl-helps.org/og-image.png" />
<!-- Twitter -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="KARL - Therapieplatz finden" />
<meta name="twitter:description" content="Therapieplatz finden, ohne den Verstand zu verlieren. KARL hilft dir Schritt für Schritt." />
<meta name="twitter:image" content="https://karl-helps.org/og-image.png" />
<script>
// prevent FOUC for dark mode and style theme
(function() {
const stored = localStorage.getItem('karl-theme');
let colorMode = 'light';
let style = 'handdrawn';
if (stored) {
// backward compat: old format was just 'light' or 'dark'
if (stored === 'light' || stored === 'dark') {
colorMode = stored;
} else {
try {
const parsed = JSON.parse(stored);
colorMode = parsed.colorMode || 'light';
style = parsed.style || 'handdrawn';
} catch {}
}
} else {
colorMode = window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light';
}
if (colorMode === 'dark') {
document.documentElement.classList.add('dark');
}
document.documentElement.classList.add('theme-' + style);
})();
</script>
%sveltekit.head%
<!-- umami analytics (cookieless) -->
<script defer src="https://stats.faeller.me/karl/script.js" data-website-id="c4196d63-50f3-48d2-b422-6e4d22f784bf" data-host-url="https://stats.faeller.me/karl"></script>
</head>
<body data-sveltekit-preload-data="hover">
<div style="display: contents">%sveltekit.body%</div>
</body>
</html>