mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-11-14 00:07:00 +01:00
Viewer: full-height app bar with a Help menu, search + ZIP sidebar, one toolbar for README and code, reading mode with a scroll-tracking outline, docked find for Markdown and code, and redaction slots (a blank stone slot holding the term number) in prose, headings, code, the tree and the path. Landing and FAQ: live redaction demo, serif display headings, teal accent. Author screens: My work table with copy/open/edit actions, a usage meter, a single-container New anonymization flow with a sticky submit bar, themed form controls, and consistent GitHub connection cards. Admin: underline tabs, severity-first errors chart and list, error tiles that filter (older pages load until matches appear), queue and overview health states, and shared toolbar heights and borders. Fixes: guarded localStorage access, failed README images render a placeholder, phone hover states no longer stick, and UI tests updated for the new copy and markup. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
78 lines
2.5 KiB
HTML
78 lines
2.5 KiB
HTML
<!-- index.html -->
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta
|
|
name="viewport"
|
|
content="width=device-width, initial-scale=1, shrink-to-fit=no"
|
|
/>
|
|
|
|
<title>Anonymous Github</title>
|
|
|
|
<link
|
|
rel="apple-touch-icon"
|
|
sizes="180x180"
|
|
href="/favicon/apple-touch-icon.png"
|
|
/>
|
|
<link
|
|
rel="icon"
|
|
type="image/png"
|
|
sizes="32x32"
|
|
href="/favicon/favicon-32x32.png"
|
|
/>
|
|
<link
|
|
rel="icon"
|
|
type="image/png"
|
|
sizes="16x16"
|
|
href="/favicon/favicon-16x16.png"
|
|
/>
|
|
<link rel="manifest" href="/favicon/site.webmanifest" />
|
|
<link rel="shortcut icon" href="/favicon.ico" />
|
|
<meta name="msapplication-config" content="/favicon/browserconfig.xml" />
|
|
<meta name="theme-color" content="#FAF9F6" />
|
|
|
|
<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=Inter:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&family=JetBrains+Mono:wght@400;500&display=swap"
|
|
media="print"
|
|
onload="this.media='all'"
|
|
/>
|
|
<noscript>
|
|
<link
|
|
rel="stylesheet"
|
|
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&family=JetBrains+Mono:wght@400;500&display=swap"
|
|
/>
|
|
</noscript>
|
|
<link rel="stylesheet" href="/css/__ALL_CSS__" />
|
|
</head>
|
|
<body class="d-flex flex-column">
|
|
<div id="app" class="d-flex flex-column"></div>
|
|
|
|
<script src="/script/__CORE_JS__"></script>
|
|
<script>
|
|
// Lazy-load mermaid only when a mermaid diagram is encountered
|
|
window.loadMermaid = function () {
|
|
if (window._mermaidLoaded || window._mermaidLoading) return;
|
|
window._mermaidLoading = true;
|
|
var s = document.createElement("script");
|
|
s.src = "/script/__MERMAID_JS__";
|
|
s.onload = function () {
|
|
window._mermaidLoaded = true;
|
|
window._mermaidLoading = false;
|
|
if (typeof mermaid !== "undefined") {
|
|
mermaid.initialize({ startOnLoad: false, theme: "default", securityLevel: "strict" });
|
|
window.mermaidInitialized = true;
|
|
var els = document.querySelectorAll(".mermaid:not([data-processed])");
|
|
if (els.length) mermaid.init(undefined, els);
|
|
}
|
|
};
|
|
document.body.appendChild(s);
|
|
};
|
|
</script>
|
|
<script src="/script/__VENDOR_JS__" defer></script>
|
|
</body>
|
|
</html>
|