-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
90 lines (81 loc) · 2.93 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>{{title}}</title>
<meta name="description" content="{{description}}" />
<meta property="title" content="{{title}}" />
<!-- <meta name="viewport" content="width=device-width, initial-scale=1" /> -->
<meta
name="viewport"
content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no,shrink-to-fit=no,viewport-fit=cover"
/>
<link rel="icon" type="images/svg+xml" href="/icons/preact.svg" />
<link rel="manifest" id="manifest" />
<meta name="theme-color" content="#ffffff" />
<link rel="apple-touch-icon" sizes="192x192" href="/images/icon-192x192.png" />
<lin rel="canonical" href="{{url}}" />
<meta name="keywords" content="Preact, react, web chat, spa" />
<meta name="google" content="notranslate" />
<meta name="mobile-web-app-title" content="{{title}}" />
<meta name="apple-mobile-web-app-title" content="{{title}}" />
<!-- open graph -->
<meta property="og:title" content="{{title}}" />
<meta
name="og:description"
content="Web chat based on Preact ( Fast 3kB alternative to React with the same modern API )"
/>
<meta property="og:url" content="{{title}}" />
<meta property="og:type" content="website" />
<meta property="og:image" content="/images/banner.jpg" />
<meta property="og:site_name" content="{{title}}" />
<!-- twitter -->
<meta name="twitter:card" content="summary_large_image" />
<meta property="twitter:title" content="{{title}}" />
<meta
name="twitter:description"
content="Web chat based on Preact ( Fast 3kB alternative to React with the same modern API )"
/>
<meta property="twitter:url" content="{{url}}" />
<meta property="twitter:type" content="website" />
<meta property="twitter:image" content="/images/banner.jpg" />
<meta name="twitter:image:alt" content="{{title}}" />
</head>
<body>
<style>
body {
margin: 0;
}
.disabled-js-notify {
padding-inline: 10px;
height: 100dvh;
margin: 0;
font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Apple Color Emoji',
'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;
text-align: center;
font-weight: 500;
font-size: 1.3rem;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
.empty-duck {
width: 300px;
user-select: none;
pointer-events: none;
}
</style>
<div id="app">
<noscript>
<div class="disabled-js-notify">
Please, enable JavaScript to open the app.
<img class="empty-duck" src="/duck_empty.gif" />
</div>
</noscript>
</div>
<div id="portal"></div>
<script type="module" src="/src/index.tsx"></script>
</body>
</html>