-
Notifications
You must be signed in to change notification settings - Fork 62
/
html.js
67 lines (59 loc) · 2.54 KB
/
html.js
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
// This is where the modification of the html has to be done
export default `<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Hemmelig.app - Paste a password, confidential message, or private data.</title>
<link rel="icon" href="/static/favicon.ico" />
<link rel="shortcut icon" href="/static/favicon.ico" />
<link rel="manifest" href="/static/manifest.json" />
<!-- Primary Meta Tags -->
<meta name="title" content="Paste a password, confidential message, or private data." />
<meta
name="description"
content="Ensure your sensitive data remains encrypted, secure, and confidential."
/>
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website" />
<meta property="og:url" content="https://www.hemmelig.app/" />
<meta
property="og:title"
content="Paste a password, confidential message, or private data."
/>
<meta
property="og:description"
content="Ensure your sensitive data remains encrypted, secure, and confidential."
/>
<meta property="og:image" content="/static/icons/icon-512x512.png" />
<!-- Twitter -->
<meta property="twitter:card" content="/static/summary_large_image" />
<meta property="twitter:url" content="https://www.hemmelig.app/" />
<meta
property="twitter:title"
content="Paste a password, confidential message, or private data."
/>
<meta
property="twitter:description"
content="Ensure your sensitive data remains encrypted, secure, and confidential."
/>
<meta property="twitter:image" content="/static/icons/icon-512x512.png" />
<meta name="theme-color" content="#231e23" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<meta name="mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<link rel="apple-touch-icon" href="/static/icons/maskable-icon-192x192.png" />
<script id="__secret_config">
try {
window.__SECRET_CONFIG = {{config}}
} catch (e) {
window.__SECRET_CONFIG = '';
}
</script>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script type="module" src="/index.jsx"></script>
</body>
</html>
`;