Skip to content

Commit

Permalink
Add 404 page
Browse files Browse the repository at this point in the history
  • Loading branch information
johnzanussi committed Jan 9, 2025
1 parent 29a3112 commit 758f9fc
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
Binary file added src/assets/img-george-is-not-home.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
47 changes: 47 additions & 0 deletions src/pages/404.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
import DividerLayout from '@/layouts/DividerLayout.astro';
import imgGeorge from '@/assets/img-george-is-not-home.png';
import { Image } from 'astro:assets';
const title = '404 Page Not Found';
const metadata = {
title: title,
description: 'Where could it be?',
};
---

<DividerLayout metadata={metadata}>

<h1
class="fs-6 lead text-end text-body-emphasis"
slot="header">
{title}
</h1>

<Fragment slot="main">

<div>

<p class="h2">
Believe it or not, this page is not home.
</p>

<Image
src={imgGeorge}
alt="Screenshot of George sitting next to his phone eating popcorn in Season 8 Episode 15 of Seinfeld"
class:list="img-fluid rounded shadow-lg my-2"
width="2000"
height="1125"
loading="eager"
/>

<p class="h2 text-end">
Where could it be?
</p>

</div>

</Fragment>

</DividerLayout>

0 comments on commit 758f9fc

Please sign in to comment.