refac: Spinner and XMark components

This commit is contained in:
Silentoplayz
2025-06-25 18:44:45 -04:00
parent b6e2b2e514
commit d1e3940abd
40 changed files with 115 additions and 778 deletions
+3 -10
View File
@@ -5,6 +5,8 @@
import fileSaver from 'file-saver';
const { saveAs } = fileSaver;
import XMark from '$lib/components/icons/XMark.svelte';
export let show = false;
export let src = '';
export let alt = '';
@@ -82,16 +84,7 @@
show = false;
}}
>
<svg
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
class="w-6 h-6"
>
<path stroke-linecap="round" stroke-linejoin="round" d="M6 18 18 6M6 6l12 12" />
</svg>
<XMark />
</button>
</div>