mirror of
https://github.com/markuryy/shark.git
synced 2025-12-12 11:41:02 +00:00
ui: error page
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
forward: '/icons/rightarrow.png',
|
||||
play: '/icons/speaker.png',
|
||||
search: '/icons/internet.png',
|
||||
globe: '/icons/github.svg'
|
||||
globe: '/icons/github-white.svg'
|
||||
};
|
||||
|
||||
let history: string[] = $state([]);
|
||||
|
||||
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