-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
66 lines (56 loc) · 2.15 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- Disable iframes to prevent click-hijacking attacks -->
<meta http-equiv="Content-Security-Policy" content="frame-ancestors none" />
<meta key="og:title" property="og:title" content="Koyeb" />
<meta key="og:type" property="og:type" content="website" />
<meta
key="og:description"
property="og:description"
content="Koyeb is a developer-friendly serverless platform to deploy apps globally. No-ops, servers, and infrastructure management."
/>
<meta
key="og:image"
property="og:image"
content="https://www.koyeb.com/static/images/illustrations/og/koyeb-home.png"
/>
<meta key="og:image:width" property="og:image:width" content="1200" />
<meta key="og:image:height" property="og:image:height" content="630" />
<meta key="twitter:site" name="twitter:site" content="@gokoyeb" />
<meta key="twitter:card" name="twitter:card" content="summary_large_image" />
<meta key="twitter:create" name="twitter:creator" content="@gokoyeb" />
<meta
key="twitter:image"
name="twitter:image"
content="https://www.koyeb.com/static/images/illustrations/og/koyeb-home.png"
/>
<meta key="itemPropName" itemprop="name" content="Koyeb" />
<meta
key="itemPropDesc"
itemprop="description"
content="Koyeb is a developer-friendly serverless platform to deploy apps globally. No-ops, servers, and infrastructure management."
/>
<link rel="manifest" href="/manifest.json" />
<title>Koyeb</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
<script defer>
document.documentElement.classList.add(getTheme());
function getTheme() {
const theme = localStorage.getItem('koyeb.theme');
if (theme === 'dark' || theme === 'light') {
return theme;
}
if (window.matchMedia('(prefers-color-scheme: dark)').matches) {
return 'dark';
}
return 'light';
}
</script>
</body>
</html>