mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
feat(console): replace Init promo with the new Console announcement
Follows the single-slot convention every announcement has used: the new
promo replaces its predecessor and the old asset is removed, matching
60e7ba53e which swapped the State of Appwrite survey for Init.
This commit is contained in:
1 parent
f5a74497c5
commit
6cb1a8fd39
2 files changed
-26
No files matched your search
Binary file not shown.
|
Before Width: | Height: | Size: 319 KiB |
@@ -1,36 +1,10 @@
|
||||
import { isCloud } from '$lib/system';
|
||||
import { isSameDay } from '$lib/helpers/date';
|
||||
import { type BottomModalAlertItem, showBottomModalAlert } from '$lib/stores/bottom-alerts';
|
||||
import InitPromo from '$lib/images/promos/init-2026.png';
|
||||
import NewConsolePromo from '$lib/images/promos/new-console.png';
|
||||
|
||||
const listOfPromotions: BottomModalAlertItem[] = [];
|
||||
|
||||
if (isCloud) {
|
||||
const initPromo: BottomModalAlertItem = {
|
||||
id: 'modal:init_2026_announcement',
|
||||
src: {
|
||||
dark: InitPromo,
|
||||
light: InitPromo
|
||||
},
|
||||
title: 'Init is happening August 31 - September 4',
|
||||
message:
|
||||
'Five days of product launches, live sessions, and community events. Claim your ticket to join.',
|
||||
plan: 'free',
|
||||
importance: 8,
|
||||
scope: 'everywhere',
|
||||
cta: {
|
||||
text: 'Claim your ticket',
|
||||
link: () => 'https://new.appwrite.io/init',
|
||||
external: true,
|
||||
hideOnClick: true,
|
||||
skipUpgradeRedirect: true
|
||||
},
|
||||
show: true
|
||||
};
|
||||
listOfPromotions.push(initPromo);
|
||||
}
|
||||
|
||||
if (isCloud) {
|
||||
const newConsolePromo: BottomModalAlertItem = {
|
||||
id: 'modal:new_console_announcement',
|
||||
|
||||
Reference in new issue
Block a user