mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
feat: replace console banner with relationships GA announcement
Swap Terraform provider promo for the "Database relationships are out of beta" announcement, linking to the GA blog post.
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 126 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 25 KiB |
@@ -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 TerraformProvider from '$lib/images/promos/terraform-provider.png';
|
||||
import RelationshipsOutOfBeta from '$lib/images/promos/relationships-out-of-beta.png';
|
||||
|
||||
const listOfPromotions: BottomModalAlertItem[] = [];
|
||||
|
||||
if (isCloud) {
|
||||
const terraformProviderPromo: BottomModalAlertItem = {
|
||||
id: 'modal:terraform_provider_announcement',
|
||||
const relationshipsOutOfBetaPromo: BottomModalAlertItem = {
|
||||
id: 'modal:relationships_out_of_beta_announcement',
|
||||
src: {
|
||||
dark: TerraformProvider,
|
||||
light: TerraformProvider
|
||||
dark: RelationshipsOutOfBeta,
|
||||
light: RelationshipsOutOfBeta
|
||||
},
|
||||
title: 'Introducing Terraform support for Appwrite projects',
|
||||
title: 'Database relationships are out of beta',
|
||||
message:
|
||||
'Manage your entire Appwrite project as code with the official Terraform provider.',
|
||||
'After a year of performance overhauls, opt-in loading, and full query support, relationships are now production-ready.',
|
||||
plan: 'free',
|
||||
importance: 8,
|
||||
scope: 'everywhere',
|
||||
cta: {
|
||||
text: 'Read announcement',
|
||||
link: () => 'https://appwrite.io/blog/post/introducing-terraform-provider-for-appwrite',
|
||||
link: () => 'https://appwrite.io/blog/post/relationships-are-out-of-beta',
|
||||
external: true,
|
||||
hideOnClick: true,
|
||||
skipUpgradeRedirect: true
|
||||
},
|
||||
show: true
|
||||
};
|
||||
listOfPromotions.push(terraformProviderPromo);
|
||||
listOfPromotions.push(relationshipsOutOfBetaPromo);
|
||||
}
|
||||
|
||||
export function addBottomModalAlerts() {
|
||||
|
||||
Reference in New Issue
Block a user