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 custom OG for legal pages

Steven Tey4b39323f3aa5
diff --git a/app/dub.co/abuse/page.tsx b/app/dub.co/abuse/page.tsx
index 8aa9afe83a..d0d3021d4d 100644
--- a/app/dub.co/abuse/page.tsx
+++ b/app/dub.co/abuse/page.tsx
@@ -6,6 +6,7 @@ import { allLegalPosts } from "contentlayer/generated";
export const metadata: Metadata = constructMetadata({
title: "Report Abuse – Dub",
+ image: "/api/og/help?title=Report+Abuse&summary=dub.co/abuse",
});
export default function Abuse() {
diff --git a/app/dub.co/privacy/page.tsx b/app/dub.co/privacy/page.tsx
index 9a8f24c118..8b4fee55bf 100644
--- a/app/dub.co/privacy/page.tsx
+++ b/app/dub.co/privacy/page.tsx
@@ -5,6 +5,7 @@ import { allLegalPosts } from "contentlayer/generated";
export const metadata: Metadata = constructMetadata({
title: "Privacy Policy – Dub",
+ image: "/api/og/help?title=Privacy+Policy&summary=dub.co/privacy",
});
export default function Privacy() {
diff --git a/app/dub.co/terms/page.tsx b/app/dub.co/terms/page.tsx
index b2a7228dc0..73aece7038 100644
--- a/app/dub.co/terms/page.tsx
+++ b/app/dub.co/terms/page.tsx
@@ -5,6 +5,7 @@ import { allLegalPosts } from "contentlayer/generated";
export const metadata: Metadata = constructMetadata({
title: "Terms of Service – Dub",
+ image: "/api/og/help?title=Terms+of+Service&summary=dub.co/terms",
});
export default function Terms() {