mirror of
https://github.com/kevin-DL/sapper-template.git
synced 2026-01-12 10:25:16 +00:00
42 lines
468 B
HTML
42 lines
468 B
HTML
<svelte:head>
|
|
<title>{status}</title>
|
|
</svelte:head>
|
|
|
|
<h1>{status}</h1>
|
|
|
|
<p>{error.message}</p>
|
|
|
|
{#if NODE_ENV === 'development'}
|
|
<pre>{error.stack}</pre>
|
|
{/if}
|
|
|
|
<style>
|
|
h1, p {
|
|
margin: 0 auto;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 2.8em;
|
|
font-weight: 700;
|
|
margin: 0 0 0.5em 0;
|
|
}
|
|
|
|
p {
|
|
margin: 1em auto;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
h1 {
|
|
font-size: 4em;
|
|
}
|
|
}
|
|
</style>
|
|
|
|
<script>
|
|
export default {
|
|
helpers {
|
|
NODE_ENV: process.env.NODE_ENV
|
|
}
|
|
};
|
|
</script>
|