Skip to content

Commit

Permalink
feat: add description
Browse files Browse the repository at this point in the history
  • Loading branch information
ArmanNik committed Feb 9, 2023
1 parent eca106b commit 7d6d02d
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 12 deletions.
9 changes: 1 addition & 8 deletions src/lib/components/eventModal.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -240,14 +240,7 @@

<Modal bind:show on:submit={create} size="big">
<svelte:fragment slot="header">Create Event</svelte:fragment>
<p class="text">
Select events in your Appwrite project that will trigger your function. <a
href="https://appwrite.io/docs/events"
target="_blank"
rel="noopener noreferrer"
class="link">Learn more about Appwrite Events</a
>.
</p>
<slot />
<div>
<p class="u-text">Choose a service</p>
<div class="u-flex u-gap-8 u-margin-block-start-8">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,4 +141,13 @@
</CardGrid>
</Form>

<EventModal bind:show={showEvents} initialValue={eventValue} on:created={handleEvent} />
<EventModal bind:show={showEvents} initialValue={eventValue} on:created={handleEvent}>
<p class="text">
Select events in your Appwrite project that will trigger your function. <a
href="https://appwrite.io/docs/events"
target="_blank"
rel="noopener noreferrer"
class="link">Learn more about Appwrite Events</a
>.
</p>
</EventModal>
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,14 @@
</WizardStep>

{#if showCreate}
<EventModal bind:show={showCreate} on:created={handleCreated} />
<EventModal bind:show={showCreate} on:created={handleCreated}>
<p class="text">
Select events in your Appwrite project that will trigger your function. <a
href="https://appwrite.io/docs/events"
target="_blank"
rel="noopener noreferrer"
class="link">Learn more about Appwrite Events</a
>.
</p>
</EventModal>
{/if}
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,13 @@
</CardGrid>
</Form>

<EventModal bind:show={showCreateEvent} on:created={handleEvent} />
<EventModal bind:show={showCreateEvent} on:created={handleEvent}>
<p class="text">
Select events in your Appwrite project that will trigger your webhook. <a
href="https://appwrite.io/docs/events"
target="_blank"
rel="noopener noreferrer"
class="link">Learn more about Appwrite Events</a
>.
</p>
</EventModal>
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,14 @@
</WizardStep>

{#if showCreate}
<EventModal bind:show={showCreate} on:created={handleCreated} />
<EventModal bind:show={showCreate} on:created={handleCreated}>
<p class="text">
Select events in your Appwrite project that will trigger your webhook. <a
href="https://appwrite.io/docs/events"
target="_blank"
rel="noopener noreferrer"
class="link">Learn more about Appwrite Events</a
>.
</p>
</EventModal>
{/if}

0 comments on commit 7d6d02d

Please sign in to comment.