flotilla/src/app/components/ContentLinkDetail.svelte
2025-02-03 16:37:14 -08:00

12 lines
355 B
Svelte

<script lang="ts">
import Button from "@lib/components/Button.svelte"
import {imgproxy} from "@app/state"
let {url} = $props()
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>