Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
import { CircleHelpIcon } from "lucide-react";
import { useDataroom } from "@/lib/swr/use-dataroom";
import IntroductionSettings from "@/components/datarooms/settings/introduction-settings";
import AppLayout from "@/components/layouts/app";
import { BadgeTooltip } from "@/components/ui/tooltip";
export default function Introduction() {
const { dataroom } = useDataroom();
if (!dataroom) {
return <div>Loading...</div>;
}
return (
<AppLayout>
<div className="relative mx-2 mb-10 mt-4 space-y-8 overflow-hidden px-1 sm:mx-3 md:mx-5 md:mt-5 lg:mx-7 lg:mt-8 xl:mx-10">
<div className="space-y-1">
<h3 className="text-2xl font-semibold tracking-tight text-foreground">
Introduction
</h3>
<p className="flex flex-row items-center gap-2 text-sm text-muted-foreground">
Create an introduction page shown to viewers when they first access your data room. Edit the template below to fit your needs. Changes are saved automatically.
<BadgeTooltip
linkText="Learn more"
content="Add an introduction page to your data room."
key="introduction"
link="https://www.papermark.com/help/article/data-room-introduction-page"
>
<CircleHelpIcon className="h-4 w-4 shrink-0 text-muted-foreground hover:text-foreground" />
</BadgeTooltip>
</p>
</div>
<IntroductionSettings dataroomId={dataroom.id} />
</div>
</AppLayout>
);
}