Moved svg into a file

This commit is contained in:
Dennis Postma 2025-04-05 22:08:23 +02:00
parent e42a113c2d
commit ad390eed98
2 changed files with 4 additions and 3 deletions

View File

@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" class="h-12 w-12 mx-auto text-gray-400" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z" />
</svg>

After

Width:  |  Height:  |  Size: 376 B

View File

@ -3,9 +3,7 @@
<input ref="fileInput" type="file" multiple accept="image/*" class="hidden" @change="handleFileChange" />
<div class="mb-4">
<svg xmlns="http://www.w3.org/2000/svg" class="h-12 w-12 mx-auto text-gray-400" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z" />
</svg>
<img src="@/assets/images/file.svg" alt="File upload" class="w-16 h-16 mx-auto mb-4" />
</div>
<p class="text-lg mb-2">Drag and drop your sprite images here</p>