movie-web/public/index.html

48 lines
1.7 KiB
HTML
Raw Normal View History

2021-07-14 00:31:37 +02:00
<!DOCTYPE html>
<html lang="en">
<head>
2021-07-26 21:55:45 +02:00
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-44YVXRL61C"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-44YVXRL61C');
</script>
2021-07-14 00:31:37 +02:00
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
2021-08-02 16:17:10 +02:00
<script>
const metaTag = document.createElement('meta');
let hash = document.location.hash;
metaTag.name = 'description';
if (!hash || ['#/movie', '#/show'].includes(hash)) {
metaTag.content = 'because watching movies legally is boring';
} else {
let components = hash.split('/');
metaTag.content = `watch the ${components[1]} "${components[3]}" from ${components[2]} on movie-web`
}
document.getElementsByTagName('head')[0].append(metaTag);
</script>
2021-07-14 01:17:34 +02:00
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#E880C5">
<meta name="msapplication-TileColor" content="#E880C5">
<meta name="theme-color" content="#E880C5">
2021-07-14 00:31:37 +02:00
<title>movie-web</title>
</head>
<body>
2021-07-15 00:09:42 +02:00
<noscript style="color: var(--text)">You need to enable JavaScript to run this app.</noscript>
2021-07-14 00:31:37 +02:00
<div id="root"></div>
</body>
</html>