Files
archie/ui/dist/index.html
T
sam 065606b2a5 fix(ci): make the gate tolerate formatting and give deploy a PG 18 client
The page-registry test parsed the route table one line per route and the
task-meta fixture was byte-compared, so the prettier reformat broke both.
The registry test now splits route objects and ignores comments; the
fixture compares compacted JSON. Also drops a stale router comment that
described the removed redirects, rebuilds ui/dist, regenerates the
contracts artifact, keeps prettier off generated output, and installs
postgresql-client-18 in deploy.yml's gate as quality.yml already does.
2026-09-25 01:29:23 +10:00

42 lines
1.5 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>archie-ui</title>
<script>
// Set before the first paint so a reload does not flash the wrong
// palette or layout. Kept in sync with the appearance Pinia store;
// blocked site data falls back to dark, comfortable spacing and the
// system motion preference.
(function () {
var theme = "dark";
try {
var storedTheme = localStorage.getItem("archie.theme");
if (storedTheme === "light") theme = "light";
if (storedTheme === "system") {
theme = matchMedia("(prefers-color-scheme: dark)").matches
? "dark"
: "light";
}
if (localStorage.getItem("archie.density") === "compact") {
document.documentElement.dataset.density = "compact";
}
if (localStorage.getItem("archie.motion") === "reduced") {
document.documentElement.dataset.motion = "reduced";
}
} catch (e) {
/* default stands */
}
document.documentElement.dataset.theme = theme;
})();
</script>
<script type="module" crossorigin src="/assets/index.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index.css">
</head>
<body>
<div id="app"></div>
</body>
</html>