mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
Merge pull request #3188 from appwrite/feat/init-console-banner
feat: Init announcement console banner
This commit is contained in:
3 files changed
+10
-10
No files matched your search
Binary file not shown.
|
After Width: | Height: | Size: 319 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 1.5 MiB |
@@ -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 StateOfAppwriteSurvey from '$lib/images/promos/state-of-appwrite-survey.png';
|
||||
import InitPromo from '$lib/images/promos/init-2026.png';
|
||||
|
||||
const listOfPromotions: BottomModalAlertItem[] = [];
|
||||
|
||||
if (isCloud) {
|
||||
const stateOfAppwriteSurveyPromo: BottomModalAlertItem = {
|
||||
id: 'modal:state_of_appwrite_survey_announcement',
|
||||
const initPromo: BottomModalAlertItem = {
|
||||
id: 'modal:init_2026_announcement',
|
||||
src: {
|
||||
dark: StateOfAppwriteSurvey,
|
||||
light: StateOfAppwriteSurvey
|
||||
dark: InitPromo,
|
||||
light: InitPromo
|
||||
},
|
||||
title: 'State of Appwrite Cloud',
|
||||
title: 'Init is happening August 31 - September 4',
|
||||
message:
|
||||
'Share your experience building with Appwrite Cloud and using AI tools, and help shape our product roadmap for 2026 and beyond.',
|
||||
'Five days of product launches, live sessions, and community events. Claim your ticket to join.',
|
||||
plan: 'free',
|
||||
importance: 8,
|
||||
scope: 'everywhere',
|
||||
cta: {
|
||||
text: 'Take the survey',
|
||||
link: () => 'https://forms.gle/5cvWxTwhonoDCWsi7',
|
||||
text: 'Claim your ticket',
|
||||
link: () => 'https://new.appwrite.io/init',
|
||||
external: true,
|
||||
hideOnClick: true,
|
||||
skipUpgradeRedirect: true
|
||||
},
|
||||
show: true
|
||||
};
|
||||
listOfPromotions.push(stateOfAppwriteSurveyPromo);
|
||||
listOfPromotions.push(initPromo);
|
||||
}
|
||||
|
||||
export function addBottomModalAlerts() {
|
||||
|
||||
Reference in new issue
Block a user