mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2026-02-06 12:51:02 -05:00
Refactor component names and update button labels
This commit is contained in:
@@ -85,7 +85,8 @@
|
||||
class="input input-bordered w-full max-w-xs"
|
||||
/>
|
||||
</div>
|
||||
<button class="btn btn-primary mr-4 mt-4" on:click={create}>Save</button
|
||||
<button class="btn btn-primary mr-4 mt-4" on:click={create}
|
||||
>Create</button
|
||||
>
|
||||
<!-- if there is a button in form, it will close the modal -->
|
||||
<button class="btn mt-4" on:click={close}>Close</button>
|
||||
@@ -13,7 +13,7 @@
|
||||
import EditModal from "$lib/components/EditModal.svelte";
|
||||
import { generateRandomString } from "$lib";
|
||||
import { visitCount } from "$lib/utils/stores/visitCountStore";
|
||||
import MoreFieldsInput from "$lib/components/MoreFieldsInput.svelte";
|
||||
import MoreFieldsInput from "$lib/components/CreateNewAdventure.svelte";
|
||||
|
||||
let newName = "";
|
||||
let newLocation = "";
|
||||
@@ -234,7 +234,7 @@
|
||||
class="btn btn-secondary"
|
||||
on:click={() => (isShowingMoreFields = !isShowingMoreFields)}
|
||||
>
|
||||
Show More Fields
|
||||
<iconify-icon icon="mdi:plus" class="text-2xl"></iconify-icon>
|
||||
</button>
|
||||
</div>
|
||||
{#if adventures.length != 0}
|
||||
@@ -307,7 +307,8 @@
|
||||
<img src={deleteIcon} class="inline-block -mt-1" alt="Logo" /> Delete Data
|
||||
</button>
|
||||
<button class="btn btn-neutral" on:click={shareLink}>
|
||||
<img src={deleteIcon} class="inline-block -mt-1" alt="Logo" /> Share as Link
|
||||
<iconify-icon icon="mdi:share-variant" class="text-xl"></iconify-icon> Share
|
||||
as Link
|
||||
</button>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user