14 lines
332 B
Svelte
14 lines
332 B
Svelte
<script>
|
|
import {sessionstore} from "$lib/stores.js";
|
|
|
|
let sessionvars;
|
|
|
|
sessionstore.subscribe(value => {
|
|
sessionvars = value;
|
|
});
|
|
</script>
|
|
|
|
{#if typeof sessionvars.authorization === 'undefined'}
|
|
<h1 class="h1">Blackbird Chess</h1>
|
|
<a href="/account/login" class="anchor">Go to login page</a>
|
|
{/if} |