commit 1a344eb34c1c49444627860a96fa91456aa733c3
parent 90f4c6dcb6101f8e246f1990d08ecf99b5d4110e
Author: DAEMON <zer0sec.xp@icloud.com>
Date: Sat, 10 Oct 2026 12:29:12 +0100
feat: link the source on git.daemon-sec.xyz
Header icon (now a branch), mobile nav and footer: Source, pointing at the
read-only mirror git.daemon-sec.xyz/daemon-sec-lotl/ instead of GitHub.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat:
3 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/src/components/Footer.astro b/src/components/Footer.astro
@@ -1,7 +1,8 @@
---
import { url } from '../lib/url';
-const GITHUB = 'https://github.com/DAEMON-404/daemon-sec-lotl';
+// This site's source, on the read-only Git mirror.
+const SOURCE = 'https://git.daemon-sec.xyz/daemon-sec-lotl/';
const MAIN_SITE = 'https://daemon-sec.xyz';
const year = 2026;
@@ -41,7 +42,7 @@ const NAV = [
</a>
))}
<a href={MAIN_SITE} rel="noopener" style="--acc: var(--color-night-foam);"><span class="n">07</span>Main site ↗</a>
- <a href={GITHUB} target="_blank" rel="noopener" style="--acc: var(--color-night-gold);"><span class="n">08</span>GitHub ↗</a>
+ <a href={SOURCE} target="_blank" rel="noopener" style="--acc: var(--color-night-gold);"><span class="n">08</span>Source ↗</a>
</nav>
<div class="dfooter__meta">
diff --git a/src/components/Header.astro b/src/components/Header.astro
@@ -3,7 +3,8 @@ import Icon from './Icon.astro';
import { url } from '../lib/url';
const MAIN_SITE = 'https://daemon-sec.xyz';
-const GITHUB = 'https://github.com/DAEMON-404/daemon-sec-lotl';
+// This site's source, on the read-only Git mirror (browse, or `git clone`).
+const SOURCE = 'https://git.daemon-sec.xyz/daemon-sec-lotl/';
/**
* The masthead, in the main site's grammar (daemon-sec.xyz `Masthead`): a
@@ -69,7 +70,7 @@ const CROSS = `<line x1="9" y1="1.3" x2="9" y2="22.7"/><line x1="6.1" y1="6.2" x
<span class="icon-sun"><Icon name="sun" /></span>
<span class="icon-moon"><Icon name="moon" /></span>
</button>
- <a class="mast__icon" href={GITHUB} target="_blank" rel="noopener" aria-label="Source on GitHub"><Icon name="github" /></a>
+ <a class="mast__icon" href={SOURCE} target="_blank" rel="noopener" aria-label="Source code on git.daemon-sec.xyz" title="Source · git.daemon-sec.xyz"><Icon name="branch" /></a>
<a class="mast__icon" href={MAIN_SITE} rel="noopener" aria-label="Back to DÆMON — main site"><Icon name="external" /></a>
<button
class="mast__burger"
@@ -99,8 +100,8 @@ const CROSS = `<line x1="9" y1="1.3" x2="9" y2="22.7"/><line x1="6.1" y1="6.2" x
<span class="n" style="--acc: var(--foam);">↗</span>Main site
<span class="arrow" aria-hidden="true" style="--acc: var(--foam);">↗</span>
</a>
- <a href={GITHUB} target="_blank" rel="noopener">
- <span class="n" style="--acc: var(--gold);">↗</span>GitHub
+ <a href={SOURCE} target="_blank" rel="noopener">
+ <span class="n" style="--acc: var(--gold);">↗</span>Source
<span class="arrow" aria-hidden="true" style="--acc: var(--gold);">↗</span>
</a>
</nav>
diff --git a/src/components/Icon.astro b/src/components/Icon.astro
@@ -15,6 +15,8 @@ const paths: Record<string, string> = {
copy: '<rect x="9" y="9" width="12" height="12"/><path d="M5 15H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v1"/>',
check: '<path d="M20 6 9 17l-5-5"/>',
external: '<path d="M14 4h6v6M20 4 10 14M18 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h5"/>',
+ /* A Git branch: the "source" mark, linking to git.daemon-sec.xyz. */
+ branch: '<circle cx="6" cy="5" r="2"/><circle cx="6" cy="19" r="2"/><circle cx="18" cy="7" r="2"/><path d="M6 7v10M18 9a6 6 0 0 1-6 6H6"/>',
/* The kind mark carried by every record row and marquee entry. A sheet
is a document; a payload is a fragment of one. */
doc: '<path d="M14 3H6a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V8z"/><path d="M14 3v5h5M9 13h6M9 17h4"/>',