Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions src/lib/assets/coffee.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 25 additions & 1 deletion src/routes/create/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import ProgressIndicator from '$lib/components/ProgressIndicator.svelte';
import LoadingSpinner from '$lib/components/LoadingSpinner.svelte';
import EmptyState from '$lib/components/EmptyState.svelte';
import CoffeeIcon from '$lib/assets/coffee.svg';

let uploadState = $state<ImageUploadState>({
file: null,
Expand Down Expand Up @@ -560,12 +561,35 @@
rel="noopener noreferrer"
class="neo-button bg-green-500 text-white border-green-700 text-center px-6"
>
Open in Spotify
<span class="inline-flex items-center justify-center gap-2">
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor">
<path
d="M12 0C5.4 0 0 5.4 0 12s5.4 12 12 12 12-5.4 12-12S18.66 0 12 0zm5.521 17.34c-.24.359-.66.48-1.021.24-2.82-1.74-6.36-2.101-10.561-1.141-.418.122-.779-.179-.899-.539-.12-.421.18-.78.54-.9 4.56-1.021 8.52-.6 11.64 1.32.42.18.479.659.301 1.02zm1.44-3.3c-.301.42-.841.6-1.262.3-3.239-1.98-8.159-2.58-11.939-1.38-.479.12-1.02-.12-1.14-.6-.12-.48.12-1.021.6-1.141C9.6 9.9 15 10.561 18.72 12.84c.361.181.54.78.241 1.2zm.12-3.36C15.24 8.4 8.82 8.16 5.16 9.301c-.6.179-1.2-.181-1.38-.721-.18-.601.18-1.2.72-1.381 4.26-1.26 11.28-1.02 15.721 1.621.539.3.719 1.02.419 1.56-.299.421-1.02.599-1.559.3z"
/>
</svg>
Open in Spotify
</span>
</a>
<a href="/dashboard" class="neo-button bg-white text-center px-6">
Back to Dashboard
</a>
</div>

<!-- Buy Me a Coffee Section -->
<div class="mt-6">
<a
href="https://www.buymeacoffee.com/iamguillenm"
target="_blank"
rel="noopener noreferrer"
class="neo-button px-6"
style="background-color: #FFDD00; border-color: #000000;"
>
<span class="inline-flex items-center justify-center gap-2">
<img src={CoffeeIcon} alt="Coffee" class="w-6 h-6" />
Buy Me a Coffee
</span>
</a>
</div>
</div>
</div>
{/if}
Expand Down
Loading