diff --git a/src/assets/upload.svg b/src/assets/upload.svg
new file mode 100644
index 0000000..ee8e8a8
--- /dev/null
+++ b/src/assets/upload.svg
@@ -0,0 +1,18 @@
+
+
+
+
diff --git a/src/file-renderer/pattern.js b/src/file-renderer/pattern.js
index ec6a3d2..7d73189 100644
--- a/src/file-renderer/pattern.js
+++ b/src/file-renderer/pattern.js
@@ -208,7 +208,7 @@ Pattern.prototype.drawShapeTo = function (canvas) {
Pattern.prototype.drawColorsTo = function (colorContainer) {
this.colors.forEach((color) => {
- colorContainer.innerHTML += `
`;
+ colorContainer.innerHTML += ``;
});
};
diff --git a/src/i18n/translations.js b/src/i18n/translations.js
index 6869813..2078f46 100644
--- a/src/i18n/translations.js
+++ b/src/i18n/translations.js
@@ -37,10 +37,11 @@ export default {
"donate.paypal.description": "Want to show support in a friendly way?",
"donate.paypal.link": "Open Donation link",
"main.languageSwitch": "🇧🇷",
- "main.fileSize": "Max file size is {{fileSize}}kb.",
+ "main.fileSize": "Max file size is {{fileSize}}MB.",
"main.supportedFormats": "Accepted formats: {{supportedFormats}}.",
"main.render": "Render files",
- "main.dropzone": "Drag and drop files here or click to upload.",
+ "main.dropzone": "Choose files
or drag and drop them here",
+ "main.browse": "Browse",
"main.selected": "Selected files",
"main.rejected": "Rejected files",
"main.stitches": "Stitches",
@@ -87,10 +88,11 @@ export default {
"donate.paypal.link": "Abrir Link de Doação",
"main.title": "Carregar arquivos",
"main.languageSwitch": "🇺🇸",
- "main.fileSize": "O tamanho máximo do arquivo é {{fileSize}}kb.",
+ "main.fileSize": "O tamanho máximo de cada arquivo é {{fileSize}}MB.",
"main.supportedFormats": "Formatos aceitos: {{supportedFormats}}.",
"main.render": "Renderizar arquivos",
- "main.dropzone": "Arraste e solte os arquivos aqui ou clique para fazer upload.",
+ "main.dropzone": "Selecione arquivos
ou arraste e solte-os aqui",
+ "main.browse": "Selecionar arquivos",
"main.selected": "Arquivos selecionados",
"main.rejected": "Arquivos recusados",
"main.stitches": "Pontos",
diff --git a/src/lib/components/CardList.svelte b/src/lib/components/CardList.svelte
index 6ee5a06..e701132 100644
--- a/src/lib/components/CardList.svelte
+++ b/src/lib/components/CardList.svelte
@@ -84,7 +84,9 @@
max-height: 1000px;
margin-bottom: 15px;
padding: 10px;
- border: 2px solid black;
+/* border: 2px solid black;*/
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
+ border-radius: 16px;
}
.canvas {
@@ -108,10 +110,13 @@
div[role="button"] {
background-color: #05345f;
- font-weight: 500;
+ font-weight: bold;
color: white;
padding: 10px;
- border-radius: 0;
+ border-radius: 10px;
+ padding: 10px;
+ width: 50%;
+ text-align: center;
}
div[role="button"]:hover {
@@ -129,5 +134,10 @@
#container {
width: 100%;
}
+
+ div[role="button"] {
+ width: 100%;
+ padding: 15px;
+ }
}
diff --git a/src/lib/components/Dropzone.svelte b/src/lib/components/Dropzone.svelte
index ae44657..caef206 100644
--- a/src/lib/components/Dropzone.svelte
+++ b/src/lib/components/Dropzone.svelte
@@ -1,5 +1,6 @@
-