frontend: initial author block
This commit is contained in:
parent
f4e9090dae
commit
f36d5aac0c
5 changed files with 47 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
<script>
|
||||
import AddButton from "./add_button.svelte";
|
||||
let { direction = "horisontal" } = $props();
|
||||
let { direction = "horisontal", shape = "rounded" } = $props();
|
||||
let images = $state();
|
||||
let image = $state();
|
||||
|
||||
|
@ -15,7 +15,7 @@
|
|||
});
|
||||
</script>
|
||||
|
||||
<div class="{direction} input img-div rounded">
|
||||
<div class="{direction} input img-div {shape}">
|
||||
<AddButton type="image" bind:files={images}/>
|
||||
<img bind:this={image} src="" alt="">
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue