diff --git a/apps/manacore/apps/web/src/routes/(app)/mukke/playlists/[id]/+page.svelte b/apps/manacore/apps/web/src/routes/(app)/mukke/playlists/[id]/+page.svelte
index 5d5e164d3..543fc4ef7 100644
--- a/apps/manacore/apps/web/src/routes/(app)/mukke/playlists/[id]/+page.svelte
+++ b/apps/manacore/apps/web/src/routes/(app)/mukke/playlists/[id]/+page.svelte
@@ -15,7 +15,9 @@
PencilSimple,
Check,
X,
+ ShareNetwork,
} from '@manacore/shared-icons';
+ import { ShareModal } from '@manacore/shared-uload';
const songsCtx: { readonly value: Song[] } = getContext('songs');
const playlistsCtx: { readonly value: Playlist[] } = getContext('playlists');
@@ -27,6 +29,10 @@
let isEditingName = $state(false);
let editName = $state('');
+ let showShare = $state(false);
+ let shareUrl = $derived(
+ `${typeof window !== 'undefined' ? window.location.origin : ''}/mukke/playlists/${playlistId}`
+ );
function startEdit() {
editName = playlist?.name ?? '';
@@ -123,6 +129,13 @@
Alle abspielen
{/if}
+
+
{#if currentSlides.length > 0}
{/if}
+
+
+ (showShare = false)}
+ url={typeof window !== 'undefined' ? `${window.location.origin}/presi/deck/${deckId}` : ''}
+ title={currentDeck?.name ?? 'Presentation'}
+ source="presi"
+ description={currentDeck?.description ?? ''}
+/>