mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-10-18 13:50:50 +02:00
- Explorer: redacted terms are highlighted in Markdown and code, the sidebar shows when the link expires, "Download repository" is the one primary action, and signed-out reviewers get a header without Sign in or the source-code link. - Status: a ready anonymization leads with a copyable share link; the support links sit flat inside their section. - One primary colour (accent) for actions and progress; mono is kept for IDs, hashes and paths; settings are plain sections instead of cards. - Font sizes snap to one scale (10-40px); rem values keep following the reader's browser font size. - Ko-fi button uses a dark surface in dark mode instead of a white pill. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
99 lines
3.4 KiB
HTML
99 lines
3.4 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>
|
|
<base href="/" />
|
|
|
|
<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: "loose" });
|
|
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>
|
|
<script>
|
|
window.addEventListener("load", function () {
|
|
// Phones use the always-visible header link instead of an overlay.
|
|
if (window.matchMedia("(max-width: 991px)").matches) return;
|
|
var s = document.createElement("script");
|
|
s.src = "https://storage.ko-fi.com/cdn/scripts/overlay-widget.js";
|
|
s.onload = function () {
|
|
var isDark = localStorage.getItem("darkMode") === "true";
|
|
kofiWidgetOverlay.draw("tdurieux", {
|
|
type: "floating-chat",
|
|
"floating-chat.donateButton.text": "Support me",
|
|
"floating-chat.donateButton.background-color": isDark
|
|
? "#34312C"
|
|
: "#1A1815",
|
|
"floating-chat.donateButton.text-color": "#FAF9F6",
|
|
});
|
|
};
|
|
document.body.appendChild(s);
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|