Skip to content

Commit df88f5a

Browse files
committed
Merge branch 'main' into release-string-encryption
2 parents 1f2e8b5 + 60352ab commit df88f5a

File tree

3 files changed

+23
-2
lines changed

3 files changed

+23
-2
lines changed
415 KB
Loading
166 KB
Loading

src/routes/(console)/bottomAlerts.ts

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,11 @@ import BulkApiLight from '$lib/images/promos/bulk-api-light.png';
77

88
import CSVImportDark from '$lib/images/promos/csv-import-placeholder-dark.png';
99
import CSVImportLight from '$lib/images/promos/csv-import-placeholder-light.png';
10+
1011
import DatabaseUpsertDark from '$lib/images/promos/database-upsert-dark.png';
1112
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';
1215

1316
const listOfPromotions: BottomModalAlertItem[] = [];
1417

@@ -73,8 +76,26 @@ if (isCloud) {
7376
},
7477
show: true
7578
};
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);
7899
}
79100

80101
export function addBottomModalAlerts() {

0 commit comments

Comments
 (0)