1
0
Fork 0
mirror of https://ark.sudovanilla.org/Korbs/butterflyvu.git synced 2024-12-22 23:33:54 +00:00

Create 500 page

This commit is contained in:
Korbs 2024-12-11 20:48:12 -05:00
parent 010e82bb0f
commit 97dfa3d122

22
src/pages/500.astro Normal file
View file

@ -0,0 +1,22 @@
---
// Fetch Error Message
interface Props {
error: unknown
}
const { error } = Astro.props
---
<h2>Error 500</h2>
<p style="color: gray; font-size: 12px; margin: 0px; font-weight: bold;">An error happened in Astro:</p>
<p style="margin-top: 6px;">{error.message}</p>
<style is:global>
body {
background: #111c29;
color: white;
font-family: Arial, Helvetica, sans-serif;
margin: auto;
max-width: 1200px;
}
</style>