404.astro (1509B)
1 --- 2 import Base from '../layouts/Base.astro'; 3 import SectionBanner from '../components/SectionBanner.astro'; 4 import Icon from '../components/Icon.astro'; 5 import { url } from '../lib/url'; 6 --- 7 <Base title="404 — signal lost" description="This path resolves to nothing."> 8 <SectionBanner 9 n="00" 10 label="stderr" 11 title="404 — signal lost" 12 blurb="That route resolves to nothing. The host may be down, or the path was never in scope." 13 accent="love" 14 stats={[{ label: 'Status', value: '404', accent: true }, { label: 'Scope', value: 'unknown' }]} 15 /> 16 17 <div class="wrap"> 18 <!-- The shell readout, in the hero's register: not a box, just output 19 sitting on the page under the band that named the error. --> 20 <div class="whoami corners" style="margin-top:2rem;"> 21 <div class="whoami__cmd"> 22 <span class="u">daemon@sec</span><span>~</span><span>%</span> 23 <span class="c">curl -sI $PATH</span> 24 <span class="whoami__caret" aria-hidden="true"></span> 25 </div> 26 <dl class="whoami__rows"> 27 <dt>status</dt><dd style="color: var(--love);">HTTP/1.1 404 Not Found</dd> 28 <dt>hint</dt><dd>the vault index is one level up</dd> 29 </dl> 30 </div> 31 32 <div class="hero__actions" style="margin: 2rem 0 3.5rem;"> 33 <a class="btn" href={url('')}><Icon name="terminal" /> Return to vault</a> 34 <button class="btn btn--ghost" data-search-open type="button"><Icon name="search" /> Search instead</button> 35 </div> 36 </div> 37 </Base>