Skip to content

Commit 3fe3c7e

Browse files
committed
remove promo from studio
1 parent 1dd2860 commit 3fe3c7e

3 files changed

Lines changed: 9 additions & 22 deletions

File tree

src/lib/components/promos/imagine.svelte

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script lang="ts">
22
import { NoToneMapping } from 'three';
33
import { Canvas } from '@threlte/core';
4-
import ProductHuntSvg from './product-hunt.svg';
4+
import ImagineSvg from './imagine.svg';
55
import ImaginationShader from './shader.svelte';
66
</script>
77

@@ -12,11 +12,10 @@
1212
</Canvas>
1313
</div>
1414

15-
<!--- Hidden logo
15+
- Hidden logo
1616
<img src={ImagineSvg} alt="Imagine" class="imagine-logo" />
17-
-->
17+
1818

19-
<img src={ProductHuntSvg} alt="Product Hunt" class="imagine-logo" />
2019
</div>
2120

2221
<style>
@@ -38,7 +37,7 @@
3837
top: 50%;
3938
left: 50%;
4039
width: auto;
41-
height: 40px;
40+
height: 24px;
4241
position: absolute;
4342
transform: translate(-50%, -50%);
4443
}

src/lib/components/promos/product-hunt.svg

Lines changed: 0 additions & 12 deletions
This file was deleted.

src/routes/(console)/bottomAlerts.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ const listOfPromotions: BottomModalAlertItem[] = [];
1414

1515
if (isCloud && SHOW_IMAGINE_PROMO) {
1616
const imaginePromo: BottomModalAlertItem = {
17-
id: 'modal:imagine-ph-launch-studio',
17+
id: 'modal:imagine.dev',
1818
backgroundComponent: Imagine,
19-
title: 'Imagine is live on Product Hunt',
20-
message: 'Ask questions, share feedback, and support the launch',
19+
title: 'Introducing Imagine',
20+
message: 'The most complete AI builder to date',
2121
importance: 8,
2222
scope: 'everywhere',
2323
plan: 'free',
2424
cta: {
25-
text: 'Head to Product Hunt',
25+
text: 'Try it now',
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://apwr.dev/imagine-ph-studio',
38+
link: () => 'https://imagine.dev',
3939
external: true,
4040
hideOnClick: true
4141
},

0 commit comments

Comments
 (0)