diff --git a/src/lib/images/promos/presences-api.png b/src/lib/images/promos/presences-api.png deleted file mode 100644 index c2f5b2cbf2..0000000000 Binary files a/src/lib/images/promos/presences-api.png and /dev/null differ diff --git a/src/lib/images/promos/state-of-appwrite-survey.png b/src/lib/images/promos/state-of-appwrite-survey.png new file mode 100644 index 0000000000..7626c5d256 Binary files /dev/null and b/src/lib/images/promos/state-of-appwrite-survey.png differ diff --git a/src/routes/(console)/bottomAlerts.ts b/src/routes/(console)/bottomAlerts.ts index 6d7ef4ee9b..37790953df 100644 --- a/src/routes/(console)/bottomAlerts.ts +++ b/src/routes/(console)/bottomAlerts.ts @@ -1,33 +1,33 @@ import { isCloud } from '$lib/system'; import { isSameDay } from '$lib/helpers/date'; import { type BottomModalAlertItem, showBottomModalAlert } from '$lib/stores/bottom-alerts'; -import PresencesApi from '$lib/images/promos/presences-api.png'; +import StateOfAppwriteSurvey from '$lib/images/promos/state-of-appwrite-survey.png'; const listOfPromotions: BottomModalAlertItem[] = []; if (isCloud) { - const presencesApiPromo: BottomModalAlertItem = { - id: 'modal:presences_api_announcement', + const stateOfAppwriteSurveyPromo: BottomModalAlertItem = { + id: 'modal:state_of_appwrite_survey_announcement', src: { - dark: PresencesApi, - light: PresencesApi + dark: StateOfAppwriteSurvey, + light: StateOfAppwriteSurvey }, - title: 'Announcing the Presences API', + title: 'State of Appwrite Cloud', message: - 'Track who is online, typing, and active in realtime with built-in channels, automatic expiry, and permission-aware subscriptions.', + 'Share your experience building with Appwrite Cloud and using AI tools, and help shape our product roadmap for 2026 and beyond.', plan: 'free', importance: 8, scope: 'everywhere', cta: { - text: 'Read announcement', - link: () => 'https://appwrite.io/blog/post/announcing-presences-api', + text: 'Take the survey', + link: () => 'https://forms.gle/5cvWxTwhonoDCWsi7', external: true, hideOnClick: true, skipUpgradeRedirect: true }, show: true }; - listOfPromotions.push(presencesApiPromo); + listOfPromotions.push(stateOfAppwriteSurveyPromo); } export function addBottomModalAlerts() {