This repository has been archived by the owner on Apr 19, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.html
67 lines (61 loc) · 2.52 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="og:type" content="object">
<meta property="og:site_name" content="Popcorn.moe">
<meta id="og:image" property="og:image" content="https://popcorn.moe/static/logo.png">
<meta id="og:description" property="og:description" content="An anime streaming website">
<meta id="description" name="description" content="An anime streaming website">
<meta id="og:url">
<meta id="og:title">
<meta id="og:video">
<meta id="og:video:type">
<meta id="prerender-status-code">
<meta name="twitter:card" content="summary" />
<meta name="twitter:title" content="Popcorn.moe" />
<meta name="twitter:image" content="https://popcorn.moe/static/logo.png" />
<meta id="meta-author" name="author" content="Popcorn.moe">
<meta name="fragment" content="!">
<meta name="theme-color" content="#f6416c">
<title>Popcorn.moe</title>
<link rel="manifest" href="/static/manifest.json">
<link rel="icon" type="image/png" sizes="16x16" href="/static/logo-16.png">
<link rel="icon" type="image/png" sizes="32x32" href="/static/logo-32.png">
<link rel="icon" type="image/png" sizes="192x192" href="/static/logo-192.png">
<link rel="icon" type="image/png" sizes="512x512" href="/static/logo-512.png">
<!-- Add to home screen for Safari on iOS -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="Popcorn.moe">
<link rel="apple-touch-icon" sizes="192x192" href="/static/logo-192.png">
<link rel="apple-touch-icon" sizes="512x512" href="/static/logo-512.png">
<script>window.prerenderReady = false;</script>
</head>
<body style="margin: 0">
<noscript>
This website require javascript to work
</noscript>
<div id="app">
<style>
#root {
height: 25%;
width: 25%;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
</style>
${require('!!html-loader!./src/assets/loader.svg')}
<script>
if (localStorage.getItem('darkTheme') === 'true')
document.getElementById('app').style = 'background: #111111;height: 100vh;';
</script>
</div>
<script>
${require('fs').readFileSync('./build/service-worker-loader.js', 'utf-8')}
</script>
</body>
</html>