Adding error page, fixes #15

This commit is contained in:
Jean Viscogliosi-Pate 2024-08-31 22:17:34 -07:00
parent 8609f47c0c
commit 32d73e56ba
2 changed files with 24 additions and 0 deletions

View File

@ -608,3 +608,17 @@ hr {
width: 32px; width: 32px;
} }
/* Error page
/* ---------------------------------------------------------- */*
.error-message {
text-align: center;
}
.error-code {
font-size: var(--title-font-size);
}
.error-description {
font-size: var(--big-title-font-size);
}

10
error.hbs Normal file
View File

@ -0,0 +1,10 @@
{{!< default}}
<main class="gh-main gh-outer">
<div class="gh-inner">
<section class="error-message">
<p class="error-code">{{statusCode}}</p>
<h1 class="error-description">{{message}}</h1>
</section>
</div>
</main>