-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
58 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
import { Image } from "astro:assets"; | ||
import emptyShell from "./_images/empty-shell.png"; | ||
import BaseLayout from "../layouts/BaseLayout.astro"; | ||
--- | ||
|
||
<BaseLayout | ||
title="We couldn’t find that page" | ||
description="Looks like nobody’s home. Maybe try a different page?" | ||
> | ||
<div class="error"> | ||
<Image src={emptyShell} alt="Namesake empty shell" width={240} /> | ||
<h1>There’s nothing here</h1> | ||
<p> | ||
We couldn’t find that page. Check the spelling of the URL or <a href="/" | ||
>go home</a | ||
>. | ||
</p> | ||
</div> | ||
</BaseLayout> | ||
|
||
<style lang="scss"> | ||
.error { | ||
flex: 1; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
justify-content: center; | ||
text-align: center; | ||
gap: var(--space-l); | ||
} | ||
|
||
p { | ||
font-size: var(--step-3); | ||
text-wrap: balance; | ||
} | ||
</style> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters