feat: add admin configuration
This commit is contained in:
1 parent
f83f2f8cc8
commit
bfc4ef6ffe
14 files changed
+287
-53
No files matched your search
@@ -0,0 +1,18 @@
|
||||
<script>
|
||||
import { goto } from '$app/navigation'
|
||||
import { page } from '$app/stores'
|
||||
import MultiSelect from '$lib/components/input/MultiSelect.svelte'
|
||||
</script>
|
||||
|
||||
<div class="flex flex-col gap-4">
|
||||
<MultiSelect
|
||||
headless
|
||||
options={['/admin/config', '/admin/applications']}
|
||||
optionNames={['Configuration', 'Applications']}
|
||||
selected={$page.url.pathname}
|
||||
on:select={(e) => {
|
||||
goto(e.detail)
|
||||
}}
|
||||
/>
|
||||
<slot />
|
||||
</div>
|
||||
Reference in new issue
Block a user