Skip to content

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

papermark logo redirect to /document (#806)

Tushar Agarwalecd3b5d577c5
diff --git a/components/Sidebar.tsx b/components/Sidebar.tsx
index 2893d023..59fe20a2 100644
--- a/components/Sidebar.tsx
+++ b/components/Sidebar.tsx
@@ -29,6 +29,7 @@ import { AddTeamModal } from "./teams/add-team-modal";
import SelectTeam from "./teams/select-team";
import { Progress } from "./ui/progress";
import { ScrollArea } from "./ui/scroll-area";
+import Link from "next/link";
export default function Sidebar() {
return (
@@ -155,11 +156,8 @@ export const SidebarComponent = ({ className }: { className?: string }) => {
{/* Sidebar component, swap this element with another sidebar if you like */}
<div className="flex h-16 shrink-0 items-center space-x-3">
- <p
- className="flex items-center text-2xl font-bold tracking-tighter text-black dark:text-white"
- onClick={() => router.push("/documents")}
- >
- Papermark{" "}
+ <p className="flex items-center text-2xl font-bold tracking-tighter text-black dark:text-white">
+ <Link href="/documents">Papermark{" "}</Link>
{userPlan && userPlan != "free" ? (
<span className="ml-4 rounded-full bg-background px-2.5 py-1 text-xs tracking-normal text-foreground ring-1 ring-gray-800">
{userPlan.charAt(0).toUpperCase() + userPlan.slice(1)}