Files
website/src/lib/components/PreFooter.svelte
Jesse Winton 428cbb0c14 Revert "update components"
This reverts commit 4ab7bb2f8e.
2024-08-23 12:20:13 -04:00

108 lines
3.7 KiB
Svelte

<script lang="ts">
import { PUBLIC_APPWRITE_DASHBOARD } from "$env/static/public";
</script>
<img
src="/images/bgs/pre-footer.png"
alt=""
class="web-pre-footer-bg"
style="z-index:-1"
/>
<div class="web-u-row-gap-80 relative grid grid-cols-2 gap-8">
<section class="web-hero web-u-row-gap-32 flex items-center justify-center">
<h2 class="web-display web-u-color-text-primary max-w-[500px] text-center">
Start building today
</h2>
<a
href={PUBLIC_APPWRITE_DASHBOARD}
class="web-button is-transparent web-self-center"
>
<span class="text">Get started</span>
</a>
</section>
<section
class="web-card is-transparent has-border-gradient web-u-max-inline-width-584-mobile web-mx-auto-mobile web-u-inline-width-100-percent-mobile"
>
<header class="web-strip-plans-header">
<div class="web-strip-plans-header-wrapper web-u-row-gap-24">
<h3 class="web-title web-u-color-text-primary">Our plans</h3>
</div>
</header>
<ul class="web-strip-plans">
<li class="web-strip-plans-item web-strip-plans-container-query">
<div class="web-strip-plans-item-wrapper">
<div class="web-strip-plans-plan">
<h4 class="title web-description">Free</h4>
<div class="web-title web-u-color-text-primary">$0</div>
<div class="info web-caption-500" />
</div>
<p class="web-strip-plans-info web-caption-500">
For personal hobby projects and students.
</p>
<a
href={`${PUBLIC_APPWRITE_DASHBOARD}/register`}
class="web-button is-secondary is-full-width-mobile web-u-cross-child-end"
>
<span class="text">Get started</span>
</a>
</div>
</li>
<li class="web-strip-plans-item web-strip-plans-container-query">
<div class="web-strip-plans-item-wrapper">
<div class="web-strip-plans-plan">
<h4 class="title web-description">Pro</h4>
<div class="web-title web-u-color-text-primary">$15</div>
<div class="info web-caption-500">per member/month</div>
</div>
<p class="web-strip-plans-info web-caption-500">
For pro developers and teams that need to scale their products.
</p>
<a
href={`${PUBLIC_APPWRITE_DASHBOARD}/console?type=createPro`}
class="web-button is-full-width-mobile web-u-cross-child-end"
target="_blank"
rel="noopener noreferrer"
>
<!-- <span class="text">Start trial</span> -->
<span class="text">Start building</span>
</a>
</div>
</li>
<li class="web-strip-plans-item web-strip-plans-container-query">
<div class="web-strip-plans-item-wrapper">
<div class="web-strip-plans-plan">
<h4 class="title web-description">Scale</h4>
<div class="web-title web-u-color-text-primary">$599</div>
<div class="info web-caption-500">per org/month</div>
</div>
<p class="web-strip-plans-info web-caption-500">
For pro developers and production projects that need the ability to
scale.
</p>
<button
class="web-button is-full-width-mobile is-secondary web-u-cross-child-end"
disabled
>
<span class="text">Coming soon</span>
</button>
</div>
</li>
</ul>
</section>
</div>
<style lang="scss">
.web-pre-footer-bg {
position: absolute;
top: clamp(300px, 50vw, 50%);
left: clamp(300px, 50vw, 50%);
transform: translate(-58%, -72%);
width: clamp(1200px, 200vw, 3000px);
height: auto;
max-inline-size: unset;
max-block-size: unset;
}
</style>