Files
classroomio/apps/classroomio-com/src/lib/Pricing/Pricing.svelte
T

188 lines
7.1 KiB
Svelte
Raw Normal View History

2023-11-25 21:56:02 +00:00
<script>
import Checkmark from 'carbon-icons-svelte/lib/Checkmark.svelte';
let prices = false;
function handlePriceChange() {
prices = !prices;
}
const freeFeatures = [
'Unlimited Courses',
'Unlimited Conversations',
'50 Students',
'AI Course Builder (no video upload)',
'Course Landing Page',
'Live chat & Live polls',
2024-01-26 10:06:39 +01:00
'20 AI Prompts'
2023-11-25 21:56:02 +00:00
];
const proFeatures = [
'Everything in Free',
'1000 Students',
'Advanced AI Course Builder (video upload)',
'Lesson/Course PDF Download',
'Certificates',
'2000 AI Prompts',
'Remove ClassroomIO Branding',
2024-01-26 10:06:39 +01:00
'Email Support'
2023-11-25 21:56:02 +00:00
];
const teamFeatures = [
'Everything in Pro',
2023-11-25 21:56:02 +00:00
'Unlimited students',
'Unlimited AI Prompts',
'White Labelling',
2024-01-26 10:06:39 +01:00
'Priority Support'
2023-11-25 21:56:02 +00:00
];
</script>
<section id="pricing" class="py-[12%]">
<div class="px-[6%] flex flex-col justify-center items-center">
<div class="text-center mb-[3%]">
2024-01-26 10:06:39 +01:00
<h3 id="pricing" class="inter text-[#1D4EE2] text-md font-semibold tracking-wide">Pricing</h3>
<h1 class="my-5 lg:my-4 font-semibold tracking-tight text-gray-900 text-3xl lg:text-4xl">
2023-11-25 21:56:02 +00:00
For teams and individuals
</h1>
2024-01-26 10:06:39 +01:00
<p class="inter mt-4 text-lg text-gray-500 tracking-normal lg:tracking-wide">
Customizable LMS, AI integration for productive educators and many more...
2023-11-25 21:56:02 +00:00
</p>
</div>
<div
class="flex items-center border-[2px] rounded-[30px] p-[2px] relative lg:scale-100 mt-10 lg:mt-0"
>
<button
2024-01-26 10:06:39 +01:00
style="background-color: {prices ? 'initial' : '#1D4EE2'}; color: {prices
? '#777E8A'
: '#fff'}"
2023-11-25 21:56:02 +00:00
class="bg-[#1D4EE2] text-white rounded-[30px] py-1 px-3 lg:py-2 lg:px-4 inter text-xs"
on:click={handlePriceChange}>Monthly</button
>
<button
2024-01-26 10:06:39 +01:00
style="background-color: {prices ? '#1D4EE2' : ''}; color: {prices ? '#fff' : '#777E8A'}"
2023-11-25 21:56:02 +00:00
class="text-white rounded-[30px] py-1 lg:py-2 px-3 lg:px-4 inter text-xs"
on:click={handlePriceChange}>Annually</button
>
<div
class="absolute top-[-85%] right-[-40%] lg:top-[-75%] lg:right-[-43%] bg-green-600 border border-green-700 text-xs text-white px-3.5 py-1.5 rounded-full scale-[90%] lg:scale-100"
2023-11-25 21:56:02 +00:00
>
Save 2 months
</div>
</div>
<div class="isolate mt-10 grid gap-10 grid-cols-1 lg:grid-cols-3">
<!-- card 1 -->
2024-01-26 10:06:39 +01:00
<div class="ring-gray-200 rounded-3xl p-8 ring-1 xl:p-9 max-w-xl lg:max-w-sm">
<h3 class="text-gray-900 text-lg lg:text-xl font-semibold leading-8">Hobby</h3>
<p class="text-gray-500 font-light mt-4 text-sm lg:text-md leading-6 lg:leading-6 inter">
For personal use. Hobby plan is free for up to 5 courses forever, no credit card required.
2023-11-25 21:56:02 +00:00
</p>
2024-01-26 10:06:39 +01:00
<h1 class="mt-6 flex items-baseline gap-x-1 text-4xl lg:text-4xl font-medium inter">
2023-11-25 21:56:02 +00:00
$0 <sub class="text-base">/mo</sub>
</h1>
<button
2024-01-26 10:06:39 +01:00
class="font-medium lg:font-semibold text-md lg:text-lg text-white py-3 lg:py-3 w-full bg-slate-900 hover:bg-slate-700 rounded-md lg:rounded-md mt-10 inter"
2023-11-25 21:56:02 +00:00
data-cal-config={"{'layout':'month_view'}"}
data-cal-link="classroomio/demo"
>
Get started
</button>
<ul class="text-gray-600 mt-8 space-y-2 lg:space-y-5 text-sm xl:mt-10">
{#each freeFeatures as freeFeature}
<li class="flex items-center">
<Checkmark
size={24}
fill="#1D4EE2"
class="mr-2 lg:mr-3 scale-[70%] lg:scale-[100%]"
/>
{freeFeature}
</li>
{/each}
</ul>
</div>
<!-- card 2 -->
<div class="bg-gray-900 rounded-3xl p-8 xl:p-9 max-w-xl lg:max-w-lg">
2024-01-26 10:06:39 +01:00
<h3 class="text-white text-lg lg:text-xl font-semibold leading-8">Pro</h3>
<p class="text-white font-light mt-4 text-sm lg:text-md leading-6 lg:leading-6 inter">
2023-11-25 21:56:02 +00:00
Advanced features for small teaching businesses. Built for scale.
</p>
<h1
class="mt-6 text-white flex items-baseline gap-x-1 text-4xl lg:text-4xl font-medium inter"
>
${prices ? '12' : '15'} <sub class="text-base">/member</sub>
</h1>
<button
2024-01-26 10:06:39 +01:00
class="font-medium lg:font-semibold text-md lg:text-lg text-slate-900 py-3 lg:py-3 w-full bg-white hover:bg-indigo-50 rounded-md lg:rounded-md mt-10 inter"
2023-11-25 21:56:02 +00:00
data-cal-config={"{'layout':'month_view'}"}
data-cal-link="classroomio/demo"
>
Get Started
</button>
2024-01-26 10:06:39 +01:00
<ul class="text-white mt-8 space-y-3 font-light lg:space-y-5 text-sm xl:mt-10">
2023-11-25 21:56:02 +00:00
{#each proFeatures as proFeature}
<li class="flex items-center">
2024-01-26 10:06:39 +01:00
<Checkmark size={24} fill="#fff" class="mr-2 lg:mr-3 scale-[70%] lg:scale-[100%]" />
2023-11-25 21:56:02 +00:00
{proFeature}
</li>
{/each}
</ul>
</div>
<!-- card 3 -->
2024-01-26 10:06:39 +01:00
<div class="ring-gray-200 rounded-3xl p-8 ring-1 xl:p-9 max-w-xl lg:max-w-sm">
<h3 class="text-gray-900 text-lg lg:text-xl font-semibold leading-8">Team</h3>
<p class="text-gray-500 font-light mt-4 text-sm lg:text-md leading-6 lg:leading-6 inter">
2023-11-25 21:56:02 +00:00
Best suited for teams and larger businesses that need more control.
</p>
2024-01-26 10:06:39 +01:00
<h1 class="mt-6 lg:mt-6 flex items-baseline gap-x-1 text-4xl lg:text-4xl font-medium inter">
2023-11-25 21:56:02 +00:00
${prices ? '42' : '50'} <sub class="text-base">/member</sub>
</h1>
<button
2024-01-26 10:06:39 +01:00
class="font-medium lg:font-semibold text-md lg:text-lg text-white py-3 lg:py-3 w-full bg-slate-900 hover:bg-slate-700 rounded-md lg:rounded-md mt-10 inter"
2023-11-25 21:56:02 +00:00
data-cal-config={"{'layout':'month_view'}"}
data-cal-link="classroomio/demo"
>
Get started
</button>
<ul class="text-gray-600 mt-8 space-y-2 lg:space-y-5 text-sm xl:mt-10">
{#each teamFeatures as teamFeature}
<li class="flex items-center">
<Checkmark
size={24}
fill="#1D4EE2"
class="mr-2 lg:mr-3 scale-[70%] lg:scale-[100%]"
/>
{teamFeature}
</li>
{/each}
</ul>
</div>
</div>
<!-- <div
class="flex flex-col lg:flex-row items-start lg:items-center mx-auto lg:mx-10 mt-[5%] border-[1px] rounded-[30px] py-[10%] lg:py-[5%] px-[10px] lg:px-[30px] lg:w-full md:max-w-[550px] lg:max-w-full"
>
<div class="mr-5 pl-5">
<h2
class="text-md lg:text-xl font-semibold font-display leading-8 tracking-wide lg:tracking-tight text-[#1D4EE2] mb-0 lg:mb-4"
>
Hobby
</h2>
<p
class="m-0 lg:mt-1 text-md leading-7 lg:leading-6 text-gray-600 inter"
>
For personal use. Hobby plan is free for up to 5 courses forever, no
credit card required.
</p>
</div>
<button
2024-01-26 10:06:39 +01:00
class="font-semibold text-base lg:text-md text-white leading-5 mt-5 lg:m-0 p-4 lg:py-5 ml-5 bg-[#1D4EE2] rounded-lg lg:rounded-md inter w-[70%] lg:w-full"
2023-11-25 21:56:02 +00:00
>
Create a free account
</button>
</div> -->
</div>
</section>