forked from coracle/flotilla
13 lines
349 B
Svelte
13 lines
349 B
Svelte
<script lang="ts">
|
|
import Button from "@lib/components/Button.svelte"
|
|
import {imgproxy} from "@app/state"
|
|
|
|
export let url
|
|
|
|
const back = () => history.back()
|
|
</script>
|
|
|
|
<Button class="m-auto h-screen w-screen cursor-pointer p-4" on:click={back}>
|
|
<img alt="" src={imgproxy(url)} class="m-auto max-h-full max-w-full rounded-box" />
|
|
</Button>
|