flotilla/src/app/components/ContentLinkDetail.svelte

13 lines
417 B
Svelte
Raw Normal View History

2024-10-17 22:02:03 +00:00
<script lang="ts">
import ContentLinkBlockImage from "@app/components/ContentLinkBlockImage.svelte"
2024-10-17 23:03:50 +00:00
import Button from "@lib/components/Button.svelte"
2024-10-17 22:02:03 +00:00
const {value, event} = $props()
2024-10-17 22:02:03 +00:00
const back = () => history.back()
</script>
<Button class="m-auto h-screen w-screen cursor-pointer p-4" onclick={back}>
<ContentLinkBlockImage {value} {event} class="m-auto max-h-full max-w-full rounded-box" />
2024-10-17 22:02:03 +00:00
</Button>