mirror of
https://github.com/devvmhq/devvm.git
synced 2026-12-01 06:23:17 -10:00
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]>
17 lines
1.1 KiB
HTML
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 }}
|