diff --git a/src/lib/form/Form.svelte b/src/lib/form/Form.svelte index 6268559..3030579 100644 --- a/src/lib/form/Form.svelte +++ b/src/lib/form/Form.svelte @@ -38,11 +38,9 @@ const res = await html2canvas($canvas, { scale: 2 }); const image = res.toDataURL('image/png'); const link = document.createElement('a'); - const city = $address.split('\n'); - link.download = `${$date.split('T')[0]}-${city[city.length - 1].replace( - ' ', - '_' - )}-cartel.png`; + link.download = `${$date.split('-')[0]}-${$date.split('-')[1]}-${ + $date.split('-')[2].split('T')[0] + }-${$city.replace(' ', '_')}-cartel.png`; link.href = image; link.click(); } diff --git a/static/imagen01_old.png b/static/imagen01_old.png deleted file mode 100644 index bed49f6..0000000 Binary files a/static/imagen01_old.png and /dev/null differ diff --git a/static/svelte-welcome.png b/static/svelte-welcome.png deleted file mode 100644 index fe7d2d6..0000000 Binary files a/static/svelte-welcome.png and /dev/null differ diff --git a/static/svelte-welcome.webp b/static/svelte-welcome.webp deleted file mode 100644 index 6ec1a28..0000000 Binary files a/static/svelte-welcome.webp and /dev/null differ