12 lines
503 B
Svelte
12 lines
503 B
Svelte
<script>
|
|
import {locals} from "../../../ts/stores.js";
|
|
import NavMenuItem from "../../components/NavMenuItem.svelte";
|
|
import {route} from "../../../../common/Routing";
|
|
</script>
|
|
|
|
{#if $locals.user}
|
|
<NavMenuItem href={route('file-uploader')} icon="upload" text="Upload" />
|
|
<NavMenuItem href={route('url-shrinker')} icon="shrink" text="Shrink URL" />
|
|
<NavMenuItem href={route('auth-tokens')} icon="key" text="Auth tokens" /> <!-- TODO: move that link to the account page -->
|
|
{/if}
|