Add 404 page

This commit is contained in:
luaneko 2024-11-10 23:26:49 +11:00
parent 8f5a11d709
commit fce9743f87
Signed by: luaneko
GPG Key ID: 406809B8763FF07A
3 changed files with 13 additions and 4 deletions

10
src/pages/404.astro Normal file
View File

@ -0,0 +1,10 @@
---
import Layout from "../layouts/index.astro";
---
<Layout>
<main class="max-w-prose mx-auto p-4 sm:p-8">
<h1><strong>Not found</strong></h1>
<p><a href="/" class="text-pink-400">Home</a></p>
</main>
</Layout>

View File

@ -3,8 +3,8 @@ import Layout from "../layouts/index.astro";
---
<Layout>
<main class="max-w-prose mx-auto p-4 sm:p-8">
<pre>{
<pre
class="max-w-prose mx-auto p-4 sm:p-8 leading-tight">{
` ∧.,,∧ 𝜗𝜚
( ̳• · • ̳) ᭢
/ づ `}<a href="/"><em>lua.re</em></a> ᡣ𐭩
@ -15,5 +15,4 @@ import Layout from "../layouts/index.astro";
・:。<small><a href="https://github.com/luaneko">gh/luaneko</a></small>
🍡 🌸 🎀 🌙</pre>
</main>
</Layout>

View File

@ -1,5 +1,5 @@
html {
@apply bg-bg font-serif leading-tight;
@apply bg-bg font-serif;
font-size: 14px;
}