---
import { url } from '../lib/url';
// The repo itself is private on GitLab; the read-only mirror is public.
const SOURCE = 'https://git.daemon-sec.xyz/daemon-sec-cheatsheet/';
const MAIN_SITE = 'https://daemon-sec.xyz';
const year = 2026;
/**
* The footer, re-plated on the signal field per the main site's Footer: a
* dark closing band with the wordmark in its reversed setting, the motto,
* the numbered nav (each index keeps its section hue), and the status block.
* `.dfooter` pins the signal palette, so it stays dark in both modes.
*/
const NAV = [
{ n: '01', label: 'Vault', href: url(''), acc: 'love' },
{ n: '02', label: 'Payloads', href: url('payloads'), acc: 'iris' },
{ n: '03', label: 'Internal', href: url('internal'), acc: 'pine' },
{ n: '04', label: 'HackTricks', href: url('hacktricks'), acc: 'gold' },
{ n: '05', label: 'Tags', href: url('tags'), acc: 'foam' },
{ n: '06', label: 'Credits', href: url('credits'), acc: 'rose' },
];
---
<footer class="dfooter site-footer">
<span class="dfooter__scrim" aria-hidden="true"></span>
<span class="scanlines" aria-hidden="true"></span>
<div class="archive dfooter__inner">
<div class="dfooter__grid">
<div>
<a href={url('')} class="dfooter__wordmark">DΛΣMӨП<span class="hy">-</span>SΣC</a>
<p class="dfooter__motto">
Terse, tested, kept current. A curated vault of IT & security cheatsheets — for
authorised testing, CTFs and education only. Know your scope; get permission first.
</p>
</div>
<nav class="dfooter__nav" aria-label="Footer">
{NAV.map((item) => (
<a href={item.href} style={`--acc: var(--color-night-${item.acc});`}>
<span class="n">{item.n}</span>{item.label}
</a>
))}
<a href={MAIN_SITE} rel="noopener" style="--acc: var(--color-night-foam);"><span class="n">07</span>Main site ↗</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">
<div class="live">
<span class="dmn-dot" style="--dot: var(--color-night-love);" aria-hidden="true"><i class="dmn-anim-pulse"></i><u class="dmn-anim-ring"></u></span>
All systems operational
</div>
<div class="row">Third-party libraries: swisskyrepo mirrors plus
<a href="https://github.com/HackTricks-wiki/hacktricks" target="_blank" rel="noopener">HackTricks</a> · see credits</div>
<div class="row">Rosé Pine · Astro · Pagefind</div>
<div class="row">© {year} DÆMON//SEC · <a href={url('credits')}>credits & licenses</a></div>
</div>
</div>
</div>
</footer>