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 help

Steven Teye7de8b0aabed
diff --cc app/dub.sh/changelog/[slug]/page.tsx
index 9df04dea78,7fe1e8617e..0330214d4f
--- a/app/dub.sh/changelog/[slug]/page.tsx
+++ b/app/dub.sh/changelog/[slug]/page.tsx
@@@ -1,12 -1,12 +1,12 @@@
import type { Metadata } from "next";
import { notFound } from "next/navigation";
import { allChangelogPosts } from "contentlayer/generated";
-import { MDX } from "#/ui/blog/mdx";
+import { MDX } from "#/ui/content/mdx";
import Link from "next/link";
- import { formatDate } from "#/lib/utils";
+ import { constructMetadata, formatDate } from "#/lib/utils";
import { getBlurDataURL } from "#/lib/images";
import BlurImage from "#/ui/blur-image";
-import Author from "#/ui/blog/author";
+import Author from "#/ui/content/author";
import { Facebook, LinkedIn, Twitter } from "@/components/shared/icons";
export async function generateStaticParams() {
@@@ -101,10 -78,10 +78,10 @@@ export default async function Changelog
src={post.image}
alt={post.title}
width={1200}
- height={900}
+ height={630}
priority // since it's above the fold
placeholder="blur"
- blurDataURL={await getBlurDataURL(post.image!)}
+ blurDataURL={await getBlurDataURL(post.image)}
className="border border-gray-100 md:rounded-2xl"
/>
<div className="mx-5 mb-10 flex items-center justify-between md:mx-0">