mirror of
https://github.com/markuryy/shark.git
synced 2025-12-15 12:41:02 +00:00
ui: error page
This commit is contained in:
14
src/routes/+error.svelte
Normal file
14
src/routes/+error.svelte
Normal file
@@ -0,0 +1,14 @@
|
||||
<script lang="ts">
|
||||
import { page } from '$app/stores';
|
||||
</script>
|
||||
|
||||
<div>
|
||||
<h2>Error {$page.status}</h2>
|
||||
<p>{$page.error?.message || 'An error occurred'}</p>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
h2 {
|
||||
margin-top: 0;
|
||||
}
|
||||
</style>
|
||||
20
src/routes/library/+page.svelte
Normal file
20
src/routes/library/+page.svelte
Normal file
@@ -0,0 +1,20 @@
|
||||
<div>
|
||||
<h2>Library</h2>
|
||||
<p>Your music collection</p>
|
||||
|
||||
<section class="library-content">
|
||||
<div class="field-row-stacked">
|
||||
<!-- Library content will go here -->
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
h2 {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.library-content {
|
||||
margin-top: 20px;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user