generated from nhcarrigan/template
2a0a3511b4
- Add Plausible analytics script to index.html - Add Open Graph and Twitter Card meta tags using the CDN background image - Add Tree-Nation widget loader, init script, and badge div in sidebar - Add Google Ads script - Make game sidebar sticky with --resource-bar-height offset (3.5rem) - Reset sidebar sticky properties in mobile responsive override
47 lines
1.9 KiB
HTML
47 lines
1.9 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Elysium — Idle RPG</title>
|
|
<meta name="description" content="An idle fantasy RPG — hire adventurers, defeat bosses, and ascend to glory." />
|
|
|
|
<!-- Open Graph -->
|
|
<meta property="og:title" content="Elysium — Idle RPG" />
|
|
<meta property="og:description" content="An idle fantasy RPG — hire adventurers, defeat bosses, and ascend to glory." />
|
|
<meta property="og:type" content="website" />
|
|
<meta property="og:url" content="https://elysium.nhcarrigan.com" />
|
|
<meta property="og:image" content="https://cdn.nhcarrigan.com/elysium/background.jpg" />
|
|
<meta property="og:site_name" content="Elysium" />
|
|
|
|
<!-- Twitter Card -->
|
|
<meta name="twitter:card" content="summary_large_image" />
|
|
<meta name="twitter:title" content="Elysium — Idle RPG" />
|
|
<meta name="twitter:description" content="An idle fantasy RPG — hire adventurers, defeat bosses, and ascend to glory." />
|
|
<meta name="twitter:image" content="https://cdn.nhcarrigan.com/elysium/background.jpg" />
|
|
|
|
<!-- Plausible Analytics -->
|
|
<script defer data-domain="elysium.nhcarrigan.com" src="https://plausible.io/js/script.js"></script>
|
|
|
|
<!-- Tree-Nation -->
|
|
<script defer src="https://widgets.tree-nation.com/js/widgets/v1/widgets.min.js?v=1.0"></script>
|
|
<script>
|
|
(function () {
|
|
var interval = setInterval(function () {
|
|
if (typeof TreeNation !== "undefined") {
|
|
clearInterval(interval);
|
|
TreeNation.renderAll();
|
|
}
|
|
}, 100);
|
|
}());
|
|
</script>
|
|
|
|
<!-- Google Ads -->
|
|
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3569924701890974" crossorigin="anonymous"></script>
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
<script type="module" src="/src/main.tsx"></script>
|
|
</body>
|
|
</html>
|