Skip to content

Commit aef0808

Browse files
authored
Merge pull request #2814 from appwrite/revert-2810-add-imagine-ph
Revert "PH promo console"
2 parents fee67a1 + f7b49a0 commit aef0808

3 files changed

Lines changed: 7 additions & 23 deletions

File tree

src/lib/components/promos/imagine.svelte

Lines changed: 2 additions & 6 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,7 @@
1212
</Canvas>
1313
</div>
1414

15-
<!--- Hidden logo
1615
<img src={ImagineSvg} alt="Imagine" class="imagine-logo" />
17-
-->
18-
19-
<img src={ProductHuntSvg} alt="Product Hunt" class="imagine-logo" />
2016
</div>
2117

2218
<style>
@@ -38,7 +34,7 @@
3834
top: 50%;
3935
left: 50%;
4036
width: auto;
41-
height: 40px;
37+
height: 24px;
4238
position: absolute;
4339
transform: translate(-50%, -50%);
4440
}

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
@@ -13,15 +13,15 @@ const listOfPromotions: BottomModalAlertItem[] = [];
1313

1414
if (isCloud && SHOW_IMAGINE_PROMO) {
1515
const imaginePromo: BottomModalAlertItem = {
16-
id: 'modal:imagine-ph-launch-console',
16+
id: 'modal:imagine.dev',
1717
backgroundComponent: Imagine,
18-
title: 'Imagine is live on Product Hunt',
19-
message: 'Ask questions, share feedback, and support the launch',
18+
title: 'Introducing Imagine',
19+
message: 'The most complete AI builder to date',
2020
importance: 8,
2121
scope: 'everywhere',
2222
plan: 'free',
2323
cta: {
24-
text: 'Head to Product Hunt',
24+
text: 'Try it now',
2525
color: {
2626
light: '#FFFFFF',
2727
dark: '#000000'
@@ -34,7 +34,7 @@ if (isCloud && SHOW_IMAGINE_PROMO) {
3434
light: '#333333',
3535
dark: '#CCCCCC'
3636
},
37-
link: () => 'https://apwr.dev/imagine-ph-appwrite-console',
37+
link: () => 'https://imagine.dev',
3838
external: true,
3939
hideOnClick: true
4040
},

0 commit comments

Comments
 (0)