@@ -3,28 +3,27 @@ import { isSameDay } from '$lib/helpers/date';
3
3
import { type BottomModalAlertItem , showBottomModalAlert } from '$lib/stores/bottom-alerts' ;
4
4
import AutoIncrementDark from '$lib/images/promos/auto-increment-dark.png' ;
5
5
import AutoIncrementLight from '$lib/images/promos/auto-increment-light.png' ;
6
- import EncryptedDatabasesDark from '$lib/images/promos/encrypted-attribute-dark.png' ;
7
- import EncryptedDatabasesLight from '$lib/images/promos/encrypted-attribute-light.png' ;
8
6
import AtomicNumericOperationsDark from '$lib/images/promos/atomic-numeric-operations-dark.png' ;
9
7
import AtomicNumericOperationsLight from '$lib/images/promos/atomic-numeric-operations-light.png' ;
8
+ import AppwriteGeneralAvailabilty from '$lib/images/promos/appwrite-general-availability.png' ;
10
9
11
10
const listOfPromotions : BottomModalAlertItem [ ] = [ ] ;
12
11
13
12
if ( isCloud ) {
14
- const encryptedAttributePromo : BottomModalAlertItem = {
15
- id : 'modal:encrypted_attribute_announcement ' ,
13
+ const appwriteGeneralAvailabiltyPromo : BottomModalAlertItem = {
14
+ id : 'modal:appwrite_general_availability_announcement ' ,
16
15
src : {
17
- dark : EncryptedDatabasesDark ,
18
- light : EncryptedDatabasesLight
16
+ dark : AppwriteGeneralAvailabilty ,
17
+ light : AppwriteGeneralAvailabilty
19
18
} ,
20
- title : 'Introducing Encrypted string attribute support ' ,
21
- message : 'Encrypt string attributes at rest, directly from the Appwrite Console .' ,
19
+ title : 'Now Generally Available ' ,
20
+ message : 'After 26 months of Appwrite Cloud, we are ready to remove the beta tag .' ,
22
21
plan : 'free' ,
23
22
importance : 8 ,
24
- scope : 'project ' ,
23
+ scope : 'everywhere ' ,
25
24
cta : {
26
- text : 'Read announcement ' ,
27
- link : ( ) => 'https://appwrite.io/blog/post/announcing-encrypted-string-attributes ' ,
25
+ text : 'Learn more ' ,
26
+ link : ( ) => 'https://apwr.dev/ygTXfxA ' ,
28
27
external : true ,
29
28
hideOnClick : true
30
29
} ,
@@ -71,9 +70,9 @@ if (isCloud) {
71
70
show : true
72
71
} ;
73
72
listOfPromotions . push (
73
+ appwriteGeneralAvailabiltyPromo ,
74
74
atomicNumericOperationsPromo ,
75
- autoIncrementPromo ,
76
- encryptedAttributePromo
75
+ autoIncrementPromo
77
76
) ;
78
77
}
79
78
0 commit comments