Skip to content

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

fix: added missing link in branding (#1312)

JeevaRamanathanab1701aa5e05
diff --git a/pages/datarooms/[id]/branding/index.tsx b/pages/datarooms/[id]/branding/index.tsx
index 2bc5d660..e3806ad5 100644
--- a/pages/datarooms/[id]/branding/index.tsx
+++ b/pages/datarooms/[id]/branding/index.tsx
@@ -3,7 +3,7 @@ import { useRouter } from "next/router";
import { useCallback, useEffect, useState } from "react";
import { useTeam } from "@/context/team-context";
-import { PlusIcon } from "lucide-react";
+import { CircleHelpIcon, InfoIcon, PlusIcon } from "lucide-react";
import { HexColorInput, HexColorPicker } from "react-colorful";
import { toast } from "sonner";
import { mutate } from "swr";
@@ -20,6 +20,7 @@ import {
PopoverContent,
PopoverTrigger,
} from "@/components/ui/popover";
+import { BadgeTooltip } from "@/components/ui/tooltip";
import { useDataroomBrand } from "@/lib/swr/use-brand";
import { useDataroom } from "@/lib/swr/use-dataroom";
@@ -184,6 +185,25 @@ export default function DataroomBrandPage() {
<DataroomNavigation dataroomId={dataroom.id} />
</header>
+ <div className="mb-4 flex items-center justify-between md:mb-8 lg:mb-12">
+ <div className="space-y-1">
+ <h3 className="text-2xl font-semibold tracking-tight text-foreground">
+ Customization
+ </h3>
+ <p className="flex flex-row items-center gap-2 text-sm text-muted-foreground">
+ Customize your data room&apos;s branding for a cohesive user
+ experience.
+ <BadgeTooltip
+ linkText="Click here"
+ content="How to customize data room branding?"
+ key="branding"
+ link="https://www.papermark.io/help/article/dataroom-branding"
+ >
+ <CircleHelpIcon className="h-4 w-4 shrink-0 text-muted-foreground hover:text-foreground" />
+ </BadgeTooltip>
+ </p>
+ </div>
+ </div>
<div className="space-y-4">
<div>
<Card className="dark:bg-secondary">
diff --git a/pages/datarooms/[id]/groups/index.tsx b/pages/datarooms/[id]/groups/index.tsx
index d87c8395..5257522c 100644
--- a/pages/datarooms/[id]/groups/index.tsx
+++ b/pages/datarooms/[id]/groups/index.tsx
@@ -2,7 +2,7 @@ import Link from "next/link";
import { useState } from "react";
-import { UsersIcon } from "lucide-react";
+import { CircleHelpIcon, InfoIcon, UsersIcon } from "lucide-react";
import { UpgradePlanModal } from "@/components/billing/upgrade-plan-modal";
import { DataroomHeader } from "@/components/datarooms/dataroom-header";
@@ -12,6 +12,7 @@ import GroupCard from "@/components/datarooms/groups/group-card";
import { GroupCardPlaceholder } from "@/components/datarooms/groups/group-card-placeholder";
import AppLayout from "@/components/layouts/app";
import { Button } from "@/components/ui/button";
+import { BadgeTooltip } from "@/components/ui/tooltip";
import { usePlan } from "@/lib/swr/use-billing";
import { useDataroom } from "@/lib/swr/use-dataroom";
@@ -58,7 +59,23 @@ export default function DataroomGroupPage() {
<div className="grid gap-5">
<div className="flex flex-wrap justify-between gap-6">
<div className="flex items-center gap-x-2">
- <h1 className="text-xl font-semibold tracking-tight">Groups</h1>
+ <div className="space-y-1">
+ <h3 className="text-2xl font-semibold tracking-tight text-foreground">
+ Groups
+ </h3>
+ <p className="flex flex-row items-center gap-2 text-sm text-muted-foreground">
+ Control document access with granular permissions through
+ groups.{" "}
+ <BadgeTooltip
+ linkText="Learn more"
+ content="Manage Access with Granular Permissions for Data Room Groups"
+ key="groups"
+ link="https://www.papermark.io/help/article/granular-permissions"
+ >
+ <CircleHelpIcon className="h-4 w-4 shrink-0 text-muted-foreground hover:text-foreground" />
+ </BadgeTooltip>
+ </p>
+ </div>
</div>
<div className="flex w-full flex-wrap items-center gap-3 sm:w-auto">
<ButtonComponent />
diff --git a/pages/settings/branding.tsx b/pages/settings/branding.tsx
index f7d82546..d7aaed5b 100644
--- a/pages/settings/branding.tsx
+++ b/pages/settings/branding.tsx
@@ -146,13 +146,14 @@ export default function Branding() {
<p className="flex flex-row items-center gap-2 text-sm text-muted-foreground">
Customize how your brand appears globally across Papermark
documents your visitors see.
- {/* <BadgeTooltip
+ <BadgeTooltip
linkText="Click here"
content="How to customize document branding?"
key="branding"
+ link="https://www.papermark.io/help/article/document-branding"
>
<CircleHelpIcon className="h-4 w-4 shrink-0 text-muted-foreground hover:text-foreground" />
- </BadgeTooltip> */}
+ </BadgeTooltip>
</p>
</div>
</div>