Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

updates for pricing and pricing modals

Iuliia Shnai35c5b81028a9
diff --git a/components/billing/upgrade-plan-modal.tsx b/components/billing/upgrade-plan-modal.tsx
index e6c01d32..2a8aa2e2 100644
--- a/components/billing/upgrade-plan-modal.tsx
+++ b/components/billing/upgrade-plan-modal.tsx
@@ -50,45 +50,56 @@ export function UpgradePlanModal({
const planFeatures = useMemo(
() => ({
- Pro: [
- "2 users included",
- "Custom branding",
- "Folder organization",
- "Unlimited links",
- "Unlimited documents",
- "Require email verification",
- "More file types: pppt, docx, excel",
- "Papermark branding removed",
- "1-year analytics retention",
- ],
- Business: [
- "3 users included",
- "1 dataroom",
- "Multi-file sharing",
-
- "Allow/Block list",
- <span key="custom-dataroom">
- Custom domain <b>for documents</b>
- </span>,
- "Custom social media cards",
- "Unlimited folder and subfolder levels",
- "Large file uploads",
- "More file types: .dmg for AutoCad",
- "2-year analytics retention",
- ],
- "Data Rooms": [
- "3 users included",
- "Unlimited data rooms",
- <span key="custom-dataroom">
- Custom domain <b>for data rooms</b>
- </span>,
- "NDA agreements",
- "Dynamic Watermarking",
- "Granular user/group permisssions",
- "Access Screen Customizatiion",
- "Advanced Data Rooms analytics",
- "24h priority support",
- ],
+ Pro: {
+ featureIntro: "Everything in Free, plus:",
+ features: [
+ "2 users included",
+ "100 documents",
+ "Unlimited links",
+ "Custom branding",
+ "Folder organization",
+ "Require email verification",
+ "More file types: pppt, docx, excel",
+ "Papermark branding removed",
+ "1-year analytics retention",
+ ],
+ },
+ Business: {
+ featureIntro: "Everything in Pro, plus:",
+ features: [
+ "3 users included",
+ "1 dataroom",
+ <span key="custom-dataroom">
+ Custom domain <b>for documents</b>
+ </span>,
+ "Unlimited folder levels",
+ "Unlimited documents",
+ "Large file uploads",
+ "Multi-file sharing",
+ "Allow/Block list",
+ "Dataroom branding",
+ "More file types: dmg (cad)",
+ "2-year analytics retention",
+ ],
+ },
+ "Data Rooms": {
+ featureIntro: "Everything in Business, plus:",
+ features: [
+ "3 users included",
+ "Unlimited data rooms",
+ <span key="custom-dataroom">
+ Custom domain <b>for data rooms</b>
+ </span>,
+ "Advanced data rooms analytics",
+ "NDA agreements",
+ "Dynamic Watermark",
+ "Granular user/group permisssions",
+ "Invite users directly from Papermark",
+ "Audit log",
+ "24h priority support",
+ "Custom onboarding ",
+ ],
+ },
}),
[],
);
@@ -106,6 +117,12 @@ export function UpgradePlanModal({
}
}, [clickedPlan]);
+ // Add this new constant to determine if only Data Rooms plan is shown
+ const isOnlyDataRooms = useMemo(
+ () => plansToShow.length === 1 && plansToShow[0] === "Data Rooms",
+ [plansToShow],
+ );
+
// Track analytics event when modal is opened
useEffect(() => {
if (open) {
@@ -136,7 +153,10 @@ export function UpgradePlanModal({
<DialogTrigger asChild>{buttonChild}</DialogTrigger>
<DialogContent
className="max-h-[90vh] overflow-y-auto bg-gray-50 text-foreground"
- style={{ width: "90vw", maxWidth: "900px" }} // Adjusted maxWidth
+ style={{
+ width: isOnlyDataRooms ? "550px" : "90vw", // Adjust width based on plans shown
+ maxWidth: isOnlyDataRooms ? "550px" : "900px", // Adjust maxWidth based on plans shown
+ }}
>
<div className="flex items-center justify-center">
<span className="mr-2 text-sm">Monthly</span>
@@ -147,7 +167,7 @@ export function UpgradePlanModal({
}
/>
<span className="ml-2 text-sm">
- Annually <span className="text-orange-500">(Save up to 25%)</span>
+ Annually <span className="text-[#fb7a00]">(Save up to 25%)</span>
</span>
</div>
@@ -157,43 +177,62 @@ export function UpgradePlanModal({
key={planOption}
className={`relative flex flex-col rounded-lg border ${
planOption === "Business"
- ? "border-orange-500"
+ ? "border-[#fb7a00]"
: "border-gray-200"
- } bg-white p-6 shadow-sm`}
+ } bg-white p-6 shadow-sm ${
+ isOnlyDataRooms
+ ? "mx-auto w-[450px] max-w-full md:col-span-2"
+ : ""
+ }`}
>
<div className="mb-4 border-b border-gray-200 pb-2">
<h3 className="text-balance text-xl font-medium text-foreground text-gray-900">
Papermark {planOption}
</h3>
{planOption === "Business" && (
- <span className="absolute right-2 top-2 rounded bg-orange-500 px-2 py-1 text-xs text-white">
+ <span className="absolute right-2 top-2 rounded bg-[#fb7a00] px-2 py-1 text-xs text-white">
Most popular
</span>
)}
</div>
- <div className="mb-6 text-balance text-4xl font-medium text-foreground">
- €
- {PLANS.find((p) => p.name === planOption)!.price[period].amount}
- <span className="text-base font-normal">/month</span>
+ {/* Add pricing information here */}
+ <div className="mb-2">
+ <span className="text-balance text-4xl font-medium text-gray-900">
+ $
+ {
+ PLANS.find((p) => p.name === planOption)?.price[period]
+ .amount
+ }
+ </span>
+ <span className="text-gray-500">/month</span>
</div>
- <ul className="mb-8 mt-4 space-y-3 text-sm leading-6 text-gray-600 dark:text-muted-foreground">
- {planFeatures[planOption as keyof typeof planFeatures].map(
- (feature, i) => (
- <li key={i} className="flex items-center text-sm">
- <CheckIcon className="mr-3 h-5 w-5 flex-shrink-0 text-orange-500" />
- <span>{feature}</span>
- </li>
- ),
- )}
+
+ <p className="mt-4 text-sm text-gray-600">
+ {
+ planFeatures[planOption as keyof typeof planFeatures]
+ .featureIntro
+ }
+ </p>
+
+ <ul className="mb-6 mt-2 space-y-2 text-sm leading-6 text-gray-600 dark:text-muted-foreground">
+ {planFeatures[
+ planOption as keyof typeof planFeatures
+ ].features.map((feature, i) => (
+ <li key={i} className="flex items-center text-sm">
+ <CheckIcon className="mr-3 h-5 w-5 flex-shrink-0 text-[#fb7a00]" />
+ <span>{feature}</span>
+ </li>
+ ))}
</ul>
+
<div className="mt-auto">
<Button
variant={planOption === "Business" ? "default" : "outline"}
className={`w-full py-2 text-sm ${
planOption === "Business"
- ? "bg-orange-500 hover:bg-orange-600"
- : "bg-gray-800 text-white hover:bg-gray-900"
+ ? "bg-[#fb7a00] hover:bg-[#fb7a00]"
+ : "bg-gray-800 text-white hover:bg-gray-900 hover:text-white"
}`}
onClick={() => {
setClicked(true);
diff --git a/lib/stripe/utils.ts b/lib/stripe/utils.ts
index df3afa6d..7d75878d 100644
--- a/lib/stripe/utils.ts
+++ b/lib/stripe/utils.ts
@@ -53,38 +53,38 @@ export const PLANS = [
monthly: {
amount: 39,
priceIds: {
- test: "price_1P3JdWFJyGSZ96lhLqX6drHK",
+ test: "price_1Q3bcHFJyGSZ96lhElXBA5C1",
production: "price_1P3FK4FJyGSZ96lhD67yF3lj",
},
},
yearly: {
amount: 29,
priceIds: {
- test: "price_1P3JlWFJyGSZ96lhddEsPKGg",
- production: "price_1P6VTgFJyGSZ96lhshdgZ1it",
- },
- },
- },
- },
- {
- name: "Pro with Custom Domain",
- price: {
- monthly: {
- amount: 59,
- priceIds: {
- test: "price_1Q05u4FJyGSZ96lhDFRzhFgj",
- production: "price_prod_id_pro_custom_domain_monthly",
- },
- },
- yearly: {
- amount: 49,
- priceIds: {
- test: "price_1Q16E9FJyGSZ96lhhepSttFn",
- production: "price_prod_id_pro_custom_domain_yearly",
+ test: "price_1Q3bV9FJyGSZ96lhCYWIcmg5",
+ production: "price_1Q3gfNFJyGSZ96lh2jGhEadm",
},
},
},
},
+ // {
+ // name: "Pro with Custom Domain",
+ // price: {
+ // monthly: {
+ // amount: 59,
+ // priceIds: {
+ // test: "price_1Q05u4FJyGSZ96lhDFRzhFgj",
+ // production: "price_prod_id_pro_custom_domain_monthly",
+ // },
+ // },
+ // yearly: {
+ // amount: 49,
+ // priceIds: {
+ // test: "price_1Q16E9FJyGSZ96lhhepSttFn",
+ // production: "price_prod_id_pro_custom_domain_yearly",
+ // },
+ // },
+ // },
+ // },
{
name: "Business",
slug: "business",
@@ -92,38 +92,38 @@ export const PLANS = [
monthly: {
amount: 79,
priceIds: {
- test: "price_1Q16AsFJyGSZ96lhkjNBhOJd",
- production: "price_1OuYeIFJyGSZ96lhwH58Y1kU",
+ test: "price_1Q3bPhFJyGSZ96lhnxpiJMwz",
+ production: "price_1Q3gbVFJyGSZ96lhf7hsZciQ",
},
},
yearly: {
amount: 59,
priceIds: {
- test: "price_1PTn5iFJyGSZ96lhMbSVkntM",
- production: "price_1PThmeFJyGSZ96lh1cY3Klrq",
- },
- },
- },
- },
- {
- name: "Business with Custom Domain",
- price: {
- monthly: {
- amount: 109,
- priceIds: {
- test: "price_1Q16CLFJyGSZ96lhYxMLSJm0",
- production: "price_prod_id_pro_custom_domain_monthly",
- },
- },
- yearly: {
- amount: 79,
- priceIds: {
- test: "price_1Q16DHFJyGSZ96lhDxFnXdNh",
- production: "price_prod_id_pro_custom_domain_yearly",
+ test: "price_1Q3bQ5FJyGSZ96lhoS8QbYXr",
+ production: "price_1Q3gbVFJyGSZ96lhqqLhBNDv",
},
},
},
},
+ // {
+ // name: "Business with Custom Domain",
+ // price: {
+ // monthly: {
+ // amount: 109,
+ // priceIds: {
+ // test: "price_1Q16CLFJyGSZ96lhYxMLSJm0",
+ // production: "price_prod_id_pro_custom_domain_monthly",
+ // },
+ // },
+ // yearly: {
+ // amount: 79,
+ // priceIds: {
+ // test: "price_1Q16DHFJyGSZ96lhDxFnXdNh",
+ // production: "price_prod_id_pro_custom_domain_yearly",
+ // },
+ // },
+ // },
+ // },
{
name: "Data Rooms",
slug: "datarooms",
@@ -131,15 +131,15 @@ export const PLANS = [
monthly: {
amount: 149,
priceIds: {
- test: "price_1PAtTfFJyGSZ96lhbi4XZU2d",
- production: "price_1PAtQOFJyGSZ96lhJNZO2LHx",
+ test: "price_1Q3bHPFJyGSZ96lhpQD0lMdU",
+ production: "price_1Q3gbbFJyGSZ96lhvmEwjZtm",
},
},
yearly: {
amount: 99,
priceIds: {
- test: "price_1PTn5SFJyGSZ96lhCnBMuUVX",
- production: "price_1PThnKFJyGSZ96lhZqFuHiBO",
+ test: "price_1Q3bJUFJyGSZ96lhLiEJlXlt",
+ production: "price_1Q3gbbFJyGSZ96lhnk1CtnIZ",
},
},
},
diff --git a/pages/settings/billing.tsx b/pages/settings/billing.tsx
index 8fac056d..56f871f5 100644
--- a/pages/settings/billing.tsx
+++ b/pages/settings/billing.tsx
@@ -106,10 +106,12 @@ export default function Billing() {
featureIntro: "What's included:",
features: [
"1 user",
- "Unlimited links",
+ "10 links",
+ "10 documents",
"Unlimited visitors",
"Page-by-page analytics",
"Document sharing controls",
+ "Password protection",
"30-day analytics retention",
],
@@ -129,9 +131,12 @@ export default function Billing() {
featureIntro: "Everything in Free, plus:",
features: [
"2 users included",
+ "Unlimited links",
+ "100 documents",
"Custom branding",
"Folder organization",
"Require email verification",
+ "More file types: pppt, docx, excel",
"Papermark branding removed",
"1-year analytics retention",
],
@@ -153,13 +158,16 @@ export default function Billing() {
features: [
"3 users included",
"1 dataroom",
- "Multi-file sharing",
- "Advanced link controls",
- "Allow/Block list",
- "Custom domain for documents",
"Unlimited documents",
+ "Custom domain for documents",
"Unlimited folder and subfolder levels",
"Large file uploads",
+ "Multi-file sharing",
+ "Allow/Block list",
+ "Dataroom branding",
+
+ "More file types: dmg (cad)",
+ "2-year analytics retention",
],
bgColor: "#bg-gray-500",
borderColor: "#fb7a00",
@@ -181,12 +189,14 @@ export default function Billing() {
"3 users included",
"Unlimited data rooms",
"Custom domain for data rooms",
+ "Advanced data rooms analytics",
"NDA agreements",
"Dynamic Watermark",
"Granular user/group permisssions",
- "Advanced Data rooms analytics",
+ "Invite users directly from Papermark",
+ "Audit log",
"24h priority support",
- "Custom onboarding",
+ "Custom onboarding ",
],
bgColor: "#fb7a00",
borderColor: "#fb7a00",
@@ -219,9 +229,17 @@ export default function Billing() {
<h3 className="text-2xl font-semibold tracking-tight text-foreground">
Billing
</h3>
- <p className="text-sm text-muted-foreground">
- Manage your subscription and billing information.
- </p>
+ <div className="flex items-center space-x-2">
+ <p className="text-sm text-muted-foreground">
+ Manage your subscription and billing information.
+ </p>
+ <Link
+ href="/settings/upgrade"
+ className="text-sm text-gray-700 underline-offset-4 hover:text-foreground hover:underline"
+ >
+ See all plans
+ </Link>
+ </div>
</div>
</div>
@@ -246,159 +264,7 @@ export default function Billing() {
</h3>
</div>
<div className="p-6">
- <div className="mt-2 min-h-20">
- {tier.id === "tier-free" ? (
- <div className="min-h-12">
- <div className="flex flex-col text-sm">
- <div className="h-6"></div>
- <h4>No credit card required</h4>
- </div>
- </div>
- ) : null}
- {tier.id === "tier-pro" ? (
- <div className="min-h-12">
- <Switch
- className="h-5 w-10 *:size-4"
- checked={toggleProYear}
- onCheckedChange={() =>
- setToggleProYear(!toggleProYear)
- }
- />
- <div className="mb-1 flex items-center gap-x-1 text-sm">
- <span
- className={cn(
- toggleProYear
- ? "text-gray-400"
- : "text-foreground",
- )}
- >
- Monthly
- </span>
- <span>|</span>
- <span
- className={cn(
- toggleProYear
- ? "text-foreground"
- : "text-gray-400",
- )}
- >
- Annually
- </span>
- </div>
- <div
- className={cn(
- "relative w-fit rounded-3xl border border-[#fb7a00] px-1.5 py-0.5 text-xs uppercase text-[#fb7a00]",
- !toggleProYear &&
- "border-gray-400 text-gray-400 opacity-40",
- )}
- >
- <span
- className={cn(
- !toggleProYear
- ? "absolute top-1/2 h-px w-[90%] bg-gray-400"
- : "hidden",
- )}
- />
- 35% Saving
- </div>
- </div>
- ) : null}
- {tier.id === "tier-business" ? (
- <div className="min-h-12">
- <Switch
- className="h-5 w-10 *:size-4"
- checked={toggleBusinessYear}
- onCheckedChange={() =>
- setToggleBusinessYear(!toggleBusinessYear)
- }
- />
- <div className="mb-1 flex items-center gap-x-1 text-sm">
- <span
- className={cn(
- toggleBusinessYear
- ? "text-gray-400"
- : "text-foreground",
- )}
- >
- Monthly
- </span>
- <span>|</span>
- <span
- className={cn(
- toggleBusinessYear
- ? "text-foreground"
- : "text-gray-400",
- )}
- >
- Annually
- </span>
- </div>
- <div
- className={cn(
- "relative w-fit rounded-3xl border border-[#fb7a00] px-1.5 py-0.5 text-xs uppercase text-[#fb7a00]",
- !toggleBusinessYear &&
- "border-gray-400 text-gray-400 opacity-40",
- )}
- >
- <span
- className={cn(
- !toggleBusinessYear
- ? "absolute top-1/2 h-px w-[90%] bg-gray-400"
- : "hidden",
- )}
- />
- 43% Saving
- </div>
- </div>
- ) : null}
- {tier.id === "tier-datarooms" ? (
- <div className="min-h-12">
- <Switch
- className="h-5 w-10 *:size-4"
- checked={toggleDataroomsYear}
- onCheckedChange={() =>
- setToggleDataroomsYear(!toggleDataroomsYear)
- }
- />
- <div className="mb-1 flex items-center gap-x-1 text-sm">
- <span
- className={cn(
- toggleDataroomsYear
- ? "text-gray-400"
- : "text-foreground",
- )}
- >
- Monthly
- </span>
- <span>|</span>
- <span
- className={cn(
- toggleDataroomsYear
- ? "text-foreground"
- : "text-gray-400",
- )}
- >
- Annually
- </span>
- </div>
- <div
- className={cn(
- "relative w-fit rounded-3xl border border-[#fb7a00] px-1.5 py-0.5 text-xs uppercase text-[#fb7a00]",
- !toggleDataroomsYear &&
- "border-gray-400 text-gray-400 opacity-40",
- )}
- >
- <span
- className={cn(
- !toggleDataroomsYear
- ? "absolute top-1/2 h-px w-[90%] bg-gray-400"
- : "hidden",
- )}
- />
- 50% Saving
- </div>
- </div>
- ) : null}
+ <div className="mt-2">
{tier.id === "tier-enterprise" ? (
<div className="min-h-12">
<div className="flex flex-col text-sm">
@@ -408,35 +274,10 @@ export default function Billing() {
</div>
) : null}
</div>
- <p className="mt-6 flex items-baseline gap-x-1">
- <span
- className="text-balance text-4xl font-medium text-foreground"
- style={{ fontVariantNumeric: "tabular-nums" }}
- >
- {tier.id === "tier-pro"
- ? tier.price[frequencyPro.value]
- : tier.id === "tier-business"
- ? tier.price[frequencyBusiness.value]
- : tier.id === "tier-datarooms"
- ? tier.price[frequencyDatarooms.value]
- : tier.price[frequency.value]}
- </span>
- {/* <span
- className={cn(
- "text-sm font-semibold leading-6 text-gray-600",
- tier.id === "tier-enterprise" ? "hidden" : "",
- )}
- >
- {tier.id === "tier-pro"
- ? frequencyPro.priceSuffix
- : tier.id === "tier-business"
- ? frequencyBusiness.priceSuffix
- : frequency.priceSuffix}
- </span> */}
- </p>
- <p className="mt-4 text-balance text-sm leading-6 text-gray-600 dark:text-muted-foreground">
+
+ {/* <p className="mt-4 text-balance text-sm leading-6 text-gray-600 dark:text-muted-foreground">
{tier.description}
- </p>
+ </p> */}
<ul
role="list"
className="mt-8 space-y-3 text-sm leading-6 text-gray-600 dark:text-muted-foreground"
diff --git a/pages/settings/upgrade.tsx b/pages/settings/upgrade.tsx
index 691a26b3..25d53131 100644
--- a/pages/settings/upgrade.tsx
+++ b/pages/settings/upgrade.tsx
@@ -25,49 +25,59 @@ export default function UpgradePage() {
const planFeatures = useMemo(
() => ({
- Pro: [
- "2 users included",
- "Custom branding",
- "Folder organization",
- "Unlimited links",
- "Unlimited documents",
- "Require email verification",
- "More file types: pppt, docx, excel",
- "Papermark branding removed",
- "1-year analytics retention",
- ],
- Business: [
- "3 users included",
- "1 dataroom",
- "Multi-file sharing",
-
- "Allow/Block list",
- <span key="custom-dataroom">
- Custom domain <b>for documents</b>
- </span>,
- "Custom social media cards",
- "Unlimited folder and subfolder levels",
- "Large file uploads",
- "More file types: .dmg for AutoCad",
- "2-year analytics retention",
- ],
- "Data Rooms": [
- "3 users included",
- "Unlimited data rooms",
- <span key="custom-dataroom">
- Custom domain <b>for data rooms</b>
- </span>,
- "NDA agreements",
- "Dynamic Watermarking",
- "Granular user/group permisssions",
- "Access Screen Customizatiion",
- "Advanced Data Rooms analytics",
- "24h priority support",
- ],
+ Pro: {
+ featureIntro: "Everything in Free, plus:",
+ features: [
+ "2 users included",
+ "100 documents",
+ "Unlimited links",
+ "Custom branding",
+ "Folder organization",
+ "Require email verification",
+ "More file types: pppt, docx, excel",
+ "Papermark branding removed",
+ "1-year analytics retention",
+ ],
+ },
+ Business: {
+ featureIntro: "Everything in Pro, plus:",
+ features: [
+ "3 users included",
+ "1 dataroom",
+ <span key="custom-dataroom">
+ Custom domain <b>for documents</b>
+ </span>,
+ "Unlimited folder levels",
+ "Unlimited documents",
+ "Large file uploads",
+ "Multi-file sharing",
+ "Allow/Block list",
+ "Dataroom branding",
+ "More file types: dmg (cad)",
+ "2-year analytics retention",
+ ],
+ },
+ "Data Rooms": {
+ featureIntro: "Everything in Business, plus:",
+ features: [
+ "3 users included",
+ "Unlimited data rooms",
+ <span key="custom-dataroom">
+ Custom domain <b>for data rooms</b>
+ </span>,
+ "Advanced data rooms analytics",
+ "NDA agreements",
+ "Dynamic Watermark",
+ "Granular user/group permisssions",
+ "Invite users directly from Papermark",
+ "Audit log",
+ "24h priority support",
+ "Custom onboarding ",
+ ],
+ },
}),
[],
);
-
const plansToShow = ["Pro", "Business", "Data Rooms"];
// Remove the useEffect hook that was causing the error
@@ -87,7 +97,7 @@ export default function UpgradePage() {
}
/>
<span className="ml-2 text-sm">
- Annually <span className="text-orange-500">(Save up to 25%)</span>
+ Annually <span className="text-[#fb7a00]">(Save up to 25%)</span>
</span>
</div>
@@ -96,9 +106,7 @@ export default function UpgradePage() {
<div
key={planOption}
className={`relative flex flex-col rounded-lg border ${
- planOption === "Business"
- ? "border-orange-500"
- : "border-gray-200"
+ planOption === "Business" ? "border-[#fb7a00]" : "border-gray-200"
} bg-white p-6 shadow-sm`}
>
<div className="mb-4 border-b border-gray-200 pb-2">
@@ -106,32 +114,39 @@ export default function UpgradePage() {
Papermark {planOption}
</h3>
{planOption === "Business" && (
- <span className="absolute right-2 top-2 rounded bg-orange-500 px-2 py-1 text-xs text-white">
+ <span className="absolute right-2 top-2 rounded bg-[#fb7a00] px-2 py-1 text-xs text-white">
Most popular
</span>
)}
</div>
- <div className="mb-6 text-balance text-4xl font-medium text-foreground">
+ <div className="mb-2 text-balance text-4xl font-medium text-foreground">
€{PLANS.find((p) => p.name === planOption)!.price[period].amount}
<span className="text-base font-normal">/month</span>
</div>
- <ul className="mb-8 mt-4 space-y-3 text-sm leading-6 text-gray-600 dark:text-muted-foreground">
- {planFeatures[planOption as keyof typeof planFeatures].map(
- (feature, i) => (
- <li key={i} className="flex items-center text-sm">
- <CheckIcon className="mr-3 h-5 w-5 flex-shrink-0 text-orange-500" />
- <span>{feature}</span>
- </li>
- ),
- )}
+ <p className="mt-4 text-sm text-gray-600">
+ {
+ planFeatures[planOption as keyof typeof planFeatures]
+ .featureIntro
+ }
+ </p>
+
+ <ul className="mb-4 mt-4 space-y-3 text-sm leading-6 text-gray-600 dark:text-muted-foreground">
+ {planFeatures[
+ planOption as keyof typeof planFeatures
+ ].features.map((feature, i) => (
+ <li key={i} className="flex items-center text-sm">
+ <CheckIcon className="mr-3 h-5 w-5 flex-shrink-0 text-[#fb7a00]" />
+ <span>{feature}</span>
+ </li>
+ ))}
</ul>
<div className="mt-auto">
<Button
variant={planOption === "Business" ? "default" : "outline"}
className={`w-full py-2 text-sm ${
planOption === "Business"
- ? "bg-orange-500 hover:bg-orange-600"
+ ? "bg-[#fb7a00] hover:bg-[#fb7a00]"
: "bg-gray-800 text-white hover:bg-gray-900"
}`}
onClick={() => {