Files
classroomio/apps/website/src/routes/pricing/+page.svelte
T
Cursor AgentandRotimi Best bbf5eb24de fix(website): address CodeRabbit copy review comments
Normalize power users spelling on customer education, and align pricing
hero copy with Basic plan student and AI credit limits.

Co-authored-by: Rotimi Best <[email protected]>
2026-08-08 23:00:19 +01:00

86 lines
2.7 KiB
Svelte

<script lang="ts">
import { PLANS } from '@cio/utils/plans';
import { PricingCard } from '@cio/ui/custom/pricing-card';
import { PricingToggle } from '@cio/ui/custom/pricing-toggle';
import { PageSignupCTA, PageHeader } from '$lib/components';
let isYearlyPlan = $state(false);
const planNames = Object.keys(PLANS) as Array<keyof typeof PLANS>;
</script>
<svelte:head>
<title>Pricing | ClassroomIO</title>
</svelte:head>
<section>
<PageHeader className="flex flex-col items-center justify-center text-center">
<h1 class="mx-auto flex flex-col items-center text-4xl text-slate-900 md:text-6xl">
<span>Pick a plan.</span>
<span class="relative text-blue-700">Launch your academy.</span>
</h1>
<p class="mt-10 w-[90%] text-center text-lg font-normal text-slate-700 md:w-[60%] lg:mt-7">
Basic is free for up to 20 students and includes monthly AI credits. Upgrade for more seats, higher AI limits, or
a custom domain. Same product for customer, employee, and partner training.
</p>
<div class="mt-8">
<PricingToggle
bind:isYearly={isYearlyPlan}
monthlyLabel="Monthly"
yearlyLabel="Annually"
saveLabel="Save 2 months"
/>
</div>
<script
src="https://widget.senja.io/widget/b43ac234-427e-4d6f-8c23-633208154e54/platform.js"
type="text/javascript"
async
></script>
<div
class="senja-embed mt-5"
data-id="b43ac234-427e-4d6f-8c23-633208154e54"
data-mode="shadow"
data-lazyload="false"
style="display: block;"
></div>
</PageHeader>
<div class="w-full px-2 py-16">
<div class="mx-auto max-w-7xl">
<div class="flex w-full flex-wrap justify-evenly gap-2">
{#each planNames as planName}
{@const plan = PLANS[planName]}
{@const isPopular = planName === 'EARLY_ADOPTER'}
<PricingCard
{plan}
{planName}
{isPopular}
{isYearlyPlan}
className="mx-auto lg:mx-0 w-full max-w-xs! lg:max-w-sm!"
ctaLabel={plan.CTA.LABEL}
isDisabled={false}
perOrgLabel={isYearlyPlan ? 'per year' : 'per month'}
handleClick={() => {
window.open(plan.CTA.LINK, '_blank');
}}
/>
{/each}
</div>
</div>
<p class="mt-6 text-center text-sm text-slate-500">
Need more AI credits? Purchase additional token packs at $5 per 2M tokens from your dashboard.
</p>
</div>
</section>
<PageSignupCTA
header="Start building your academy."
subText="Sign up free on Basic. Upgrade for more students, higher AI credits, or a custom domain."
btnLabel="Sign up for free"
link="/signup"
demo={false}
/>