Skip to content

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

fix: trial banner

Marc Seitz82277a13d1a6
diff --git a/components/billing/pro-banner.tsx b/components/billing/pro-banner.tsx
index faf9578c..68728e2b 100644
--- a/components/billing/pro-banner.tsx
+++ b/components/billing/pro-banner.tsx
@@ -38,7 +38,7 @@ export default function ProBanner({
<span className="text-sm font-bold">✨ Papermark Business ✨</span>
</div>
<p className="my-4 text-sm">
- Join to unlock custom branding, domains, team members, and data rooms.
+ Upgrade to unlock custom branding, team members, domains and data rooms.
</p>
<div className="flex">
<UpgradePlanModal
diff --git a/components/layouts/trial-banner.tsx b/components/layouts/trial-banner.tsx
index fe6a50c8..594dcefe 100644
--- a/components/layouts/trial-banner.tsx
+++ b/components/layouts/trial-banner.tsx
@@ -72,13 +72,14 @@ function TrialBannerComponent({
new Date(),
),
7,
- )}
+ )}{" "}
days left
</div>
<div className="text-sm">
- You are on a data room trial, you have access to advanced link
- permissions and data room.{" "}
+ You are on the <span className="font-bold">Data Rooms</span> plan
+ trial, you have access to advanced access controls, group
+ permissions, and data room.{" "}
<UpgradePlanModal
clickedPlan={PlanEnum.DataRooms}
trigger={"trial_navbar"}
@@ -90,7 +91,7 @@ function TrialBannerComponent({
Upgrade to keep access
</span>
</UpgradePlanModal>
- , get more data rooms and custom domains ✨
+ , unlock unlimited data rooms and custom domains ✨
</div>
</div>
</nav>
diff --git a/ee/stripe/constants.ts b/ee/stripe/constants.ts
index 7c42ce81..493c7fed 100644
--- a/ee/stripe/constants.ts
+++ b/ee/stripe/constants.ts
@@ -83,7 +83,8 @@ export const BASE_FEATURES: Record<PlanEnum, PlanFeatures> = {
isUsers: true,
usersIncluded: 3,
},
- { id: "datarooms", text: "Unlimited data rooms" },
+ { id: "datarooms", text: "Unlimited light data rooms" },
+ { id: "documents", text: "1000 documents per data room" },
{
id: "custom-domain",
text: "Custom domain for documents",
@@ -144,6 +145,7 @@ export const BASE_FEATURES: Record<PlanEnum, PlanFeatures> = {
highlight: true,
},
{ id: "qa", text: "Q&A module with custom permissions" },
+ { id: "requests", text: "File requests with permissions" },
{ id: "indexing", text: "Automatic file indexing" },
{ id: "assign", text: "Assign users to particular data room" },
{ id: "invite", text: "Email invite viewers directly from Papermark" },