Add a little bit of depth
This commit is contained in:
8
svelte/src/filesystem/util/PathLink.svelte
Normal file
8
svelte/src/filesystem/util/PathLink.svelte
Normal file
@@ -0,0 +1,8 @@
|
||||
<script>
|
||||
export let nav
|
||||
export let path = ""
|
||||
</script>
|
||||
|
||||
<a href={"/d"+path} on:click|preventDefault={() => {nav.navigate(path, true)}}>
|
||||
<slot></slot>
|
||||
</a>
|
Reference in New Issue
Block a user