Skip to content

Commit

Permalink
Merge pull request #1430 from appwrite/fix-remove-roles-bottom-promo
Browse files Browse the repository at this point in the history
Remove the promo card for roles
  • Loading branch information
ernstmul authored Oct 21, 2024
2 parents b3ac06b + b99d795 commit f5ffd41
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions src/routes/(console)/bottomAlerts.ts
Original file line number Diff line number Diff line change
@@ -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. <br/><b>Try for free until Jan 1st 2025 on paid plans.</b>',

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: {
Expand Down

0 comments on commit f5ffd41

Please sign in to comment.