The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
fix 404 links in footer
Steven Tey03d0ebcd8548
diff --git a/packages/ui/package.json b/packages/ui/package.jsonindex 3e45514e5e..37f867dad2 100644--- a/packages/ui/package.json+++ b/packages/ui/package.json@@ -1,7 +1,7 @@{"name": "@dub/ui","description": "UI components for Dub.co",- "version": "0.2.6",+ "version": "0.2.7","sideEffects": false,"main": "./dist/index.js","module": "./dist/index.mjs",diff --git a/packages/ui/src/content.ts b/packages/ui/src/content.tsindex 31b8afc2f0..d71e0a8552 100644--- a/packages/ui/src/content.ts+++ b/packages/ui/src/content.ts@@ -121,7 +121,7 @@ export const RESOURCES = [icon: Book2Fill,title: "Docs",description: "Platform documentation",- href: "/docs",+ href: "/docs/introduction",},{icon: HeadsetFill,@@ -141,7 +141,6 @@ export const COMPARE_PAGES = [export const LEGAL_PAGES = [{ name: "Privacy", slug: "privacy" },{ name: "Terms", slug: "terms" },- { name: "Trust Center", slug: "trust" },{ name: "DPA", slug: "dpa" },{ name: "Subprocessors", slug: "subprocessors" },{ name: "Report Abuse", slug: "abuse" },diff --git a/packages/ui/src/footer.tsx b/packages/ui/src/footer.tsxindex 717b8748fc..b3a2018748 100644--- a/packages/ui/src/footer.tsx+++ b/packages/ui/src/footer.tsx@@ -7,7 +7,7 @@ import { useParams } from "next/navigation";import { useEffect, useState } from "react";import useSWR from "swr";import { COMPARE_PAGES, FEATURES_LIST, LEGAL_PAGES } from "./content";-import { Github, LinkedIn, Twitter, YouTube } from "./icons";+import { Github, LinkedIn, ReferredVia, Twitter, YouTube } from "./icons";import { MaxWidthWrapper } from "./max-width-wrapper";import { NavWordmark } from "./nav-wordmark";@@ -45,7 +45,7 @@ const navigation = {{ name: "Customers", href: "/customers" },{ name: "Enterprise", href: "/enterprise" },{ name: "Pricing", href: "/pricing" },- { name: "Docs", href: "/docs" },+ { name: "Docs", href: "/docs/introduction" },{ name: "Help Center", href: "/help" },{ name: "Brand", href: "/brand" },],@@ -204,6 +204,19 @@ export function Footer({</Link></li>))}+ <li>+ <a+ href="https://security.dub.co"+ target="_blank"+ rel="noreferrer"+ className={cn(+ linkListItemClassName,+ "flex items-center gap-1",+ )}+ >+ Trust Center <ReferredVia className="size-3.5" />+ </a>+ </li></ul></div></div>