Every page previously titled 'Corrosion Management' with zero meta - marketing invisible to search and link previews. Router afterEach now sets title/description/og per route (no new deps); marketing pages get real content-backed descriptions, panel views mechanical titles. index.html carries defaults for pre-JS crawlers. Verified in-browser per page via Playwright. test-runner.yml: per-tool presence checks instead of green-lighting missing toolchains; workflow_dispatch instead of every push. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
45 lines
2.3 KiB
HTML
45 lines
2.3 KiB
HTML
<!doctype html>
|
|
<html lang="en" class="dark" data-theme="dark" data-game="rust">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<link rel="icon" href="/favicon.ico" sizes="any" />
|
|
<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="apple-touch-icon" href="/favicon.png" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<meta name="theme-color" content="#0a0a0a" />
|
|
<title>Corrosion Management</title>
|
|
<meta name="description" content="Management panel for self-hosted survival game servers — Rust, Dune: Awakening, Conan Exiles, Soulmask. Wipe automation, plugins, monitoring. Bring your own server." />
|
|
<meta property="og:title" content="Corrosion — Game Server Operations for Self-Hosted Communities" />
|
|
<meta property="og:description" content="Management panel for self-hosted survival game servers — Rust, Dune: Awakening, Conan Exiles, Soulmask. Wipe automation, plugins, monitoring. Bring your own server." />
|
|
<!-- Fonts via <link>, NOT a CSS @import — the bundler drops @import rules
|
|
that land mid-file after concatenation, silently shipping system fonts -->
|
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
|
<link
|
|
rel="stylesheet"
|
|
href="https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700;800&family=JetBrains+Mono:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Oxanium:wght@500;600;700;800&display=swap"
|
|
/>
|
|
<script>
|
|
/* FOUC guard — apply persisted theme/game to <html> before the app mounts,
|
|
so the design-system tokens paint with the right skin from frame one. */
|
|
(function () {
|
|
try {
|
|
var el = document.documentElement;
|
|
var t = localStorage.getItem('cc-theme');
|
|
var g = localStorage.getItem('cc-game');
|
|
if (t === 'dark' || t === 'light') {
|
|
el.setAttribute('data-theme', t);
|
|
el.classList.toggle('dark', t === 'dark');
|
|
}
|
|
if (g) el.setAttribute('data-game', g);
|
|
} catch (e) {}
|
|
})();
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div id="app"></div>
|
|
<script type="module" src="/src/main.ts"></script>
|
|
</body>
|
|
</html>
|