diff --git a/src/routes/test/+page.svelte b/src/routes/test/+page.svelte new file mode 100644 index 0000000..9e01d21 --- /dev/null +++ b/src/routes/test/+page.svelte @@ -0,0 +1,393 @@ + + +
+ {#if isModalOpen} +
+
+
+ +
+ + +
+
+ {:else} +
+
document.getElementById("fileInput").click()} + > + + {#if !image} +
+ + + +

Перетащите изображение

+

или кликните для выбора

+
+ {/if} + + + {#if image} +
+ + + + + + + + + + + + + {#if text} + + + + {text} + + + + {text} + + {/if} + +
+ {/if} + + + validateAndLoadImage((e.target as HTMLInputElement).files[0])} + /> +
+ + {#if error} +

{error}

+ {/if} + +
+ + +
+ +
+ + +
{fontSize}
+
+ +

+ Размер изображения 512×512 пикселей +

+
+ {/if} +
+ +