|
1 | 1 | import { isCloud } from '$lib/system'; |
2 | 2 | import { isSameDay } from '$lib/helpers/date'; |
3 | 3 | import { type BottomModalAlertItem, showBottomModalAlert } from '$lib/stores/bottom-alerts'; |
4 | | -import InitPromo from '$lib/images/promos/init-2026.png'; |
| 4 | +import NewConsolePromo from '$lib/images/promos/new-console.png'; |
5 | 5 |
|
6 | 6 | const listOfPromotions: BottomModalAlertItem[] = []; |
7 | 7 |
|
8 | 8 | if (isCloud) { |
9 | | - const initPromo: BottomModalAlertItem = { |
10 | | - id: 'modal:init_2026_announcement', |
| 9 | + const newConsolePromo: BottomModalAlertItem = { |
| 10 | + id: 'modal:new_console_announcement', |
11 | 11 | src: { |
12 | | - dark: InitPromo, |
13 | | - light: InitPromo |
| 12 | + dark: NewConsolePromo, |
| 13 | + light: NewConsolePromo |
14 | 14 | }, |
15 | | - title: 'Init is happening August 31 - September 4', |
| 15 | + title: 'Introducing the new Appwrite Console', |
16 | 16 | message: |
17 | | - 'Five days of product launches, live sessions, and community events. Claim your ticket to join.', |
| 17 | + 'Rebuilt from the ground up using the power of TanStack Start. Faster, cleaner, and everything you’re working on comes with you.', |
18 | 18 | plan: 'free', |
19 | 19 | importance: 8, |
20 | 20 | scope: 'everywhere', |
21 | 21 | cta: { |
22 | | - text: 'Claim your ticket', |
23 | | - link: () => 'https://new.appwrite.io/init', |
| 22 | + text: 'Try it now', |
| 23 | + link: () => |
| 24 | + 'https://appwrite.io/?utm_source=old-console&utm_medium=promo_card&utm_campaign=new-console', |
24 | 25 | external: true, |
25 | 26 | hideOnClick: true, |
26 | 27 | skipUpgradeRedirect: true |
27 | 28 | }, |
28 | 29 | show: true |
29 | 30 | }; |
30 | | - listOfPromotions.push(initPromo); |
| 31 | + listOfPromotions.push(newConsolePromo); |
31 | 32 | } |
32 | 33 |
|
33 | 34 | export function addBottomModalAlerts() { |
|
0 commit comments