Skip to content

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

Merge branch 'main' into PM/139

Marc Seitzb0dd9f544215
diff --cc components/sidebar/app-sidebar.tsx
index d387b45f,9d5853bb..3fe33c22
--- a/components/sidebar/app-sidebar.tsx
+++ b/components/sidebar/app-sidebar.tsx
@@@ -56,16 -59,27 +60,27 @@@ export function AppSidebar({ ...props }
} else {
setShowProBanner(false);
}
+ if (Cookies.get("hideProAnnualBanner") !== "pro-annual-banner") {
+ setShowProAnnualBanner(true);
+ } else {
+ setShowProAnnualBanner(false);
+ }
}, []);
+ console.log("userPlan", userPlan);
+ console.log("userTrial", userTrial);
+
+ console.log("linksLimit", linksLimit);
+ console.log("documentsLimit", documentsLimit);
+
const data = {
navMain: [
- // {
- // title: "Dashboard",
- // url: "/dashboard",
- // icon: HouseIcon,
- // current: router.pathname.includes("dashboard"),
- // },
+ {
+ title: "Dashboard",
+ url: "/dashboard",
+ icon: HouseIcon,
+ current: router.pathname.includes("dashboard"),
+ },
{
title: "All Documents",
url: "/documents",