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.

update dot-link article

Steven Tey187485aac253
diff --git a/apps/web/lib/types.ts b/apps/web/lib/types.ts
index e5d32b8b0d..f48c77654e 100644
--- a/apps/web/lib/types.ts
+++ b/apps/web/lib/types.ts
@@ -52,22 +52,6 @@ export interface RedisLinkProps {
webhookIds?: string[];
}
-export interface EdgeLinkProps {
- id: string;
- domain: string;
- key: string;
- url: string;
- proxy: boolean;
- title: string;
- description: string;
- image: string;
- password: string;
- clicks: number;
- publicStats: boolean;
- userId: string;
- projectId: string;
-}
-
export interface TagProps {
id: string;
name: string;
diff --git a/apps/web/ui/analytics/events/example-data.ts b/apps/web/ui/analytics/events/example-data.ts
index fb16f60aeb..440827d995 100644
--- a/apps/web/ui/analytics/events/example-data.ts
+++ b/apps/web/ui/analytics/events/example-data.ts
@@ -9,7 +9,7 @@ const common = {
const dubLink = {
id: "1",
- domain: "dub.sh", // TODO: update to dub.link
+ domain: "dub.link",
key: "uxUrVCz",
url: "https://dub.co/",
};
diff --git a/apps/web/ui/domains/domain-card.tsx b/apps/web/ui/domains/domain-card.tsx
index f4d0078e6a..6c3b5ec9a1 100644
--- a/apps/web/ui/domains/domain-card.tsx
+++ b/apps/web/ui/domains/domain-card.tsx
@@ -112,7 +112,7 @@ export default function DomainCard({ props }: { props: DomainProps }) {
</span>
</div>
<a
- href="https://dub.co/help/article/how-to-add-custom-domain" // TODO: Update link
+ href="https://dub.co/help/article/free-dot-link-domain"
target="_blank"
className="text-gray-500 underline transition-colors hover:text-gray-800"
>
diff --git a/apps/web/ui/domains/free-dot-link-banner.tsx b/apps/web/ui/domains/free-dot-link-banner.tsx
index 2ea24cdebd..11fe0ff90d 100644
--- a/apps/web/ui/domains/free-dot-link-banner.tsx
+++ b/apps/web/ui/domains/free-dot-link-banner.tsx
@@ -37,7 +37,7 @@ export function FreeDotLinkBanner() {
Claim a free <span className="font-semibold">.link</span> domain,
free for one year{plan === "free" && " with any paid plan"}.{" "}
<a
- href="https://dub.co/help/article/how-to-add-custom-domain" // TODO: Update link
+ href="https://dub.co/help/article/free-dot-link-domain" // TODO: Update link
target="_blank"
className="text-gray-700 underline transition-colors hover:text-black"
>
diff --git a/apps/web/ui/domains/register-domain-form.tsx b/apps/web/ui/domains/register-domain-form.tsx
index 06abee3a89..e55e3660bb 100644
--- a/apps/web/ui/domains/register-domain-form.tsx
+++ b/apps/web/ui/domains/register-domain-form.tsx
@@ -155,7 +155,7 @@ export function RegisterDomainForm({
<SimpleTooltipContent
title="Search for a free .link domain to use for your short links."
cta="Learn more."
- href="https://dub.co/help/article/how-to-add-custom-domain" // TODO: Update link
+ href="https://dub.co/help/article/free-dot-link-domain" // TODO: Update link
/>
}
/>
@@ -347,7 +347,7 @@ function DomainSavedToast() {
<p className="text-[13px] font-medium text-gray-900">
Domain saved. You'll need a pro plan to complete the registration.{" "}
<a
- href="https://dub.co/help/article/how-to-add-custom-domain" // TODO: Update link
+ href="https://dub.co/help/article/free-dot-link-domain" // TODO: Update link
target="_blank"
className="text-gray-500 underline transition-colors hover:text-gray-800"
>