mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-09-12 13:48:58 +02:00
99 lines
3.3 KiB
HTML
99 lines
3.3 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 () {
|
|
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
|
|
? "#FAF9F6"
|
|
: "#1A1815",
|
|
"floating-chat.donateButton.text-color": isDark
|
|
? "#1A1815"
|
|
: "#FAF9F6",
|
|
});
|
|
};
|
|
document.body.appendChild(s);
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|