Skip to content

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

updates

Iuliia Shnaib9ba1525b7d3
diff --git a/components/billing/upgrade-plan-modal.tsx b/components/billing/upgrade-plan-modal.tsx
index 26a83430..699e7b2f 100644
--- a/components/billing/upgrade-plan-modal.tsx
+++ b/components/billing/upgrade-plan-modal.tsx
@@ -20,13 +20,15 @@ export function UpgradePlanModal({
setOpen,
children,
}: {
- clickedPlan: "Business" | "Pro";
+ clickedPlan: "Data Rooms" | "Business" | "Pro";
trigger?: string;
open?: boolean;
setOpen?: React.Dispatch<React.SetStateAction<boolean>>;
children?: React.ReactNode;
}) {
- const [plan, setPlan] = useState<"Pro" | "Business">(clickedPlan);
+ const [plan, setPlan] = useState<"Pro" | "Business" | "Data Rooms">(
+ clickedPlan,
+ );
const [period, setPeriod] = useState<"monthly" | "yearly">("monthly");
const [clicked, setClicked] = useState<boolean>(false);
const teamInfo = useTeam();
@@ -56,6 +58,19 @@ export function UpgradePlanModal({
"48h Priority Support",
];
}
+ if (plan === "Data Rooms") {
+ return [
+ "5 users included",
+ "Unlimited data rooms",
+ "Custom domain for data rooms",
+ "Unlimited documents",
+ "Unlimited folders and subfolders",
+ "User groups permissions",
+ "Advanced data rooms analytics",
+ "24h Priority Support",
+ "Custom Onboarding",
+ ];
+ }
return [
"2 users",
@@ -136,6 +151,12 @@ export function UpgradePlanModal({
<TabsTrigger value="Business" onClick={() => setPlan("Business")}>
Business
</TabsTrigger>
+ <TabsTrigger
+ value="Data Rooms"
+ onClick={() => setPlan("Data Rooms")}
+ >
+ Data Rooms
+ </TabsTrigger>
</TabsList>
</Tabs>
<motion.div
diff --git a/components/web/pricing-component.tsx b/components/web/pricing-component.tsx
index 41507f1a..3df666d3 100644
--- a/components/web/pricing-component.tsx
+++ b/components/web/pricing-component.tsx
@@ -163,6 +163,16 @@ const featureGroups: {
enterprise: true,
},
},
+ {
+ name: "Screenshot protection",
+ id: "feature-user",
+ tiers: {
+ free: false,
+ pro: false,
+ business: true,
+ enterprise: true,
+ },
+ },
],
},
@@ -199,60 +209,8 @@ const featureGroups: {
enterprise: true,
},
},
-
- // {
- // name: "Unlimited users",
- // id: "feature-user",
- // tiers: {
- // free: "1 user",
- // pro: "2 users",
- // business: "3 users",
- // enterprise: true,
- // },
- // },
- // {
- // name: "Viewer groups",
- // id: "feature-user",
- // tiers: {
- // free: false,
- // pro: false,
- // business: false,
- // enterprise: true,
- // },
- // },
-
- // {
- // name: "File size",
- // id: "feature-user",
- // tiers: {
- // free: true,
- // pro: true,
- // business: true,
- // enterprise: true,
- // },
- // },
- // {
- // name: "Custom branding",
- // id: "feature-user",
- // tiers: {
- // free: false,
- // pro: true,
- // business: true,
- // enterprise: true,
- // },
- // },
- // {
- // name: "Full whitelabelling",
- // id: "feature-user",
- // tiers: {
- // free: false,
- // pro: false,
- // business: false,
- // enterprise: true,
- // },
- // },
{
- name: "Self-hosted",
+ name: "Custom domain for Data Rooms",
id: "feature-user",
tiers: {
free: false,
@@ -271,9 +229,8 @@ const featureGroups: {
enterprise: true,
},
},
-
{
- name: "Custom dataroom settings",
+ name: "User groups permissions",
id: "feature-user",
tiers: {
free: false,
@@ -282,6 +239,27 @@ const featureGroups: {
enterprise: true,
},
},
+ {
+ name: "Unlimited users",
+ id: "feature-user",
+ tiers: {
+ free: "1 user",
+ pro: "2 users",
+ business: "3 users",
+ enterprise: "Enterprise",
+ },
+ },
+
+ {
+ name: "Self-hosted",
+ id: "feature-user",
+ tiers: {
+ free: false,
+ pro: false,
+ business: false,
+ enterprise: "Enterprise",
+ },
+ },
],
},
{
@@ -328,7 +306,7 @@ const featureGroups: {
},
},
{
- name: "Custom domain",
+ name: "Custom domain for documents",
id: "feature-user",
tiers: {
free: false,
@@ -370,7 +348,7 @@ const featureGroups: {
},
},
{
- name: "Full white-label",
+ name: "Custom domain for data rooms",
id: "feature-user",
tiers: {
free: false,
@@ -379,6 +357,16 @@ const featureGroups: {
enterprise: true,
},
},
+ {
+ name: "Full white-label",
+ id: "feature-user",
+ tiers: {
+ free: false,
+ pro: false,
+ business: false,
+ enterprise: "Enterprise",
+ },
+ },
{
name: "SSO",
id: "feature-user",
@@ -386,7 +374,7 @@ const featureGroups: {
free: false,
pro: false,
business: false,
- enterprise: true,
+ enterprise: "Enterprise",
},
},
],
@@ -491,6 +479,16 @@ const featureGroups: {
enterprise: true,
},
},
+ {
+ name: "24h support",
+ id: "feature-user",
+ tiers: {
+ free: false,
+ pro: false,
+ business: false,
+ enterprise: true,
+ },
+ },
{
name: "Support with self-hosting",
@@ -499,7 +497,7 @@ const featureGroups: {
free: false,
pro: false,
business: false,
- enterprise: true,
+ enterprise: "Enterprise",
},
},
{
@@ -509,7 +507,7 @@ const featureGroups: {
free: false,
pro: false,
business: false,
- enterprise: true,
+ enterprise: "Enterprise",
},
},
],
@@ -561,7 +559,7 @@ export function PricingComparison() {
Business
</li>
<li className="col-span-3 p-6 text-xl leading-8 list-none border-r-0">
- Enterprise
+ Data Rooms
</li>
</ul>
</div>
@@ -591,11 +589,11 @@ export function PricingComparison() {
</li>
<li className="col-span-3 bg-white px-6 py-4 text-sm list-none border-r-0 hover:bg-black hover:text-white">
<Link
- href="https://cal.com/marcseitz/papermark"
+ href="/login?next=/settings/billing"
target="_blank"
className="flex items-center gap-x-1 group"
>
- Book a demo <ArrowRightIcon className="h-4 w-4" />
+ Create Data Rooms <ArrowRightIcon className="h-4 w-4" />
</Link>
</li>
</ul>
diff --git a/pages/pricing.tsx b/pages/pricing.tsx
index 4603fd40..5256cd9f 100644
--- a/pages/pricing.tsx
+++ b/pages/pricing.tsx
@@ -64,7 +64,7 @@ const tiers: {
description: "The branded experience for your documents.",
featureIntro: "Everything in Free, plus:",
features: [
- "2 users",
+ "2 users included",
"Custom slug",
"Custom branding",
"1-year analytics retention",
@@ -85,10 +85,10 @@ const tiers: {
description: "The one for more control, data room, and multi-file sharing.",
featureIntro: "Everything in Pro, plus:",
features: [
- "3 users",
+ "3 users included",
"1 dataroom",
+ "Custom domain for documents",
"Multi-file sharing",
- "Custom domain",
"Unlimited documents",
"Unlimited subfolder levels",
"Large file uploads",
@@ -101,28 +101,29 @@ const tiers: {
mostPopular: true,
},
{
- name: "Enterprise",
- id: "tier-enterprise",
- href: "https://cal.com/marcseitz/papermark",
- price: { monthly: "Custom", annually: "Custom" },
- description: "Self-hosted and advanced infrastructure for your company.",
- featureIntro: "Tailored solutions:",
+ name: "Data Rooms",
+ id: "tier-datarooms",
+ href: "/login",
+ price: { monthly: "€199", annually: "€149" },
+ description: "Advanced data rooms infrastructure for your company.",
+ featureIntro: "Everything in Business, plus:",
features: [
- "Self-hosted version",
- "Unlimited users",
+ "5 users included",
+ "Unlimited data rooms",
+ "Custom domain for data rooms",
"Unlimited documents",
"Unlimited folders and subfolders",
- "Unlimited data rooms",
- "Full white-labeling",
- "Up to 5TB file uploads",
- "Dedicated support",
+ "User groups permissions",
+ "Advanced data rooms analytics",
+ // "Up to 5TB file uploads",
+ "24h Priority Support",
"Custom Onboarding",
],
bgColor: "bg-gray-200",
borderColor: "#bg-gray-800",
textColor: "#bg-gray-800",
- buttonText: "Book a demo",
- mostPopular: false,
+ buttonText: "Create Data Rooms",
+ mostPopular: true,
},
];
@@ -132,8 +133,10 @@ export default function PricingPage() {
const [toggleProYear, setToggleProYear] = useState<boolean>(true);
const [toggleBusinessYear, setToggleBusinessYear] = useState<boolean>(true);
+ const [toggleDataroomsYear, setToggleDataroomsYear] = useState<boolean>(true);
const [frequencyPro, setFrequencyPro] = useState(frequencies[0]);
const [frequencyBusiness, setFrequencyBusiness] = useState(frequencies[0]);
+ const [frequencyDatarooms, setFrequencyDatarooms] = useState(frequencies[0]);
useEffect(() => {
if (toggleProYear) {
@@ -147,7 +150,12 @@ export default function PricingPage() {
} else {
setFrequencyBusiness(frequencies[0]);
}
- }, [toggleProYear, toggleBusinessYear]);
+ if (toggleDataroomsYear) {
+ setFrequencyDatarooms(frequencies[1]);
+ } else {
+ setFrequencyDatarooms(frequencies[0]);
+ }
+ }, [toggleProYear, toggleBusinessYear, toggleDataroomsYear]);
return (
<>
@@ -308,13 +316,61 @@ export default function PricingPage() {
</div>
</div>
) : null}
- {tier.id === "tier-enterprise" ? (
+ {/* {tier.id === "tier-enterprise" ? (
<div className="min-h-12">
<div className="flex flex-col text-sm">
<div className="h-6"></div>
<h4>Get in touch</h4>
</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="flex items-center gap-x-1 text-sm mb-1">
+ <span
+ className={cn(
+ toggleDataroomsYear
+ ? "text-gray-400"
+ : "text-black",
+ )}
+ >
+ Monthly
+ </span>
+ <span>|</span>
+ <span
+ className={cn(
+ toggleDataroomsYear
+ ? "text-black"
+ : "text-gray-400",
+ )}
+ >
+ Annually
+ </span>
+ </div>
+ <div
+ className={cn(
+ "relative text-xs w-fit uppercase border border-[#fb7a00] text-[#fb7a00] rounded-3xl px-1.5 py-0.5",
+ !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",
+ )}
+ />
+ 25% Saving
+ </div>
+ </div>
) : null}
</div>
<p className="mt-6 flex items-baseline gap-x-1">
@@ -326,12 +382,14 @@ export default function PricingPage() {
? tier.price[frequencyPro.value]
: tier.id === "tier-business"
? tier.price[frequencyBusiness.value]
- : tier.price[frequency.value]}
+ : tier.id === "tier-datarooms"
+ ? tier.price[frequencyDatarooms.value]
+ : tier.price[frequency.value]}
</span>
- <span
+ {/* <span
className={cn(
"text-sm font-semibold leading-6 text-gray-600",
- tier.id === "tier-enterprise" ? "hidden" : "",
+ tier.id === "tier-datarooms" ? "hidden" : "",
)}
>
{tier.id === "tier-pro"
@@ -339,7 +397,7 @@ export default function PricingPage() {
: tier.id === "tier-business"
? frequencyBusiness.priceSuffix
: frequency.priceSuffix}
- </span>
+ </span> */}
</p>
<p className="mt-6 text-sm leading-6 text-gray-600 text-balance">
{tier.description}
@@ -393,7 +451,9 @@ export default function PricingPage() {
<div className="w-full max-w-7xl px-4 md:px-8 mx-auto ">
<div className="py-12 bg-[#fb7a00] rounded-xl mx-auto px-6 my-4">
<div className="flex lg:flex-row flex-col item-center justify-between space-y-10 lg:space-y-0">
- <h2 className="text-3xl text-nowrap">Looking to self-host?</h2>
+ <h2 className="text-3xl text-nowrap">
+ Looking for enterprise plan or self-hosted version?
+ </h2>
<div className="space-x-2 flex items-center">
<Link
href="https://github.com/mfts/papermark"
diff --git a/pages/settings/billing.tsx b/pages/settings/billing.tsx
index 0f9fd4d5..b2f5106b 100644
--- a/pages/settings/billing.tsx
+++ b/pages/settings/billing.tsx
@@ -29,11 +29,12 @@ export default function Billing() {
const { plan, startsAt, endsAt } = useBilling();
const [clicked, setClicked] = useState<boolean>(false);
const frequency = frequencies[1];
-
const [toggleProYear, setToggleProYear] = useState<boolean>(true);
const [toggleBusinessYear, setToggleBusinessYear] = useState<boolean>(true);
+ const [toggleDataroomsYear, setToggleDataroomsYear] = useState<boolean>(true);
const [frequencyPro, setFrequencyPro] = useState(frequencies[0]);
const [frequencyBusiness, setFrequencyBusiness] = useState(frequencies[0]);
+ const [frequencyDatarooms, setFrequencyDatarooms] = useState(frequencies[0]);
useEffect(() => {
if (toggleProYear) {
@@ -47,7 +48,12 @@ export default function Billing() {
} else {
setFrequencyBusiness(frequencies[0]);
}
- }, [toggleProYear, toggleBusinessYear]);
+ if (toggleDataroomsYear) {
+ setFrequencyDatarooms(frequencies[1]);
+ } else {
+ setFrequencyDatarooms(frequencies[0]);
+ }
+ }, [toggleProYear, toggleBusinessYear, toggleDataroomsYear]);
const teamInfo = useTeam();
@@ -155,6 +161,33 @@ export default function Billing() {
buttonText: "Upgrade to Business",
mostPopular: true,
},
+
+ {
+ name: "Data Rooms",
+ id: "tier-datarooms",
+ href: "/login",
+ currentPlan: plan && plan == "datarooms" ? true : false,
+ price: { monthly: "€79", annually: "€59" },
+ description:
+ "The one for more control, data room, and multi-file sharing.",
+ featureIntro: "Everything in Pro, plus:",
+ features: [
+ "5 users included",
+ "Unlimited data rooms",
+ "Custom domain for data rooms",
+ "Unlimited documents",
+ "Unlimited folders and subfolders",
+ "User groups permissions",
+ "Advanced data rooms analytics",
+ "24h Priority Support",
+ "Custom Onboarding",
+ ],
+ bgColor: "#fb7a00",
+ borderColor: "#fb7a00",
+ textColor: "#black",
+ buttonText: "Upgrade to Business",
+ mostPopular: true,
+ },
];
const enterpriseFeatures = [
@@ -311,6 +344,54 @@ export default function Billing() {
</div>
</div>
) : null}
+ {tier.id === "tier-datarooms" ? (
+ <div className="min-h-12">
+ <Switch
+ className="h-5 w-10 *:size-4"
+ checked={toggleDataroomsYear}
+ onCheckedChange={() =>
+ setToggleBusinessYear(!toggleDataroomsYear)
+ }
+ />
+ <div className="flex items-center gap-x-1 text-sm mb-1">
+ <span
+ className={cn(
+ toggleDataroomsYear
+ ? "text-gray-400"
+ : "text-black",
+ )}
+ >
+ Monthly
+ </span>
+ <span>|</span>
+ <span
+ className={cn(
+ toggleDataroomsYear
+ ? "text-black"
+ : "text-gray-400",
+ )}
+ >
+ Annually
+ </span>
+ </div>
+ <div
+ className={cn(
+ "relative text-xs w-fit uppercase border border-[#fb7a00] text-[#fb7a00] rounded-3xl px-1.5 py-0.5",
+ !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",
+ )}
+ />
+ 25% Saving
+ </div>
+ </div>
+ ) : null}
{tier.id === "tier-enterprise" ? (
<div className="min-h-12">
<div className="flex flex-col text-sm">
@@ -329,9 +410,11 @@ export default function Billing() {
? tier.price[frequencyPro.value]
: tier.id === "tier-business"
? tier.price[frequencyBusiness.value]
- : tier.price[frequency.value]}
+ : tier.id === "tier-datarooms"
+ ? tier.price[frequencyDatarooms.value]
+ : tier.price[frequency.value]}
</span>
- <span
+ {/* <span
className={cn(
"text-sm font-semibold leading-6 text-gray-600",
tier.id === "tier-enterprise" ? "hidden" : "",
@@ -342,7 +425,7 @@ export default function Billing() {
: tier.id === "tier-business"
? frequencyBusiness.priceSuffix
: frequency.priceSuffix}
- </span>
+ </span> */}
</p>
<p className="mt-4 text-sm leading-6 text-gray-600 dark:text-muted-foreground text-balance">
{tier.description}
@@ -419,7 +502,9 @@ export default function Billing() {
</Button>
) : (
<UpgradePlanModal
- clickedPlan={tier.name as "Pro" | "Business"}
+ clickedPlan={
+ tier.name as "Pro" | "Business" | "Data Rooms"
+ }
trigger={"billing_page"}
>
<Button