frontend: initial author block

This commit is contained in:
OleSTEEP 2025-10-16 16:58:29 +03:00
parent f4e9090dae
commit f36d5aac0c
5 changed files with 47 additions and 3 deletions

View file

@ -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>