fix: design fixes

This commit is contained in:
Arman committed 2024-06-13 16:25:27 +02:00
1 parent f173bd9cbc
commit 9e0ce12302
2 files changed
+3 -14

No files matched your search

@@ -60,7 +60,6 @@
EmailTemplateLocale
} from '@appwrite.io/console';
import Email2FaTemplate from './email2FATemplate.svelte';
import { tierToPlan } from '$lib/stores/billing';
const projectId = $page.params.project;
@@ -134,18 +133,6 @@
</p>
<svelte:fragment slot="aside">
{#if $organization.billingPlan === BillingPlan.FREE}
<Alert
buttons={[
{
slot: 'Upgrade plan',
href: `${base}/console/organization-${$organization.$id}/billing`
}
]}>
All emails sent using the {tierToPlan(BillingPlan.FREE).name} plan will include attribution
to Appwrite in the signature. To send attribution-free emails, upgrade your plan.
</Alert>
{/if}
<Collapsible>
<CollapsibleItem
bind:open={emailVerificationOpen}
@@ -259,7 +246,7 @@
</Collapsible>
</svelte:fragment>
</CardGrid>-->
{#if isCloud && $organization?.billingPlan === BillingPlan.FREE}
{#if isCloud && $organization?.billingPlan !== BillingPlan.FREE}
<EmailSignature />
{/if}
</Container>
@@ -34,6 +34,7 @@
width="266"
height="171"
class="u-image-object-fit-contain u-block u-only-dark u-width-full-line u-height-100-percent"
style:object-position="top"
alt="Email Signature Example" />
{:else}
<img
@@ -41,6 +42,7 @@
width="266"
height="171"
class="u-image-object-fit-contain u-only-light u-width-full-line u-height-100-percent"
style:object-position="top"
alt="Email Signature Example" />
{/if}
</div>