Skip to content

Commit 2813312

Browse files
committed
WIP: made changes for DRL-1539
1 parent 536c9f8 commit 2813312

File tree

3 files changed

+23
-1
lines changed

3 files changed

+23
-1
lines changed
563 KB
Loading
306 KB
Loading

src/routes/(console)/bottomAlerts.ts

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ 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+
import DatabaseUpsertDark from '$lib/images/promos/database-upsert-dark.png';
11+
import DatabaseUpsertLight from '$lib/images/promos/database-upsert-light.png';
1012

1113
const listOfPromotions: BottomModalAlertItem[] = [];
1214

@@ -52,8 +54,28 @@ if (isCloud) {
5254
},
5355
show: true
5456
};
57+
const databaseUpsert: BottomModalAlertItem = {
58+
id: 'modal:database_upsert_announcement',
59+
src: {
60+
dark: DatabaseUpsertDark,
61+
light: DatabaseUpsertLight
62+
},
63+
title: 'Introducing Database Upsert',
64+
message:
65+
'A new Appwrite Database feature, built to simplify your database interactions.',
66+
plan: 'free',
67+
importance: 8,
68+
scope: 'project',
69+
cta: {
70+
text: 'Read announcement',
71+
link: () => 'https://appwrite.io/blog/post/announcing-database-upsert',
72+
external: true,
73+
hideOnClick: true
74+
},
75+
show: true
76+
}
5577

56-
listOfPromotions.push(bulkApiPromo, csvImportPromo);
78+
listOfPromotions.push(bulkApiPromo, csvImportPromo, databaseUpsert);
5779
}
5880

5981
export function addBottomModalAlerts() {

0 commit comments

Comments
 (0)