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.

small og tag tweaks

Steven Tey9449885c42a8
diff --git a/app/[domain]/stats/[key]/page.tsx b/app/[domain]/stats/[key]/page.tsx
index b8b6fc65ea..6b3ffcf7d0 100644
--- a/app/[domain]/stats/[key]/page.tsx
+++ b/app/[domain]/stats/[key]/page.tsx
@@ -19,7 +19,7 @@ export async function generateMetadata({
}
return constructMetadata({
- title: `Stats for ${params.domain}/${params.key} - Dub`,
+ title: `Stats for ${params.domain}/${params.key} – Dub`,
description: `Stats page for ${params.domain}/${params.key}${
data?.url ? `, which redirects to ${data.url}` : ""
}.`,
diff --git a/app/dub.sh/(blog-post)/blog/[slug]/page.tsx b/app/dub.sh/(blog-post)/blog/[slug]/page.tsx
index 85536bb0e0..8455516d83 100644
--- a/app/dub.sh/(blog-post)/blog/[slug]/page.tsx
+++ b/app/dub.sh/(blog-post)/blog/[slug]/page.tsx
@@ -10,7 +10,6 @@ import { constructMetadata, formatDate } from "#/lib/utils";
import { getTweet } from "react-tweet/api";
import BlurImage from "#/ui/blur-image";
import { BLOG_CATEGORIES } from "#/lib/constants/content";
-import BlogCard from "#/ui/content/blog-card";
export async function generateStaticParams() {
return allBlogPosts.map((post) => ({
@@ -31,7 +30,7 @@ export async function generateMetadata({
const { title, summary, image } = post;
return constructMetadata({
- title: `${title} | Dub blog`,
+ title: `${title} – Dub Blog`,
description: summary,
image,
});
diff --git a/app/dub.sh/blog/category/[slug]/page.tsx b/app/dub.sh/blog/category/[slug]/page.tsx
index a22291714e..4f1e508d46 100644
--- a/app/dub.sh/blog/category/[slug]/page.tsx
+++ b/app/dub.sh/blog/category/[slug]/page.tsx
@@ -27,7 +27,7 @@ export async function generateMetadata({
const { title, description } = category;
return constructMetadata({
- title: `${title} Posts | Dub Blog`,
+ title: `${title} Posts – Dub Blog`,
description,
image: `/api/og/help?title=${encodeURIComponent(
title,
diff --git a/app/dub.sh/changelog/page.tsx b/app/dub.sh/changelog/page.tsx
index da09db4b23..521b546707 100644
--- a/app/dub.sh/changelog/page.tsx
+++ b/app/dub.sh/changelog/page.tsx
@@ -9,7 +9,7 @@ import { Rss } from "lucide-react";
import MaxWidthWrapper from "@/components/shared/max-width-wrapper";
export const metadata = constructMetadata({
- title: "Changelog - Dub",
+ title: "Changelog – Dub",
description:
"All the latest updates, improvements, and fixes to Dub - the link management tool for modern marketing teams.",
image: "/api/og/changelog",
diff --git a/app/dub.sh/help/article/[slug]/page.tsx b/app/dub.sh/help/article/[slug]/page.tsx
index 1d8f8d55a5..3b19a39212 100644
--- a/app/dub.sh/help/article/[slug]/page.tsx
+++ b/app/dub.sh/help/article/[slug]/page.tsx
@@ -34,7 +34,7 @@ export async function generateMetadata({
const { title, summary } = post;
return constructMetadata({
- title: `${title} | Dub Help Center`,
+ title: `${title} – Dub Help Center`,
description: summary,
image: `/api/og/help?title=${encodeURIComponent(
title,
diff --git a/app/dub.sh/help/category/[slug]/page.tsx b/app/dub.sh/help/category/[slug]/page.tsx
index d27377ece6..a8b0ea7d2d 100644
--- a/app/dub.sh/help/category/[slug]/page.tsx
+++ b/app/dub.sh/help/category/[slug]/page.tsx
@@ -30,7 +30,7 @@ export async function generateMetadata({
const { title, description } = category;
return constructMetadata({
- title: `${title} | Dub Help Center`,
+ title: `${title} – Dub Help Center`,
description,
image: `/api/og/help?title=${encodeURIComponent(
title,
diff --git a/app/dub.sh/pricing/page.tsx b/app/dub.sh/pricing/page.tsx
index c6630fafbc..012efd5c6c 100644
--- a/app/dub.sh/pricing/page.tsx
+++ b/app/dub.sh/pricing/page.tsx
@@ -4,7 +4,7 @@ import Pricing from "#/ui/home/pricing";
import { constructMetadata } from "#/lib/utils";
export const metadata = constructMetadata({
- title: "Pricing - Dub",
+ title: "Pricing – Dub",
});
export default function PricingPage() {
diff --git a/app/dub.sh/privacy/page.tsx b/app/dub.sh/privacy/page.tsx
index f3fc34e6a9..9a8f24c118 100644
--- a/app/dub.sh/privacy/page.tsx
+++ b/app/dub.sh/privacy/page.tsx
@@ -4,7 +4,7 @@ import LegalPage from "#/ui/content/legal";
import { allLegalPosts } from "contentlayer/generated";
export const metadata: Metadata = constructMetadata({
- title: "Privacy Policy - Dub",
+ title: "Privacy Policy – Dub",
});
export default function Privacy() {
diff --git a/app/dub.sh/stats/[key]/page.tsx b/app/dub.sh/stats/[key]/page.tsx
index ce893d241b..be1ade2f6a 100644
--- a/app/dub.sh/stats/[key]/page.tsx
+++ b/app/dub.sh/stats/[key]/page.tsx
@@ -29,7 +29,7 @@ export async function generateMetadata({
}
return constructMetadata({
- title: `Stats for dub.sh/${params.key} - Dub`,
+ title: `Stats for dub.sh/${params.key} – Dub`,
description: `Dub is an open-source link management tool for modern marketing teams to create, share, and track short links.`,
image: `https://dub.sh/api/og/stats?domain=dub.sh&key=${params.key}`,
});
diff --git a/app/dub.sh/terms/page.tsx b/app/dub.sh/terms/page.tsx
index 1456c60ef5..b2a7228dc0 100644
--- a/app/dub.sh/terms/page.tsx
+++ b/app/dub.sh/terms/page.tsx
@@ -4,7 +4,7 @@ import LegalPage from "#/ui/content/legal";
import { allLegalPosts } from "contentlayer/generated";
export const metadata: Metadata = constructMetadata({
- title: "Terms of Service - Dub",
+ title: "Terms of Service – Dub",
});
export default function Terms() {