@@ -14,7 +14,7 @@ const listOfPromotions: BottomModalAlertItem[] = [];
1414
1515if ( isCloud && SHOW_IMAGINE_PROMO ) {
1616 const imaginePromo : BottomModalAlertItem = {
17- id : 'modal:imagine-ph-launch-console ' ,
17+ id : 'modal:imagine-ph-launch-studio ' ,
1818 backgroundComponent : Imagine ,
1919 title : 'Imagine is live on Product Hunt' ,
2020 message : 'Ask questions, share feedback, and support the launch' ,
@@ -35,7 +35,7 @@ if (isCloud && SHOW_IMAGINE_PROMO) {
3535 light : '#333333' ,
3636 dark : '#CCCCCC'
3737 } ,
38- link : ( ) => 'https://apwr.dev/imagine-ph-appwrite-console ' ,
38+ link : ( ) => 'https://apwr.dev/imagine-ph-studio ' ,
3939 external : true ,
4040 hideOnClick : true
4141 } ,
@@ -51,9 +51,10 @@ export function addBottomModalAlerts() {
5151
5252 listOfPromotions . forEach ( ( promotion ) => showBottomModalAlert ( promotion ) ) ;
5353
54+ // only for imagine!
5455 if ( listOfPromotions . length > 0 ) {
55- const promo = listOfPromotions [ 0 ] ;
56- const { cta, title, message } = promo ;
56+ const imaginePromo = listOfPromotions [ 0 ] ;
57+ const { cta, title, message } = imaginePromo ;
5758 setMobileSingleAlertLayout ( { enabled : true , cta, title, message } ) ;
5859 }
5960}
0 commit comments