commit fbe43d1368a1d4df1cb6bf189b9481a38037c296
parent 6813e11af34363dbd14065d5815797b09d1d3c80
Author: DAEMON <zer0sec.xp@icloud.com>
Date: Thu, 3 Sep 2026 01:31:36 +0100
Masthead: point the external icon at the main site, drop the GitHub icon
The box-arrow icon in the masthead now links to daemon-sec.xyz (the main
DÆMON site) instead of the github.io root, and the GitHub icon is removed from
the bar. The footer keeps its repo link; the mobile menu's "Main site" entry
is corrected to daemon-sec.xyz too.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01E5eBM16vjWscUMJJTanpwk
Diffstat:
2 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/src/components/Footer.astro b/src/components/Footer.astro
@@ -2,7 +2,7 @@
import { url } from '../lib/url';
const GITHUB = 'https://github.com/DAEMON-404/daemon-sec-cheatsheet';
-const SITE = 'https://daemon-404.github.io';
+const MAIN_SITE = 'https://daemon-sec.xyz';
const year = 2026;
/**
@@ -38,7 +38,7 @@ const NAV = [
<span class="n">{item.n}</span>{item.label}
</a>
))}
- <a href={SITE} rel="noopener" style="--acc: var(--color-night-foam);"><span class="n">06</span>Main site ↗</a>
+ <a href={MAIN_SITE} rel="noopener" style="--acc: var(--color-night-foam);"><span class="n">06</span>Main site ↗</a>
<a href={GITHUB} target="_blank" rel="noopener" style="--acc: var(--color-night-gold);"><span class="n">07</span>GitHub ↗</a>
</nav>
diff --git a/src/components/Header.astro b/src/components/Header.astro
@@ -2,8 +2,7 @@
import Icon from './Icon.astro';
import { url } from '../lib/url';
-const GITHUB = 'https://github.com/DAEMON-404/daemon-sec-cheatsheet';
-const SITE = 'https://daemon-404.github.io';
+const MAIN_SITE = 'https://daemon-sec.xyz';
/**
* The masthead, in the main site's grammar (daemon-sec.xyz `Masthead`): a
@@ -68,8 +67,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={SITE} rel="noopener" aria-label="DÆMON main site"><Icon name="external" /></a>
- <a class="mast__icon" href={GITHUB} target="_blank" rel="noopener" aria-label="GitHub repository"><Icon name="github" /></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"
data-mobile-nav-toggle
@@ -94,7 +92,7 @@ const CROSS = `<line x1="9" y1="1.3" x2="9" y2="22.7"/><line x1="6.1" y1="6.2" x
<span class="arrow" aria-hidden="true">→</span>
</a>
))}
- <a href={SITE} rel="noopener">
+ <a href={MAIN_SITE} rel="noopener">
<span class="n" style="--acc: var(--foam);">↗</span>Main site
<span class="arrow" aria-hidden="true" style="--acc: var(--foam);">↗</span>
</a>