Skip to content

Commit

Permalink
style(frontend): improve semantic markup
Browse files Browse the repository at this point in the history
  • Loading branch information
jmiguelv committed Jul 5, 2024
1 parent 9d8dcdc commit fcb965b
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions frontend/src/routes/+error.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,17 @@
import { page } from '$app/stores';
</script>

<h1>{$page.status}: {$page.error?.message}</h1>
<p>Error loading the page {$page.url.pathname}.</p>
<article>
<h1>{$page.status}</h1>
<output>{$page.error?.message}</output>
<p>Error loading the page {$page.url.pathname}.</p>
</article>

<style>
output {
font-size: 90%;
opacity: 60%;
text-transform: uppercase;
letter-spacing: 0.1em;
}
</style>

0 comments on commit fcb965b

Please sign in to comment.