Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

add links to help doc

Steven Tey93519a0541b2
diff --git a/apps/web/ui/modals/add-edit-domain-modal/domain-input.tsx b/apps/web/ui/modals/add-edit-domain-modal/domain-input.tsx
index 488f39c3a4..e770b728cc 100644
--- a/apps/web/ui/modals/add-edit-domain-modal/domain-input.tsx
+++ b/apps/web/ui/modals/add-edit-domain-modal/domain-input.tsx
@@ -2,6 +2,7 @@ import { AlertCircleFill, CheckCircleFill } from "@/ui/shared/icons";
import { Label, RadioGroup, RadioGroupItem } from "@dub/ui";
import {
FADE_IN_ANIMATION_SETTINGS,
+ HOME_DOMAIN,
cn,
getApexDomain,
getSubdomain,
@@ -168,6 +169,18 @@ export default function DomainInput({
</RadioGroup>
</motion.div>
)}
+ {(domain.includes("/") || domainType === "website") && (
+ <p className="mt-2 text-sm text-gray-500">
+ Want to set up Dub.co to handle redirects on a subpath instead?{" "}
+ <a
+ href={`${HOME_DOMAIN}/help/article/how-to-use-dub-with-subpath`}
+ target="_blank"
+ className="underline"
+ >
+ Read this guide.
+ </a>
+ </p>
+ )}
</>
);
}
diff --git a/apps/web/ui/projects/project-card.tsx b/apps/web/ui/projects/project-card.tsx
index 6d8e3d9561..f518e651f9 100644
--- a/apps/web/ui/projects/project-card.tsx
+++ b/apps/web/ui/projects/project-card.tsx
@@ -108,7 +108,7 @@ export default function ProjectCard({
cta={
primaryDomain?.verified === false
? "Verify Domain"
- : "Manage Domain"
+ : `Manage Domain${domains.length > 1 ? "s" : ""}`
}
href={`/${slug}/domains`}
/>