diff --git a/frontend/src/lib/components/EditAdventure.svelte b/frontend/src/lib/components/EditAdventure.svelte deleted file mode 100644 index 6654fba..0000000 --- a/frontend/src/lib/components/EditAdventure.svelte +++ /dev/null @@ -1,363 +0,0 @@ - - -{#if isPointModalOpen} - (isPointModalOpen = false)} - on:submit={setLongLat} - query={adventureToEdit.name} - /> -{/if} - -{#if isImageFetcherOpen} - (isImageFetcherOpen = false)} - /> -{/if} - - - - - - Edit Adventure: {originalName} - - - - - - Name - - - - Location - - - (isPointModalOpen = true)} - > - {adventureToEdit.latitude && - adventureToEdit.longitude - ? 'Change' - : 'Select'} - Location - - - - Date - - - - Description - - - Generate Description - - {#if wikiError} - {wikiError} - {/if} - - {#if adventureToEdit.type == 'visited' || adventureToEdit.type == 'planned'} - - Activity Types - - - - {/if} - - Image - - - (isImageFetcherOpen = true)} - >Image Search - - - - Link - - - - Rating - - - - - {#if adventureToEdit.collection === null} - - Public - - - {/if} - - {#if adventureToEdit.is_public} - - Share this Adventure! - - - {window.location.origin + '/adventures/' + adventureToEdit.id} - - { - navigator.clipboard.writeText( - `${window.location.origin}/adventures/${adventureToEdit.id}` - ); - }} - class="inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 h-10 px-4 py-2" - > - Copy Link - - - - {/if} - - Edit - - Close - - - - -
{wikiError}
Share this Adventure!
- {window.location.origin + '/adventures/' + adventureToEdit.id} -