97 lines
3.6 KiB
HTML
97 lines
3.6 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<title>__SEO_TITLE__</title>
|
|
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<meta name="theme-color" content="#e82517" />
|
|
<script>
|
|
(() => {
|
|
const cookies = Object.fromEntries(
|
|
document.cookie.split('; ').filter(Boolean).map((item) => {
|
|
const separator = item.indexOf('=')
|
|
const key = separator === -1 ? item : item.slice(0, separator)
|
|
const value = separator === -1 ? '' : item.slice(separator + 1)
|
|
try {
|
|
return [decodeURIComponent(key), decodeURIComponent(value)]
|
|
} catch {
|
|
return [key, value]
|
|
}
|
|
}),
|
|
)
|
|
|
|
let theme = cookies['tssbot_theme']
|
|
if (!theme) {
|
|
try {
|
|
theme = localStorage.getItem('tssbot.theme')
|
|
} catch {}
|
|
}
|
|
theme = theme === 'dark' ? 'dark' : 'light'
|
|
|
|
let analyticsPreferences = null
|
|
const serializedPreferences = cookies['tssbot_analytics_preferences']
|
|
try {
|
|
analyticsPreferences = JSON.parse(
|
|
serializedPreferences || localStorage.getItem('tssbot.analyticsPreferences') || 'null',
|
|
)
|
|
} catch {}
|
|
|
|
window.__TSS_BOOT_PREFERENCES__ = { analyticsPreferences, theme }
|
|
window.__TSS_BOOT_DATA__ = __TSS_BOOT_DATA__
|
|
document.documentElement.dataset.theme = theme
|
|
document.documentElement.style.colorScheme = theme
|
|
document.querySelector('meta[name="theme-color"]')?.setAttribute(
|
|
'content',
|
|
theme === 'dark' ? '#101211' : '#e82517',
|
|
)
|
|
})()
|
|
</script>
|
|
<meta name="tss-turnstile-session" content="__TURNSTILE_SESSION__" />
|
|
<meta
|
|
name="description"
|
|
content="__SEO_DESCRIPTION__"
|
|
/>
|
|
<meta
|
|
name="keywords"
|
|
content="TSS Bot, Toothless TSS Bot, War Thunder TSS, TSS leaderboard, TSS battle logs, TSS teams"
|
|
/>
|
|
<meta name="author" content="Toothless' TSS Bot" />
|
|
<meta name="robots" content="__SEO_ROBOTS__" />
|
|
<link rel="canonical" href="__SEO_CANONICAL__" />
|
|
|
|
<meta property="og:site_name" content="Toothless' TSS Bot" />
|
|
<meta property="og:type" content="website" />
|
|
<meta property="og:url" content="__SEO_CANONICAL__" />
|
|
<meta property="og:title" content="__SEO_TITLE__" />
|
|
<meta
|
|
property="og:description"
|
|
content="__SEO_DESCRIPTION__"
|
|
/>
|
|
<meta property="og:image" content="__PUBLIC_ORIGIN__/embed.svg" />
|
|
<meta property="og:image:secure_url" content="__PUBLIC_ORIGIN__/embed.svg" />
|
|
<meta property="og:image:type" content="image/svg+xml" />
|
|
<meta property="og:image:width" content="1200" />
|
|
<meta property="og:image:height" content="630" />
|
|
<meta property="og:image:alt" content="Toothless' TSS Bot share card" />
|
|
<meta property="og:logo" content="__PUBLIC_ORIGIN__/embed-icon.svg" />
|
|
<meta name="twitter:card" content="summary_large_image" />
|
|
<meta name="twitter:title" content="__SEO_TITLE__" />
|
|
<meta
|
|
name="twitter:description"
|
|
content="__SEO_DESCRIPTION__"
|
|
/>
|
|
<meta name="twitter:image" content="__PUBLIC_ORIGIN__/embed.svg" />
|
|
<meta name="twitter:image:alt" content="Toothless' TSS Bot share card" />
|
|
<link rel="icon" type="image/svg+xml" href="/embed-icon.svg" />
|
|
<link rel="apple-touch-icon" href="/embed-icon.svg" />
|
|
<script type="application/ld+json" id="site-structured-data">
|
|
__SEO_JSON_LD__
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
<script type="module" src="/src/main.jsx"></script>
|
|
</body>
|
|
</html>
|