Skip to content

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

added small changes to side bar and upgrade modal

Iuliia Shnai9edac720f34e
diff --git a/components/Sidebar.tsx b/components/Sidebar.tsx
index 43af3c71..1e609e49 100644
--- a/components/Sidebar.tsx
+++ b/components/Sidebar.tsx
@@ -303,6 +303,9 @@ export const SidebarComponent = ({ className }: { className?: string }) => {
usageLimit={documentsLimit}
/>
) : null}
+ <p className="mt-2 px-2 text-xs text-muted-foreground">
+ Change plan to increase usage limits
+ </p>
</div>
<div className="hidden w-full lg:block">
@@ -332,15 +335,15 @@ function UsageProgress(data: {
<h3 className="font-medium">{title}</h3>
</div> */}
- <div className="mt-2 flex flex-col space-y-2">
+ <div className="mt-1 flex flex-col space-y-1">
{usage !== undefined && usageLimit !== undefined ? (
- <p className="text-sm text-foreground">
+ <p className="text-xs text-foreground">
<span>{nFormatter(usage)}</span> / {nFormatter(usageLimit)} {unit}
</p>
) : (
<div className="h-5 w-32 animate-pulse rounded-md bg-muted" />
)}
- <Progress value={usagePercentage} className="h-2 bg-muted" max={100} />
+ <Progress value={usagePercentage} className="h-1 bg-muted" max={100} />
</div>
</div>
);
diff --git a/components/billing/upgrade-plan-modal.tsx b/components/billing/upgrade-plan-modal.tsx
index fd79d64d..a7e7db05 100644
--- a/components/billing/upgrade-plan-modal.tsx
+++ b/components/billing/upgrade-plan-modal.tsx
@@ -59,6 +59,7 @@ export function UpgradePlanModal({
"Custom branding",
"Folder organization",
"Require email verification",
+ "Clickable links inside documents",
"More file types: pppt, docx, excel",
"Papermark branding removed",
"1-year analytics retention",