♻️ refactor 404-page
Signed-off-by: SindreKjelsrud <sindre@kjelsrud.dev>
This commit is contained in:
parent
9baa8242f3
commit
dc7509ffce
2 changed files with 7 additions and 21 deletions
|
@ -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
7
src/pages/404.md
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
title: "404"
|
||||||
|
description: "ooops! that's a 404 hehe..."
|
||||||
|
layout: "../layouts/Layout.astro"
|
||||||
|
---
|
||||||
|
|
||||||
|

|
Loading…
Add table
Reference in a new issue