The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
bump footer
Steven Tey1dea14b2f92b
diff --git a/packages/ui/package.json b/packages/ui/package.jsonindex 38dcce1399..ec153bf3bf 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.1.63",+ "version": "0.1.64","sideEffects": false,"main": "./dist/index.js","module": "./dist/index.mjs",diff --git a/packages/ui/src/content.ts b/packages/ui/src/content.tsindex 93d5388412..1d1e2e1a2f 100644--- a/packages/ui/src/content.ts+++ b/packages/ui/src/content.ts@@ -165,3 +165,19 @@ export const RESOURCES = [href: "/brand",},];++export const COMPARE_PAGES = [+ { name: "Bitly", slug: "bitly" },+ { name: "Rebrandly", slug: "rebrandly" },+ { name: "Short.io", slug: "short" },+ { name: "Bl.ink", slug: "blink" },+];++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 121724a340..5ae926ebb1 100644--- a/packages/ui/src/footer.tsx+++ b/packages/ui/src/footer.tsx@@ -1,19 +1,12 @@"use client";-import {- ALL_TOOLS,- COMPARE_PAGES,- LEGAL_PAGES,- cn,- createHref,- fetcher,-} from "@dub/utils";+import { ALL_TOOLS, cn, createHref, fetcher } from "@dub/utils";import Image from "next/image";import Link from "next/link";import { useParams } from "next/navigation";import { useEffect, useState } from "react";import useSWR from "swr";-import { FEATURES_LIST } from "./content";+import { COMPARE_PAGES, FEATURES_LIST, LEGAL_PAGES } from "./content";import { Github, LinkedIn, Twitter, YouTube } from "./icons";import { MaxWidthWrapper } from "./max-width-wrapper";import { NavWordmark } from "./nav-wordmark";diff --git a/packages/ui/src/nav/content/product-content.tsx b/packages/ui/src/nav/content/product-content.tsxindex 46f615e5c9..9916eed825 100644--- a/packages/ui/src/nav/content/product-content.tsx+++ b/packages/ui/src/nav/content/product-content.tsx@@ -1,7 +1,7 @@-import { COMPARE_PAGES, cn, createHref } from "@dub/utils";+import { cn, createHref } from "@dub/utils";import { ChevronRight } from "lucide-react";import Link from "next/link";-import { CUSTOMER_STORIES, FEATURES_LIST } from "../../content";+import { COMPARE_PAGES, CUSTOMER_STORIES, FEATURES_LIST } from "../../content";import { ExpandingArrow } from "../../icons";import {ContentIcon,diff --git a/packages/utils/src/constants/layout.ts b/packages/utils/src/constants/layout.tsindex 9a3b8822eb..dcaf63e016 100644--- a/packages/utils/src/constants/layout.ts+++ b/packages/utils/src/constants/layout.ts@@ -11,17 +11,3 @@ export const ALL_TOOLS = [{ name: "QR Code API", slug: "qr-code" },{ name: "UTM Builder", slug: "utm-builder" },];--export const COMPARE_PAGES = [- { name: "Bitly", slug: "bitly" },- { name: "Rebrandly", slug: "rebrandly" },- { name: "Short.io", slug: "short" },-];--export const LEGAL_PAGES = [- { name: "Privacy", slug: "privacy" },- { name: "Terms", slug: "terms" },- { name: "Subprocessors", slug: "subprocessors" },- { name: "DPA", slug: "dpa" },- { name: "Report Abuse", slug: "abuse" },-];