31 lines
1.2 KiB
HTML
31 lines
1.2 KiB
HTML
|
|
<!doctype html>
|
||
|
|
<html lang="en">
|
||
|
|
<head>
|
||
|
|
<meta charset="UTF-8" />
|
||
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||
|
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||
|
|
<title>Mega Infrastructure — Project Tracker</title>
|
||
|
|
<meta name="description" content="Project tracker for the Mega Infrastructure AI Integration programme, seeded from the Candy barchart." />
|
||
|
|
<script>
|
||
|
|
// Resolve the theme before first paint so there is no flash of the wrong
|
||
|
|
// colours. Must mirror src/lib/appearance.ts (DEFAULT_MODE / DEFAULT_ACCENT).
|
||
|
|
;(function () {
|
||
|
|
try {
|
||
|
|
var t = localStorage.getItem('mega-tracker/theme/v1')
|
||
|
|
if (t !== 'light' && t !== 'dark') t = 'dark'
|
||
|
|
var a = localStorage.getItem('mega-tracker/accent/v1')
|
||
|
|
if (['blue', 'violet', 'emerald', 'amber'].indexOf(a) < 0) a = 'blue'
|
||
|
|
var el = document.documentElement
|
||
|
|
el.dataset.theme = t
|
||
|
|
el.dataset.accent = a
|
||
|
|
el.style.colorScheme = t
|
||
|
|
} catch (e) {}
|
||
|
|
})()
|
||
|
|
</script>
|
||
|
|
</head>
|
||
|
|
<body>
|
||
|
|
<div id="root"></div>
|
||
|
|
<script type="module" src="/src/main.tsx"></script>
|
||
|
|
</body>
|
||
|
|
</html>
|