Files
w3cjandClaude Opus 5.5 27a48f8bba docs(site): the 404 page's buttons get pixel icons
Getting started shows the rocket, as its section card does, and The docs
the open book, as on the home page; the buttons' row may be wider than the
page's column, so they stay side by side on wide screens.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-30 16:02:03 -07:00

17 lines
1.1 KiB
HTML

{{- /* The 404 page, in place of Hextra's: the site's navbar and footer, a VM's terminal that can't find the
page (assets/home/not-found.svg), Hextra's search and links to two places to start. */ -}}
{{ define "main" }}
<div class="hx:mx-auto hx:flex hextra-max-page-width">
<main id="content" class="devvm-404 hx:w-full hx:min-w-0 hx:px-6 hx:pt-12 hx:pb-16">
<h1>404</h1>
{{ partial "art.html" (dict "name" "not-found" "position" "layouts/404.html") }}
<p>There's no page at this address. Search the docs, or start from one of these pages.</p>
<div class="devvm-404-search">{{ partial "components/search-trigger.html" (dict "icon" "") }}</div>
<p class="devvm-404-links">
{{- with site.GetPage "/docs/getting-started" }}<a href="{{ .RelPermalink }}">{{ partial "icon.html" (dict "name" "rocket" "position" "layouts/404.html") }}{{ .Title }}</a>{{ end -}}
{{- with site.GetPage "/docs" }}<a href="{{ .RelPermalink }}">{{ partial "icon.html" (dict "name" "open-book" "position" "layouts/404.html") }}The docs</a>{{ end -}}
</p>
</main>
</div>
{{ end }}