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:
harsh mahajan committed 2026-08-31 22:30:25 +05:30
1 parent f5a74497c5
commit 6cb1a8fd39
2 files changed
-26

No files matched your search

Binary file not shown.

Before

Width:  |  Height:  |  Size: 319 KiB

-26
View File
@@ -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',