mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
Merge pull request #1430 from appwrite/fix-remove-roles-bottom-promo
Remove the promo card for roles
This commit is contained in:
1 file changed
-23
@@ -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: {
|
||||
|
||||
Reference in new issue
Block a user