implemented error and updated todo to use error
Signed-off-by: Ash Entwisle <ash.entwisle@protonmail.com>pull/1/head
parent
fb678c0211
commit
f9e074ea18
|
@ -1,20 +1,8 @@
|
||||||
---
|
---
|
||||||
// import Error from "../components/Error.astro"; //! TODO: sort this out
|
import Error from "./Error.astro";
|
||||||
import Boilerplate from "./Boilerplate.astro";
|
|
||||||
import Error from "../components/Error.astro";
|
|
||||||
|
|
||||||
const keywords: string[] = [];
|
|
||||||
---
|
---
|
||||||
|
|
||||||
<Boilerplate
|
<Error code="501" title="Page not Implemented">
|
||||||
title="502"
|
Sorry, the page `<code>{Astro.url}</code>` is currently under construction.
|
||||||
description="Page not yet avaliable"
|
Click <a href="/">here</a> to go back to the homepage.
|
||||||
keywords={keywords}
|
</Error>
|
||||||
>
|
|
||||||
<Error code="502">
|
|
||||||
<p class="text-xl p-250">
|
|
||||||
Sorry, the page `<code>{Astro.url}</code>` does not yet exist, but it issoon to be added.
|
|
||||||
Click <a href="/">here</a> to go back to the homepage.
|
|
||||||
</p>
|
|
||||||
</Error>
|
|
||||||
</Boilerplate>
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
---
|
||||||
|
import Error from "../layouts/Error.astro"
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
<Error code="404" title="Page Not Found">
|
||||||
|
Sorry, the page `<code>{Astro.url}</code>` does not exist,
|
||||||
|
Click <a href="/">here</a> to go back to the homepage.
|
||||||
|
</Error>
|
Loading…
Reference in New Issue