From ce7c8a6aa8780227bf71b1f685526dfd53db5ca3 Mon Sep 17 00:00:00 2001 From: Aditya Oberai Date: Tue, 27 Jan 2026 15:34:35 +0000 Subject: [PATCH 1/6] Add Imagine PH promo to console --- src/routes/(console)/bottomAlerts.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/routes/(console)/bottomAlerts.ts b/src/routes/(console)/bottomAlerts.ts index 1d0d860457..83f09c9fc7 100644 --- a/src/routes/(console)/bottomAlerts.ts +++ b/src/routes/(console)/bottomAlerts.ts @@ -13,15 +13,15 @@ const listOfPromotions: BottomModalAlertItem[] = []; if (isCloud && SHOW_IMAGINE_PROMO) { const imaginePromo: BottomModalAlertItem = { - id: 'modal:imagine.dev', + id: 'modal:imagine-ph-launch', backgroundComponent: Imagine, - title: 'Introducing Imagine', - message: 'The most complete AI builder to date', + title: 'Imagine is live on Product Hunt', + message: 'Ask questions, share feedback, and support the launch', importance: 8, scope: 'everywhere', plan: 'free', cta: { - text: 'Try it now', + text: 'Head to Product Hunt', color: { light: '#FFFFFF', dark: '#000000' @@ -34,7 +34,7 @@ if (isCloud && SHOW_IMAGINE_PROMO) { light: '#333333', dark: '#CCCCCC' }, - link: () => 'https://imagine.dev', + link: () => 'https://www.producthunt.com/products/imagine-2?launch=imagine-00018118-5267-43ba-b456-efeeb7cbfbc9', external: true, hideOnClick: true }, From 6279348d1dfc296246a43ca6851afb3317168837 Mon Sep 17 00:00:00 2001 From: Aditya Oberai Date: Tue, 27 Jan 2026 15:50:59 +0000 Subject: [PATCH 2/6] prettier --- src/routes/(console)/bottomAlerts.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/routes/(console)/bottomAlerts.ts b/src/routes/(console)/bottomAlerts.ts index 83f09c9fc7..44df6490e8 100644 --- a/src/routes/(console)/bottomAlerts.ts +++ b/src/routes/(console)/bottomAlerts.ts @@ -34,7 +34,8 @@ if (isCloud && SHOW_IMAGINE_PROMO) { light: '#333333', dark: '#CCCCCC' }, - link: () => 'https://www.producthunt.com/products/imagine-2?launch=imagine-00018118-5267-43ba-b456-efeeb7cbfbc9', + link: () => + 'https://www.producthunt.com/products/imagine-2?launch=imagine-00018118-5267-43ba-b456-efeeb7cbfbc9', external: true, hideOnClick: true }, From bc9b9903ca0d8f73229b51a76f29e4f3f47a5bc1 Mon Sep 17 00:00:00 2001 From: adityaoberai Date: Tue, 27 Jan 2026 22:30:39 +0530 Subject: [PATCH 3/6] Switch Imagine logo with PH in bottom alert --- src/lib/components/promos/imagine.svelte | 8 ++++++-- src/lib/components/promos/product-hunt.svg | 12 ++++++++++++ src/routes/(console)/bottomAlerts.ts | 4 ++++ 3 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 src/lib/components/promos/product-hunt.svg diff --git a/src/lib/components/promos/imagine.svelte b/src/lib/components/promos/imagine.svelte index ff316b51a6..eb5ffb9357 100644 --- a/src/lib/components/promos/imagine.svelte +++ b/src/lib/components/promos/imagine.svelte @@ -1,7 +1,7 @@ @@ -12,7 +12,11 @@ + + +