mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-20 14:37:43 +01:00
47 lines
1.7 KiB
HTML
47 lines
1.7 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<!-- 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>
|
|
|
|
<meta charset="utf-8" />
|
|
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
|
|
<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>
|
|
|
|
<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">
|
|
|
|
<title>movie-web</title>
|
|
</head>
|
|
<body>
|
|
<noscript style="color: var(--text)">You need to enable JavaScript to run this app.</noscript>
|
|
<div id="root"></div>
|
|
</body>
|
|
</html>
|