Merge pull request #631 from appwrite/add-notice-for-create-org

feat: add notice to create org modal
This commit is contained in:
Christy Jacob
2023-11-30 05:27:40 -05:00
committed by GitHub
@@ -9,6 +9,8 @@
import { Dependencies } from '$lib/constants';
import { Submit, trackEvent, trackError } from '$lib/actions/analytics';
import { ID } from '@appwrite.io/console';
import Alert from '$lib/components/alert.svelte';
import { isCloud } from '$lib/system';
export let show = false;
@@ -43,6 +45,18 @@
</script>
<Modal title="Create new organization" {error} onSubmit={create} size="big" bind:show>
{#if isCloud}
<Alert type="info">
<svelte:fragment slot="title">Get ready for Appwrite Pro</svelte:fragment>
We will soon introduce the much-anticipated Pro plan. Your account will continue to have
access to <b>one free Starter organization</b>. If you manage more than one
organization, you will need to either upgrade to the Pro plan, transfer your projects to
a Pro organization, or migrate to self-hosting.
<svelte:fragment slot="buttons">
<Button href="https://appwrite.io/pricing" external text>Learn more</Button>
</svelte:fragment>
</Alert>
{/if}
<FormList>
<InputText
id="organization-name"