Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions src/lib/components/promos/imagine.svelte
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<script lang="ts">
import { NoToneMapping } from 'three';
import { Canvas } from '@threlte/core';
import ProductHuntSvg from './product-hunt.svg';
import ImagineSvg from './imagine.svg';
import ImaginationShader from './shader.svelte';
</script>

Expand All @@ -12,11 +12,7 @@
</Canvas>
</div>

<!--- Hidden logo
<img src={ImagineSvg} alt="Imagine" class="imagine-logo" />
-->

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

<style>
Expand All @@ -38,7 +34,7 @@
top: 50%;
left: 50%;
width: auto;
height: 40px;
height: 24px;
position: absolute;
transform: translate(-50%, -50%);
}
Expand Down
12 changes: 0 additions & 12 deletions src/lib/components/promos/product-hunt.svg

This file was deleted.

10 changes: 5 additions & 5 deletions src/routes/(console)/bottomAlerts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ const listOfPromotions: BottomModalAlertItem[] = [];

if (isCloud && SHOW_IMAGINE_PROMO) {
const imaginePromo: BottomModalAlertItem = {
id: 'modal:imagine-ph-launch-console',
id: 'modal:imagine.dev',
backgroundComponent: Imagine,
title: 'Imagine is live on Product Hunt',
message: 'Ask questions, share feedback, and support the launch',
title: 'Introducing Imagine',
message: 'The most complete AI builder to date',
importance: 8,
scope: 'everywhere',
plan: 'free',
cta: {
text: 'Head to Product Hunt',
text: 'Try it now',
color: {
light: '#FFFFFF',
dark: '#000000'
Expand All @@ -34,7 +34,7 @@ if (isCloud && SHOW_IMAGINE_PROMO) {
light: '#333333',
dark: '#CCCCCC'
},
link: () => 'https://apwr.dev/imagine-ph-appwrite-console',
link: () => 'https://imagine.dev',
external: true,
hideOnClick: true
},
Expand Down