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.

added internal links to help center articles

Steven Teya1692a4ae267
diff --git a/app/ui/home/features.tsx b/app/ui/home/features.tsx
index c9d6d01785..890d58a6f8 100644
--- a/app/ui/home/features.tsx
+++ b/app/ui/home/features.tsx
@@ -42,12 +42,11 @@ const featureList = [
"Dub offers free custom domains on all plans - start personalizing your links today.",
cta: (
<a
- href={APP_DOMAIN}
+ href="/help/article/how-to-add-custom-domain"
target="_blank"
- rel="noreferrer"
className="block max-w-fit rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-white hover:text-black"
>
- Create your project
+ Learn more
</a>
),
demo: "https://d2vwwcvoksz7ty.cloudfront.net/custom-domain.mp4",
@@ -67,7 +66,15 @@ const featureList = [
icon: <Photo className="h-5 w-5 text-gray-600" />,
description:
"Overlay custom OG images on your links to make them stand out on social media.",
- cta: "View demo", //custom cta
+ cta: (
+ <a
+ href="/help/article/how-to-create-link#custom-social-media-cards"
+ target="_blank"
+ className="block max-w-fit rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-white hover:text-black"
+ >
+ Learn more
+ </a>
+ ),
demo: "https://d2vwwcvoksz7ty.cloudfront.net/og.mp4",
},
{
@@ -87,12 +94,11 @@ const featureList = [
"With Dub, you can invite your teammates to collaborate on your project for free - no more sharing logins via Google groups.",
cta: (
<a
- href={APP_DOMAIN}
+ href="/help/article/how-to-invite-teammates"
target="_blank"
- rel="noreferrer"
className="block max-w-fit rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-white hover:text-black"
>
- Invite your teammates
+ Learn more
</a>
),
demo: "https://d2vwwcvoksz7ty.cloudfront.net/team.mp4",
@@ -162,7 +168,7 @@ export default function Features() {
<p className="mb-4 text-sm text-gray-500">
{description}
</p>
- {key === "link" || key === "social" ? (
+ {key === "link" ? (
<button
onClick={() => setShowAddEditLinkModal(true)}
className="block max-w-fit rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-white hover:text-black"
diff --git a/app/ui/home/pricing.tsx b/app/ui/home/pricing.tsx
index cbf6fe3a24..237009d6d8 100644
--- a/app/ui/home/pricing.tsx
+++ b/app/ui/home/pricing.tsx
@@ -6,7 +6,7 @@ import Confetti from "react-dom-confetti";
import { CheckCircleFill, XCircleFill } from "@/components/shared/icons";
import MaxWidthWrapper from "@/components/shared/max-width-wrapper";
import Switch from "#/ui/switch";
-import Tooltip from "#/ui/tooltip";
+import Tooltip, { SimpleTooltipContent } from "#/ui/tooltip";
import { PLANS } from "#/lib/stripe/utils";
import { nFormatter } from "#/lib/utils";
import { HelpCircle, MinusCircle } from "lucide-react";
@@ -27,19 +27,36 @@ const pricingItems = [
},
{
text: "Advanced link features",
- footnote:
- "Password protection, link expiration, device targeting, custom social media cards, etc.",
+ footnote: (
+ <SimpleTooltipContent
+ title="Password protection, link expiration, device targeting, custom social media cards, etc."
+ cta="Learn more."
+ href="/help/article/how-to-create-link#the-dub-link-builder"
+ />
+ ),
},
{ text: "Up to 3 users", neutral: true },
{ text: "30-day link history", neutral: true },
{
text: "Root domain redirect",
- footnote:
- "Redirect vistors that land on the root of your domain (e.g. yourdomain.com) to a page of your choice.",
+ footnote: (
+ <SimpleTooltipContent
+ title="Redirect vistors that land on the root of your domain (e.g. yourdomain.com) to a page of your choice."
+ cta="Learn more."
+ href="/help/article/how-to-redirect-root-domain"
+ />
+ ),
negative: true,
},
{
text: "Custom QR Code Logo",
+ footnote: (
+ <SimpleTooltipContent
+ title="Set a custom logo for your links' QR codes."
+ cta="Learn more."
+ href="/help/article/custom-qr-codes"
+ />
+ ),
negative: true,
},
{
@@ -65,18 +82,35 @@ const pricingItems = [
},
{
text: "Advanced link features",
- footnote:
- "Password protection, link expiration, device targeting, custom social media cards, etc.",
+ footnote: (
+ <SimpleTooltipContent
+ title="Password protection, link expiration, device targeting, custom social media cards, etc."
+ cta="Learn more."
+ href="/help/article/how-to-create-link#the-dub-link-builder"
+ />
+ ),
},
{ text: "Unlimited users" },
{ text: "Unlimited link history" },
{
text: "Root domain redirect",
- footnote:
- "Redirect visitors that land on the root of your domain (e.g. yourdomain.com) to a page of your choice.",
+ footnote: (
+ <SimpleTooltipContent
+ title="Redirect vistors that land on the root of your domain (e.g. yourdomain.com) to a page of your choice."
+ cta="Learn more."
+ href="/help/article/how-to-redirect-root-domain"
+ />
+ ),
},
{
text: "Custom QR Code Logo",
+ footnote: (
+ <SimpleTooltipContent
+ title="Set a custom logo for your links' QR codes."
+ cta="Learn more."
+ href="/help/article/custom-qr-codes"
+ />
+ ),
},
{
text: "API Access",
@@ -101,18 +135,35 @@ const pricingItems = [
},
{
text: "Advanced link features",
- footnote:
- "Password protection, link expiration, device targeting, custom social media cards, etc.",
+ footnote: (
+ <SimpleTooltipContent
+ title="Password protection, link expiration, device targeting, custom social media cards, etc."
+ cta="Learn more."
+ href="/help/article/how-to-create-link#the-dub-link-builder"
+ />
+ ),
},
{ text: "Unlimited users" },
{ text: "Unlimited link history" },
{
text: "Root domain redirect",
- footnote:
- "Redirect visitors that land on the root of your domain (e.g. yourdomain.com) to a page of your choice.",
+ footnote: (
+ <SimpleTooltipContent
+ title="Redirect vistors that land on the root of your domain (e.g. yourdomain.com) to a page of your choice."
+ cta="Learn more."
+ href="/help/article/how-to-redirect-root-domain"
+ />
+ ),
},
{
text: "Custom QR Code Logo",
+ footnote: (
+ <SimpleTooltipContent
+ title="Set a custom logo for your links' QR codes."
+ cta="Learn more."
+ href="/help/article/custom-qr-codes"
+ />
+ ),
},
{
text: "API Access",