32 lines
2.1 KiB
HTML
32 lines
2.1 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Peregrine — Job Search Assistant</title>
|
|
<!-- Apply stored theme before first paint — prevents FOUT flash on dark/hacker themes.
|
|
Mirrors the logic in useTheme.initTheme(). Must run before the <style> below. -->
|
|
<script>try{if(localStorage.getItem('cf-hacker-mode')==='true'){document.documentElement.dataset.theme='hacker';}else{var t=localStorage.getItem('cf-theme');if(t&&t!=='auto')document.documentElement.dataset.theme=t;}}catch(e){}</script>
|
|
<!-- FOUT prevention: background only on html (body is transparent). Gotcha #14.
|
|
body paints on top of html — a hardcoded body background covers html's CSS-
|
|
variable-driven color even when it resolves correctly. Keep background off body.
|
|
Covers auto mode (media query) and all explicit theme choices. -->
|
|
<style>
|
|
html, body { margin: 0; min-height: 100vh; }
|
|
html { background: #eaeff8; }
|
|
@media (prefers-color-scheme: dark) { html:not([data-theme]) { background: #16202e; } }
|
|
html[data-theme="dark"] { background: #16202e; }
|
|
html[data-theme="solarized-dark"] { background: #002b36; }
|
|
html[data-theme="hacker"] { background: #0a0c0a; }
|
|
</style>
|
|
<!-- Plausible analytics: cookie-free, GDPR-compliant, self-hosted.
|
|
Skips localhost/127.0.0.1. Reports to hostname + circuitforge.tech rollup. -->
|
|
<script>(function(){if(/localhost|127\.0\.0\.1/.test(location.hostname))return;var s=document.createElement('script');s.defer=true;s.dataset.domain=location.hostname+',circuitforge.tech';s.dataset.api='https://analytics.circuitforge.tech/api/event';s.src='https://analytics.circuitforge.tech/js/script.js';document.head.appendChild(s);})();</script>
|
|
</head>
|
|
<body>
|
|
<!-- Mount target only — App.vue root must NOT use id="app". Gotcha #1. -->
|
|
<div id="app"></div>
|
|
<script type="module" src="/src/main.ts"></script>
|
|
</body>
|
|
</html>
|