Skip to content

Commit c63636e

Browse files
Merge pull request #3113 from appwrite/feat-state-of-appwrite-survey-banner
feat(console): add State of Appwrite Cloud survey banner
2 parents c2b07b0 + 4081765 commit c63636e

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

-1.17 MB
Binary file not shown.
1.5 MB
Loading

src/routes/(console)/bottomAlerts.ts

Lines changed: 10 additions & 10 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 PresencesApi from '$lib/images/promos/presences-api.png';
4+
import StateOfAppwriteSurvey from '$lib/images/promos/state-of-appwrite-survey.png';
55

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

88
if (isCloud) {
9-
const presencesApiPromo: BottomModalAlertItem = {
10-
id: 'modal:presences_api_announcement',
9+
const stateOfAppwriteSurveyPromo: BottomModalAlertItem = {
10+
id: 'modal:state_of_appwrite_survey_announcement',
1111
src: {
12-
dark: PresencesApi,
13-
light: PresencesApi
12+
dark: StateOfAppwriteSurvey,
13+
light: StateOfAppwriteSurvey
1414
},
15-
title: 'Announcing the Presences API',
15+
title: 'State of Appwrite Cloud',
1616
message:
17-
'Track who is online, typing, and active in realtime with built-in channels, automatic expiry, and permission-aware subscriptions.',
17+
'Share your experience building with Appwrite Cloud and using AI tools, and help shape our product roadmap for 2026 and beyond.',
1818
plan: 'free',
1919
importance: 8,
2020
scope: 'everywhere',
2121
cta: {
22-
text: 'Read announcement',
23-
link: () => 'https://appwrite.io/blog/post/announcing-presences-api',
22+
text: 'Take the survey',
23+
link: () => 'https://forms.gle/5cvWxTwhonoDCWsi7',
2424
external: true,
2525
hideOnClick: true,
2626
skipUpgradeRedirect: true
2727
},
2828
show: true
2929
};
30-
listOfPromotions.push(presencesApiPromo);
30+
listOfPromotions.push(stateOfAppwriteSurveyPromo);
3131
}
3232

3333
export function addBottomModalAlerts() {

0 commit comments

Comments
 (0)