404.astro (1386B)
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 binary may not be catalogued, 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 <div class="whoami corners" style="margin-top:2rem;"> 19 <div class="whoami__cmd"> 20 <span class="u">daemon@sec</span><span>~</span><span>%</span> 21 <span class="c">curl -sI $PATH</span> 22 <span class="whoami__caret" aria-hidden="true"></span> 23 </div> 24 <dl class="whoami__rows"> 25 <dt>status</dt><dd style="color: var(--love);">HTTP/1.1 404 Not Found</dd> 26 <dt>hint</dt><dd>the catalog index is one level up</dd> 27 </dl> 28 </div> 29 30 <div class="hero__actions" style="margin: 2rem 0 3.5rem;"> 31 <a class="btn" href={url('catalog')}><Icon name="terminal" /> Open the catalog</a> 32 <button class="btn btn--ghost" data-search-open type="button"><Icon name="search" /> Search instead</button> 33 </div> 34 </div> 35 </Base>