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"
|
class="input input-bordered w-full max-w-xs"
|
||||||
/>
|
/>
|
||||||
</div>
|
</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 -->
|
<!-- if there is a button in form, it will close the modal -->
|
||||||
<button class="btn mt-4" on:click={close}>Close</button>
|
<button class="btn mt-4" on:click={close}>Close</button>
|
||||||
@@ -13,7 +13,7 @@
|
|||||||
import EditModal from "$lib/components/EditModal.svelte";
|
import EditModal from "$lib/components/EditModal.svelte";
|
||||||
import { generateRandomString } from "$lib";
|
import { generateRandomString } from "$lib";
|
||||||
import { visitCount } from "$lib/utils/stores/visitCountStore";
|
import { visitCount } from "$lib/utils/stores/visitCountStore";
|
||||||
import MoreFieldsInput from "$lib/components/MoreFieldsInput.svelte";
|
import MoreFieldsInput from "$lib/components/CreateNewAdventure.svelte";
|
||||||
|
|
||||||
let newName = "";
|
let newName = "";
|
||||||
let newLocation = "";
|
let newLocation = "";
|
||||||
@@ -234,7 +234,7 @@
|
|||||||
class="btn btn-secondary"
|
class="btn btn-secondary"
|
||||||
on:click={() => (isShowingMoreFields = !isShowingMoreFields)}
|
on:click={() => (isShowingMoreFields = !isShowingMoreFields)}
|
||||||
>
|
>
|
||||||
Show More Fields
|
<iconify-icon icon="mdi:plus" class="text-2xl"></iconify-icon>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
{#if adventures.length != 0}
|
{#if adventures.length != 0}
|
||||||
@@ -307,7 +307,8 @@
|
|||||||
<img src={deleteIcon} class="inline-block -mt-1" alt="Logo" /> Delete Data
|
<img src={deleteIcon} class="inline-block -mt-1" alt="Logo" /> Delete Data
|
||||||
</button>
|
</button>
|
||||||
<button class="btn btn-neutral" on:click={shareLink}>
|
<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>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
|||||||
Reference in New Issue
Block a user