diff --git a/src/lib/images/promos/claude-code-plugin.png b/src/lib/images/promos/claude-code-plugin.png deleted file mode 100644 index 8776b9b382..0000000000 Binary files a/src/lib/images/promos/claude-code-plugin.png and /dev/null differ diff --git a/src/lib/images/promos/webhooks-api.png b/src/lib/images/promos/webhooks-api.png new file mode 100644 index 0000000000..8656f16a44 Binary files /dev/null and b/src/lib/images/promos/webhooks-api.png differ diff --git a/src/routes/(console)/bottomAlerts.ts b/src/routes/(console)/bottomAlerts.ts index 2aa489dfba..b4082f7997 100644 --- a/src/routes/(console)/bottomAlerts.ts +++ b/src/routes/(console)/bottomAlerts.ts @@ -1,32 +1,32 @@ import { isCloud } from '$lib/system'; import { isSameDay } from '$lib/helpers/date'; import { type BottomModalAlertItem, showBottomModalAlert } from '$lib/stores/bottom-alerts'; -import ClaudeCodePlugin from '$lib/images/promos/claude-code-plugin.png'; +import WebhooksApi from '$lib/images/promos/webhooks-api.png'; const listOfPromotions: BottomModalAlertItem[] = []; if (isCloud) { - const claudePluginPromo: BottomModalAlertItem = { - id: 'modal:claude_plugin_announcement', + const webhooksApiPromo: BottomModalAlertItem = { + id: 'modal:webhooks_api_announcement', src: { - dark: ClaudeCodePlugin, - light: ClaudeCodePlugin + dark: WebhooksApi, + light: WebhooksApi }, - title: 'Announcing the Appwrite Claude plugin', - message: 'Build, manage, and ship Appwrite projects without leaving Claude Code.', + title: 'Announcing the Webhooks API', + message: 'Manage webhooks programmatically with Server SDKs and API keys.', plan: 'free', importance: 8, scope: 'everywhere', cta: { text: 'Read announcement', - link: () => 'https://appwrite.io/blog/post/announcing-appwrite-claude-code-plugin', + link: () => 'https://appwrite.io/blog/post/announcing-webhooks-api', external: true, hideOnClick: true, skipUpgradeRedirect: true }, show: true }; - listOfPromotions.push(claudePluginPromo); + listOfPromotions.push(webhooksApiPromo); } export function addBottomModalAlerts() {