daemon-sec-lotl

DÆMONBins: GTFOBins × LOLBAS × WADComs × LOOBins in one filterable catalog
git clone https://git.daemon-sec.xyz/daemon-sec-lotl.git
Log | Files | Refs | Submodules | README | LICENSE

Footer.astro (2656B)


      1 ---
      2 import { url } from '../lib/url';
      3 
      4 // This site's source, on the read-only Git mirror.
      5 const SOURCE = 'https://git.daemon-sec.xyz/daemon-sec-lotl/';
      6 const MAIN_SITE = 'https://daemon-sec.xyz';
      7 const year = 2026;
      8 
      9 /**
     10  * The footer, re-plated on the signal field per the main site's Footer: a
     11  * dark closing band with the wordmark, the motto, the numbered nav (each
     12  * index keeps its section hue), and the status block. `.dfooter` pins the
     13  * signal palette, so it stays dark in both modes.
     14  */
     15 const NAV = [
     16   { n: '01', label: 'Catalog', href: url('catalog'), acc: 'love' },
     17   { n: '02', label: 'GTFOBins', href: url('gtfobins'), acc: 'foam' },
     18   { n: '03', label: 'LOLBAS', href: url('lolbas'), acc: 'iris' },
     19   { n: '04', label: 'WADComs', href: url('wadcoms'), acc: 'gold' },
     20   { n: '05', label: 'LOOBins', href: url('loobins'), acc: 'rose' },
     21   { n: '06', label: 'Credits', href: url('credits'), acc: 'pine' },
     22 ];
     23 ---
     24 <footer class="dfooter site-footer">
     25   <span class="dfooter__scrim" aria-hidden="true"></span>
     26   <span class="scanlines" aria-hidden="true"></span>
     27   <div class="archive dfooter__inner">
     28     <div class="dfooter__grid">
     29       <div>
     30         <a href={url('')} class="dfooter__wordmark">DÆMON<span class="hy">·</span>BINS</a>
     31         <p class="dfooter__motto">
     32           The Off-the-Land Almanac: GTFOBins, LOLBAS, WADComs and LOOBins, with DÆMON additions.
     33           Placeholder-only reference material for authorised testing, CTFs, detection engineering and
     34           education. Know your scope; get permission first.
     35         </p>
     36       </div>
     37 
     38       <nav class="dfooter__nav" aria-label="Footer">
     39         {NAV.map((item) => (
     40           <a href={item.href} style={`--acc: var(--color-night-${item.acc});`}>
     41             <span class="n">{item.n}</span>{item.label}
     42           </a>
     43         ))}
     44         <a href={MAIN_SITE} rel="noopener" style="--acc: var(--color-night-foam);"><span class="n">07</span>Main site ↗</a>
     45         <a href={SOURCE} target="_blank" rel="noopener" style="--acc: var(--color-night-gold);"><span class="n">08</span>Source ↗</a>
     46       </nav>
     47 
     48       <div class="dfooter__meta">
     49         <div class="live">
     50           <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>
     51           All systems operational
     52         </div>
     53         <div class="row">GTFOBins · LOLBAS · WADComs · LOOBins · GPL-3.0</div>
     54         <div class="row">Rosé Pine · Astro · Pagefind</div>
     55         <div class="row">© {year} DÆMONBins · <a href={url('credits')}>credits</a> · GPL-3.0</div>
     56       </div>
     57     </div>
     58   </div>
     59 </footer>