Merge pull request #1164 from appwrite/feat-fusionvc-campaign

feat: fusion vc campaign
This commit is contained in:
Arman
2024-06-28 15:22:27 +02:00
committed by GitHub
5 changed files with 36 additions and 0 deletions
+17
View File
@@ -158,6 +158,16 @@
</div>
</Card>
</div>
{#if selectedCampaign.footer}
<div
class="u-flex u-gap-16 u-cross-center u-main-center review-footer-container">
<p class="u-bold" style:text-transform="uppercase">provided to you by</p>
<img
style:max-block-size="2.5rem"
src={`/images/campaigns/${coupon?.campaign ?? campaign}/footer/${$app.themeInUse}.png`}
alt={coupon?.campaign ?? campaign} />
</div>
{/if}
</section>
{/if}
</section>
@@ -370,4 +380,11 @@
}
}
}
.review-footer-container {
padding-block-start: 10rem;
@media #{$break1} {
padding-block-start: 5rem;
}
}
</style>
+19
View File
@@ -6,6 +6,7 @@ export type CampaignData = {
template: 'card' | 'review';
data?: Record<string, unknown>;
onlyNewOrgs?: boolean;
footer?: boolean;
};
export const campaigns: Map<string, CampaignData> = new Map();
@@ -86,4 +87,22 @@ campaigns
}
]
}
})
.set('FusionVC', {
template: 'review',
title: 'Welcome to Appwrite!',
description:
'Upgrade to Appwrite Pro and add the credits to enjoy the full capabilities of Cloud. Provided to you by Fusion VC.',
onlyNewOrgs: true,
footer: true,
data: {
reviews: [
{
name: 'David Foster',
img: '1.jpeg',
desc: 'Managing director',
review: 'We really loved working with Appwrite for launching our bootstrapped "Open Mind" App. It was saving us a lot of money in comparison to Firebase since the amount of users grew quite fast and we needed a quick switch.'
}
]
}
});
Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB