@@ -7,8 +7,11 @@ import BulkApiLight from '$lib/images/promos/bulk-api-light.png';
7
7
8
8
import CSVImportDark from '$lib/images/promos/csv-import-placeholder-dark.png' ;
9
9
import CSVImportLight from '$lib/images/promos/csv-import-placeholder-light.png' ;
10
+
10
11
import DatabaseUpsertDark from '$lib/images/promos/database-upsert-dark.png' ;
11
12
import DatabaseUpsertLight from '$lib/images/promos/database-upsert-light.png' ;
13
+ import EncryptedDatabasesDark from '$lib/images/promos/encrypted-attribute-dark.png' ;
14
+ import EncryptedDatabasesLight from '$lib/images/promos/encrypted-attribute-light.png' ;
12
15
13
16
const listOfPromotions : BottomModalAlertItem [ ] = [ ] ;
14
17
@@ -73,8 +76,26 @@ if (isCloud) {
73
76
} ,
74
77
show : true
75
78
} ;
76
-
77
- listOfPromotions . push ( databaseUpsert , bulkApiPromo , csvImportPromo ) ;
79
+ const encryptedAttributePromo : BottomModalAlertItem = {
80
+ id : 'modal:encrypted_attribute_announcement' ,
81
+ src : {
82
+ dark : EncryptedDatabasesDark ,
83
+ light : EncryptedDatabasesLight
84
+ } ,
85
+ title : 'Introducing Encrypted String Attributes' ,
86
+ message : 'Encrypt string attributes at rest, directly from the Appwrite console' ,
87
+ plan : 'free' ,
88
+ importance : 8 ,
89
+ scope : 'project' ,
90
+ cta : {
91
+ text : 'Read announcement' ,
92
+ link : ( ) => 'https://appwrite.io/blog/post/announcing-encrypted-string-attributes' ,
93
+ external : true ,
94
+ hideOnClick : true
95
+ } ,
96
+ show : true
97
+ } ;
98
+ listOfPromotions . push ( encryptedAttributePromo , databaseUpsert , bulkApiPromo , csvImportPromo ) ;
78
99
}
79
100
80
101
export function addBottomModalAlerts ( ) {
0 commit comments