basic image opener

This commit is contained in:
2022-05-14 21:23:31 +02:00
parent fd97d589d4
commit 1ee9916970
2 changed files with 16 additions and 2 deletions

14
web/opener/Image.svelte Normal file
View File

@@ -0,0 +1,14 @@
<script lang="ts">
export let contentType: string;
export let filename: string;
export let slug: string;
</script>
<img src="/s/{slug}" alt="shared" />
<style>
img {
max-width: 100%;
height: auto;
}
</style>