Add exSTATic support

This commit is contained in:
ZXY101
2024-03-09 12:02:13 +02:00
parent 18f5e3ae46
commit e511a0a39b
5 changed files with 54 additions and 5 deletions

View File

@@ -3,11 +3,18 @@
import { isReader } from '$lib/util';
import { Button } from 'flowbite-svelte';
export let hidden = false;
function onClose() {
hidden = true;
history.back();
}
</script>
{#if isReader()}
<div class="flex flex-col gap-2">
<Button color="alternative" on:click={toggleFullScreen}>Toggle fullscreen</Button>
<Button color="alternative" on:click={() => history.back()}>Close reader</Button>
<Button color="alternative" on:click={onClose}>Close reader</Button>
</div>
{/if}