Production-ready animations, transitions, backgrounds, and scenes for Remotion
TypeScript ai-agentsclaude-codedemo-videomcpmcp-servermodel-context-protocolmotion-designproduct-demoreactremotionshadcnvideo
feat: one-time sponsor tier, pay what you want
kapishdima9db6741ddbae
diff --git a/app/(home)/sponsors/components/tiers.tsx b/app/(home)/sponsors/components/tiers.tsxindex 71490f25..88b88629 100644--- a/app/(home)/sponsors/components/tiers.tsx+++ b/app/(home)/sponsors/components/tiers.tsx@@ -1,4 +1,5 @@-import { tiers } from "@/config/sponsors";+import { oneTimeTier, tiers } from "@/config/sponsors";+import { OneTimeCard } from "./tiers/one-time-card";import { TierCard } from "./tiers/tier-card";export function TiersSection() {@@ -9,13 +10,14 @@ export function TiersSection() {className="landing-container flex scroll-mt-24 flex-col gap-5 py-[72px] xl:gap-6 xl:pt-6 xl:pb-[120px]"><h2 className="text-caption text-muted-foreground">- Three monthly tiers, billed through Creem+ Three monthly tiers or a one-time payment, billed through Creem</h2><div className="grid gap-4 lg:grid-cols-3">{tiers.map((tier) => (<TierCard key={tier.id} tier={tier} />))}</div>+ <OneTimeCard tier={oneTimeTier} /></section>);}diff --git a/app/(home)/sponsors/components/tiers/one-time-card.tsx b/app/(home)/sponsors/components/tiers/one-time-card.tsxnew file mode 100644index 00000000..d9027e6e--- /dev/null+++ b/app/(home)/sponsors/components/tiers/one-time-card.tsx@@ -0,0 +1,48 @@+import type { OneTimeTier } from "@/config/sponsors";+import { LandingButton } from "../../../components/landing/ui/landing-button";++/** Full-width row under the monthly tiers: a single payment of any amount. */+export function OneTimeCard({ tier }: { tier: OneTimeTier }) {+ return (+ <article className="flex min-w-0 flex-col gap-6 rounded-panel bg-card p-6 ring-1 ring-hairline lg:flex-row lg:items-center lg:gap-10 xl:p-8">+ <div className="flex flex-col gap-1 lg:w-[220px] lg:shrink-0">+ <h3 className="text-[20px] leading-[26px] font-medium tracking-title text-foreground">+ {tier.name}+ </h3>+ <p className="text-small text-muted-foreground">{tier.tagline}</p>+ </div>++ <p className="text-[32px] leading-[36px] tracking-heading text-foreground lg:shrink-0">+ Any amount+ </p>++ <ul className="flex grow flex-col gap-3">+ {tier.perks.map((perk) => (+ <li key={perk} className="flex items-start gap-3">+ <span+ aria-hidden="true"+ className="w-3.5 shrink-0 text-[14px] leading-[22px] text-foreground xl:leading-5"+ >+ ✓+ </span>+ <span className="text-[16px] leading-[22px] text-body xl:text-[15px] xl:leading-5">+ {perk}+ </span>+ </li>+ ))}+ </ul>++ <LandingButton+ href={tier.checkoutUrl}+ target="_blank"+ rel="noreferrer"+ variant="secondary"+ size="md"+ arrow={<span className="text-muted-foreground">→</span>}+ className="w-full lg:w-auto"+ >+ Sponsor once+ </LandingButton>+ </article>+ );+}diff --git a/config/sponsors.ts b/config/sponsors.tsindex 9a191b1a..fcc9e561 100644--- a/config/sponsors.ts+++ b/config/sponsors.ts@@ -344,3 +344,21 @@ export const tiers: Tier[] = [monthlyUrl: "https://www.creem.io/payment/prod_1PtwNGZVHfXZgChBSCwmJA",},];++export type OneTimeTier = {+ name: string;+ tagline: string;+ perks: string[];+ /** Creem checkout where the sponsor picks the amount. */+ checkoutUrl: string;+};++export const oneTimeTier: OneTimeTier = {+ name: "One-time",+ tagline: "Pay what you want, once",+ perks: [+ "Everything in Builder",+ "Larger amounts can earn more, we'll reach out",+ ],+ checkoutUrl: "https://www.creem.io/payment/prod_6Cji8mKQrBguhRnNV3HXgm",+};