@@ -7,22 +7,22 @@ import {
77 showBottomModalAlert
88} from '$lib/stores/bottom-alerts' ;
99
10- const SHOW_IMAGINE_PROMO = false ;
10+ const SHOW_IMAGINE_PROMO = true ;
1111import { ProfileMode , resolvedProfile } from '$lib/profiles/index.svelte' ;
1212
1313const listOfPromotions : BottomModalAlertItem [ ] = [ ] ;
1414
1515if ( isCloud && SHOW_IMAGINE_PROMO ) {
1616 const imaginePromo : BottomModalAlertItem = {
17- id : 'modal:imagine.dev ' ,
17+ id : 'modal:imagine-ph-launch-studio ' ,
1818 backgroundComponent : Imagine ,
19- title : 'Introducing Imagine' ,
20- message : 'the most complete AI builder to date ' ,
19+ title : 'Imagine is live on Product Hunt ' ,
20+ message : 'Ask questions, share feedback, and support the launch ' ,
2121 importance : 8 ,
2222 scope : 'everywhere' ,
2323 plan : 'free' ,
2424 cta : {
25- text : 'Try it now ' ,
25+ text : 'Head to Product Hunt ' ,
2626 color : {
2727 light : '#FFFFFF' ,
2828 dark : '#000000'
@@ -35,7 +35,7 @@ if (isCloud && SHOW_IMAGINE_PROMO) {
3535 light : '#333333' ,
3636 dark : '#CCCCCC'
3737 } ,
38- link : ( ) => 'https://cloud.appwrite.io ' ,
38+ link : ( ) => 'https://apwr.dev/imagine-ph-studio ' ,
3939 external : true ,
4040 hideOnClick : true
4141 } ,
@@ -47,7 +47,7 @@ if (isCloud && SHOW_IMAGINE_PROMO) {
4747
4848export function addBottomModalAlerts ( ) {
4949 // fast path: not the valid profile to show this!
50- if ( resolvedProfile . id !== ProfileMode . CONSOLE ) return ;
50+ if ( resolvedProfile . id !== ProfileMode . STUDIO ) return ;
5151
5252 listOfPromotions . forEach ( ( promotion ) => showBottomModalAlert ( promotion ) ) ;
5353
0 commit comments