Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
feat: update branding with domains and link previews
Marc Seitzbdd1c20587cf
diff --git a/pages/branding.tsx b/pages/branding.tsxindex 1db92d7c..1aa084e3 100644--- a/pages/branding.tsx+++ b/pages/branding.tsx@@ -13,6 +13,7 @@ import {UpgradePlanModal,} from "@/components/billing/upgrade-plan-modal";import AppLayout from "@/components/layouts/app";+import { NavMenu } from "@/components/navigation-menu";import { Button } from "@/components/ui/button";import { Card, CardContent, CardFooter } from "@/components/ui/card";import { Label } from "@/components/ui/label";@@ -138,6 +139,39 @@ export default function Branding() {return (<AppLayout><main 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">+ <header>+ <section className="mb-4 flex items-center justify-between md:mb-8 lg:mb-12">+ <div className="space-y-1">+ <h1 className="text-xl font-semibold tracking-tight text-foreground sm:text-2xl">+ Branding+ </h1>+ <p className="text-xs text-muted-foreground sm:text-sm">+ Customize how your brand appears globally across Papermark+ documents your visitors see.+ </p>+ </div>+ </section>++ <NavMenu+ navigation={[+ {+ label: "Document Branding",+ href: "/branding",+ segment: `branding`,+ },+ {+ label: "Domains",+ href: "/settings/domains",+ segment: "domains",+ },+ {+ label: "Link Previews",+ href: "/settings/presets",+ segment: "presets",+ },+ ]}+ />+ </header><div><div className="mb-4 flex items-center justify-between md:mb-8 lg:mb-12"><div className="space-y-1">@@ -145,8 +179,10 @@ export default function Branding() {Document Branding</h3><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.+ All direct links to documents will have your branding applied.+ <span className="italic">+ Data rooms are styled individually.+ </span><BadgeTooltiplinkText="Click here"content="How to customize document branding?"diff --git a/pages/settings/domains.tsx b/pages/settings/domains.tsxindex 9d895e11..13b03cf9 100644--- a/pages/settings/domains.tsx+++ b/pages/settings/domains.tsx@@ -46,7 +46,7 @@ export default function Domains() {Domains</h3><p className="flx-row flex items-center gap-2 text-sm text-muted-foreground">- Manage your custom domain for document sharing+ Manage your custom domain for sharing documents and data rooms.<BadgeTooltipcontent="How to connect a custom domain to your link?"key="verified"