basic image opener
This commit is contained in:
14
web/opener/Image.svelte
Normal file
14
web/opener/Image.svelte
Normal 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>
|
||||
Reference in New Issue
Block a user