Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions components/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,10 @@ 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")}>
<p
className="flex items-center text-2xl font-bold tracking-tighter text-black dark:text-white"
onClick={() => router.push("/documents")}
>
Papermark{" "}
{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">
Expand Down Expand Up @@ -303,9 +306,11 @@ 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>
{linksLimit || documentsLimit ? (
<p className="mt-2 px-2 text-xs text-muted-foreground">
Change plan to increase usage limits
</p>
) : null}
</div>

<div className="hidden w-full lg:block">
Expand Down