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.

Merge branch 'main' into features

Steven Tey9c8b431bb1f1
diff --cc app/sitemap.ts
index 16090baab4,766ab42bc4..f3a3697ebb
--- a/app/sitemap.ts
+++ b/app/sitemap.ts
@@@ -7,13 -8,9 +8,13 @@@ import
allLegalPosts,
} from "contentlayer/generated";
import { isHomeHostname, allTools } from "#/lib/constants";
-import { BLOG_CATEGORIES, HELP_CATEGORIES } from "#/lib/constants/content";
+import {
+ BLOG_CATEGORIES,
+ HELP_CATEGORIES,
+ FEATURES_LIST,
+} from "#/lib/constants/content";
- export default async function Sitemap() {
+ export default async function sitemap(): Promise<MetadataRoute.Sitemap> {
const headersList = headers();
let domain = headersList.get("host") as string;
if (isHomeHostname(domain)) domain = "dub.co";
diff --cc app/ui/home/footer.tsx
index c30cb83608,ed37a0509c..299b9e9f6e
--- a/app/ui/home/footer.tsx
+++ b/app/ui/home/footer.tsx
@@@ -6,23 -6,21 +6,23 @@@ import { Github, LinkedIn, Twitter } fr
import { useParams } from "next/navigation";
import MaxWidthWrapper from "@/components/shared/max-width-wrapper";
import va from "@vercel/analytics";
+import { FEATURES_LIST } from "#/lib/constants/content";
const navigation = {
+ features: FEATURES_LIST.map(({ shortTitle, slug }) => ({
+ name: shortTitle,
+ href: `/features/${slug}`,
+ })),
product: [
- { name: "Pricing", href: "/pricing" },
+ { name: "Blog", href: "/blog" },
{ name: "Changelog", href: "/changelog" },
{ name: "Help Center", href: "/help" },
- ],
- company: [
- { name: "Blog", href: "/blog" },
- // { name: "About", href: "/about" },
+ { name: "Pricing", href: "/pricing" },
],
- // company: [
- // { name: "About", href: "/about" },
- // ],
- tools: [{ name: "Metatags API", href: "/tools/metatags" }],
+ tools: [
+ { name: "Metatags API", href: "/tools/metatags" },
+ { name: "Link Inspector", href: "/tools/inspector" },
+ ],
legal: [
{ name: "Privacy", href: "/privacy" },
{ name: "Terms", href: "/terms" },