mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
WIP: made changes for DRL-1539
This commit is contained in:
1 parent
536c9f8fe9
commit
2813312e5f
3 files changed
+23
-1
No files matched your search
Binary file not shown.
|
After Width: | Height: | Size: 563 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 306 KiB |
@@ -7,6 +7,8 @@ import BulkApiLight from '$lib/images/promos/bulk-api-light.png';
|
||||
|
||||
import CSVImportDark from '$lib/images/promos/csv-import-placeholder-dark.png';
|
||||
import CSVImportLight from '$lib/images/promos/csv-import-placeholder-light.png';
|
||||
import DatabaseUpsertDark from '$lib/images/promos/database-upsert-dark.png';
|
||||
import DatabaseUpsertLight from '$lib/images/promos/database-upsert-light.png';
|
||||
|
||||
const listOfPromotions: BottomModalAlertItem[] = [];
|
||||
|
||||
@@ -52,8 +54,28 @@ if (isCloud) {
|
||||
},
|
||||
show: true
|
||||
};
|
||||
const databaseUpsert: BottomModalAlertItem = {
|
||||
id: 'modal:database_upsert_announcement',
|
||||
src: {
|
||||
dark: DatabaseUpsertDark,
|
||||
light: DatabaseUpsertLight
|
||||
},
|
||||
title: 'Introducing Database Upsert',
|
||||
message:
|
||||
'A new Appwrite Database feature, built to simplify your database interactions.',
|
||||
plan: 'free',
|
||||
importance: 8,
|
||||
scope: 'project',
|
||||
cta: {
|
||||
text: 'Read announcement',
|
||||
link: () => 'https://appwrite.io/blog/post/announcing-database-upsert',
|
||||
external: true,
|
||||
hideOnClick: true
|
||||
},
|
||||
show: true
|
||||
}
|
||||
|
||||
listOfPromotions.push(bulkApiPromo, csvImportPromo);
|
||||
listOfPromotions.push(bulkApiPromo, csvImportPromo, databaseUpsert);
|
||||
}
|
||||
|
||||
export function addBottomModalAlerts() {
|
||||
|
||||
Reference in new issue
Block a user