[FEAT] Add Kofi btn

This commit is contained in:
2025-12-12 14:57:41 +01:00
parent b255acce40
commit 883c93b7ff
2 changed files with 16 additions and 1 deletions

View File

@@ -56,6 +56,16 @@
</p>
<div class="space-y-6">
<!-- Ko-fi -->
<div class="p-4 bg-gray-50 dark:bg-gray-700 rounded-lg border border-gray-200 dark:border-gray-600">
<div class="flex items-center mb-3">
<h4 class="text-md font-medium">Ko-fi</h4>
</div>
<a href="https://ko-fi.com/X8X416D44P" target="_blank" rel="noopener noreferrer" data-rybbit-event="open-kofi">
<img height="36" style="border: 0px; height: 36px" src="https://storage.ko-fi.com/cdn/kofi6.png?v=6" alt="Buy Me a Coffee at ko-fi.com" />
</a>
</div>
<!-- PayPal -->
<div class="p-4 bg-gray-50 dark:bg-gray-700 rounded-lg border border-gray-200 dark:border-gray-600">
<div class="flex items-center mb-3">

View File

@@ -3,7 +3,12 @@
<!-- Welcome state -->
<div v-if="!layers.some(l => l.sprites.length)" class="p-6 sm:p-10">
<div class="mb-8">
<p class="text-2xl font-bold text-gray-800 dark:text-gray-100 mb-1">Upload sprites or single image</p>
<div class="flex items-center justify-between gap-4 mb-1">
<p class="text-2xl font-bold text-gray-800 dark:text-gray-100">Upload sprites or single image</p>
<a href="https://ko-fi.com/X8X416D44P" target="_blank" rel="noopener noreferrer">
<img height="36" style="border: 0px; height: 36px" src="https://storage.ko-fi.com/cdn/kofi6.png?v=6" alt="Buy Me a Coffee at ko-fi.com" />
</a>
</div>
<p class="text-sm text-gray-600 dark:text-gray-400">Drag and drop images or import from JSON</p>
</div>
<file-uploader @upload-sprites="handleSpritesUpload" />