Skip to content

Commit 3034949

Browse files
chore(console): rename promo to Presences API and swap cover image
1 parent 1af5158 commit 3034949

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

-182 KB
Binary file not shown.
1.17 MB
Loading

src/routes/(console)/bottomAlerts.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
11
import { isCloud } from '$lib/system';
22
import { isSameDay } from '$lib/helpers/date';
33
import { type BottomModalAlertItem, showBottomModalAlert } from '$lib/stores/bottom-alerts';
4-
import PresenceApi from '$lib/images/promos/presence-api.png';
4+
import PresencesApi from '$lib/images/promos/presences-api.png';
55

66
const listOfPromotions: BottomModalAlertItem[] = [];
77

88
if (isCloud) {
9-
const presenceApiPromo: BottomModalAlertItem = {
10-
id: 'modal:presence_api_announcement',
9+
const presencesApiPromo: BottomModalAlertItem = {
10+
id: 'modal:presences_api_announcement',
1111
src: {
12-
dark: PresenceApi,
13-
light: PresenceApi
12+
dark: PresencesApi,
13+
light: PresencesApi
1414
},
15-
title: 'Announcing the Presence API',
15+
title: 'Announcing the Presences API',
1616
message:
1717
'Track who is online, typing, and active in realtime with built-in channels, automatic expiry, and permission-aware subscriptions.',
1818
plan: 'free',
1919
importance: 8,
2020
scope: 'everywhere',
2121
cta: {
2222
text: 'Read announcement',
23-
link: () => 'https://appwrite.io/blog/post/announcing-presence-api',
23+
link: () => 'https://appwrite.io/blog/post/announcing-presences-api',
2424
external: true,
2525
hideOnClick: true,
2626
skipUpgradeRedirect: true
2727
},
2828
show: true
2929
};
30-
listOfPromotions.push(presenceApiPromo);
30+
listOfPromotions.push(presencesApiPromo);
3131
}
3232

3333
export function addBottomModalAlerts() {

0 commit comments

Comments
 (0)