fix: small fixes

This commit is contained in:
Arman
2022-10-11 10:20:00 +02:00
parent f9968838cc
commit 74df9b45bf
2 changed files with 28 additions and 19 deletions
@@ -62,7 +62,7 @@
}.svg`}
alt="technology" />
</div>
<span class="text"> {func.name}</span>
<span class="text">{func.name}</span>
</div>
</svelte:fragment>
<svelte:fragment slot="status">
@@ -95,20 +95,20 @@
</svelte:fragment>
</CardGrid>
{:else}
<Empty isButton on:click={() => (showCreate = true)}>
<p class="u-text-center">
Add a new deployment, or activate an existing one to see your function in
action.
</p>
<p class="u-text-center">
Learn more about deployments in our <a
class="link"
href="https://appwrite.io/docs/functions#build"
target="_blank"
rel="noopener noreferrer">
Documentation</a
>.
</p>
<Empty single isButton on:click={() => (showCreate = true)}>
<div class="u-text-center">
<p>
Create a new deployment, or activate an existing one to see your function in
action.
</p>
<p>Need a hand? Check out our documentation.</p>
</div>
<div class="u-flex u-gap-12">
<Button text external href="https://appwrite.io/docs/functions#createFunction"
>Documentation</Button>
<Button secondary on:click={() => (showCreate = true)}
>Create Deployment</Button>
</div>
</Empty>
{/if}
@@ -201,10 +201,19 @@
</TableBody>
</Table>
{:else}
<Empty isButton single>
<p>Create your first deployment to get started</p>
<Button external secondary href="https://appwrite.io/docs/functions#createFunction"
>Documentation</Button>
<Empty isButton single on:click={() => (showCreate = true)}>
<div class="u-text-center">
<p>
Create a new deployment, or activate an existing one to see your function in
action.
</p>
<p>Need a hand? Check out our documentation.</p>
</div>
<div class="u-flex u-gap-12">
<Button text external href="https://appwrite.io/docs/functions#createFunction"
>Documentation</Button>
<Button secondary on:click={() => (showCreate = true)}>Create Deployment</Button>
</div>
</Empty>
{/if}
<div class="u-flex u-margin-block-start-32 u-main-space-between">