♻️ refactor 404-page

Signed-off-by: SindreKjelsrud <sindre@kjelsrud.dev>
This commit is contained in:
Sid 2024-08-23 13:06:56 +02:00
parent 9baa8242f3
commit dc7509ffce
Signed by: sidski
GPG key ID: D2BBDF3EDE6BA9A6
2 changed files with 7 additions and 21 deletions

View file

@ -1,21 +0,0 @@
---
import SectionContainer from '../components/SectionContainer.astro';
import HeaderLink from '../components/HeaderLink.astro';
---
<SectionContainer>
<main class="flex flex-col flex-1 justify-center items-center gap-4">
<h1 class="text-3xl font-bold text-center">ooops! that's a 404 hehe...</h1>
<div class="profile"></div>
</main>
</SectionContainer>
<style>
.profile {
width: 12rem;
height: 18rem;
background: url("https://media1.tenor.com/m/vmSP8owuOYYAAAAd/huh-cat-huh-m4rtin.gif");
background-size: cover;
background-repeat: no-repeat;
border-radius: 5px;
}
</style>

7
src/pages/404.md Normal file
View file

@ -0,0 +1,7 @@
---
title: "404"
description: "ooops! that's a 404 hehe..."
layout: "../layouts/Layout.astro"
---
![https://media1.tenor.com/m/vmSP8owuOYYAAAAd/huh-cat-huh-m4rtin.gif](https://media1.tenor.com/m/vmSP8owuOYYAAAAd/huh-cat-huh-m4rtin.gif)