mirror of
https://github.com/Xevion/undefined.behavio.rs.git
synced 2025-12-16 12:13:44 -06:00
404 page with header component
This commit is contained in:
@@ -27,7 +27,7 @@ const title =
|
|||||||
<link as="font" crossorigin href="/fonts/-cmunrm.woff2" rel="preload" />
|
<link as="font" crossorigin href="/fonts/-cmunrm.woff2" rel="preload" />
|
||||||
<link as="font" crossorigin href="/fonts/-cmuntt.woff2" rel="preload" />
|
<link as="font" crossorigin href="/fonts/-cmuntt.woff2" rel="preload" />
|
||||||
<link as="font" crossorigin href="/fonts/-cmunti.woff2" rel="preload" />
|
<link as="font" crossorigin href="/fonts/-cmunti.woff2" rel="preload" />
|
||||||
<link as="sitemap" type="application/xml" href="/sitemap-index.xml" />
|
<link as="sitemap" type="application/xml" href="/sitemap-index .xml" />
|
||||||
<link rel="alternate" type="application/xml" href="/feed.xml" />
|
<link rel="alternate" type="application/xml" href="/feed.xml" />
|
||||||
<ViewTransitions />
|
<ViewTransitions />
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
15
src/pages/404.astro
Normal file
15
src/pages/404.astro
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
---
|
||||||
|
import Base from "@layouts/Base.astro";
|
||||||
|
import Header from "@components/Header.astro";
|
||||||
|
---
|
||||||
|
|
||||||
|
<Base>
|
||||||
|
<div class="h-screen flex items-center">
|
||||||
|
<div class="flex flex-col items-center">
|
||||||
|
<Header className="!text-7xl" text="404" />
|
||||||
|
<a href="/" data-astro-prefetch="viewport">
|
||||||
|
<span class="font-mono text-center">cd ~</span>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</Base>
|
||||||
Reference in New Issue
Block a user