Moved images to assets, rewrote to use Image component, fixed styling issues

This commit is contained in:
Firq 2023-12-25 18:39:44 +01:00
parent 709f459963
commit aec4660bec
Signed by: Firq
GPG key ID: 4DE1059A4666E89F
160 changed files with 386 additions and 331 deletions
src/pages

View file

@ -1,6 +1,8 @@
---
import { Image } from 'astro:assets'
import Layout from '../layouts/Layout.astro'
import BaseSection from '../layouts/baseSection.astro'
import sadshishou from '../assets/shishousad.webp'
const description = "Error. This shouldn't happen :/"
---
@ -12,7 +14,7 @@ const description = "Error. This shouldn't happen :/"
>
<BaseSection title="FirqhundredandFirq - Not Found">
<div>
<img src="/assets/shishousad.webp" alt="Sad Shishou" />
<Image src={sadshishou} alt="Sad Shishou" />
<h2>Well ... you were not supposed to end up here.</h2>
<a href="/" aria-label="Home" rel="noopener noreferrer">
<i class="iconoir-fast-arrow-left"></i>Go back home