From b99d795714f65d5f7790ac89daf162e0eb76a82a Mon Sep 17 00:00:00 2001 From: ernstmul Date: Mon, 21 Oct 2024 11:07:17 +0200 Subject: [PATCH] Remove the promo card for roles --- src/routes/(console)/bottomAlerts.ts | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/src/routes/(console)/bottomAlerts.ts b/src/routes/(console)/bottomAlerts.ts index b9e8425433..aa4c0ba220 100644 --- a/src/routes/(console)/bottomAlerts.ts +++ b/src/routes/(console)/bottomAlerts.ts @@ -1,33 +1,10 @@ import { base } from '$app/paths'; -import RolesDark from '$lib/images/roles-dark.png'; -import RolesLight from '$lib/images/roles-light.png'; import BackupsDark from '$lib/images/backups/promo/backups-dark.png'; import BackupsLight from '$lib/images/backups/promo/backups-light.png'; import { type BottomModalAlertItem, showBottomModalAlert } from '$lib/stores/bottom-alerts'; const listOfPromotions: BottomModalAlertItem[] = [ - { - id: 'modal:memberRoles', - src: { - dark: RolesDark, - light: RolesLight - }, - title: 'Roles are available now', - message: - 'Enhance your workflow and security by assigning roles to members.
Try for free until Jan 1st 2025 on paid plans.', - - isHtml: true, - plan: 'pro', - cta: { - text: 'Try now', - link: ({ organization }) => `${base}/organization-${organization.$id}/members` - }, - learnMore: { - text: 'Learn more', - link: () => 'https://appwrite.io/docs/advanced/platform/roles' - } - }, { id: 'modal:databaseBackups', src: {