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.

changed title

Steven Teyb79343d3c3ca
diff --git a/app/ui/home/hero.tsx b/app/ui/home/hero.tsx
index 2051d776ff..4830fbc361 100644
--- a/app/ui/home/hero.tsx
+++ b/app/ui/home/hero.tsx
@@ -1,24 +1,22 @@
-import { allChangelogPosts } from "contentlayer/generated";
+import { allBlogPosts, allChangelogPosts } from "contentlayer/generated";
import { Github } from "@/components/shared/icons";
import Link from "next/link";
import { ExpandingArrow } from "../icons";
import { APP_DOMAIN } from "#/lib/constants";
const Hero = () => {
- const latestChangelog = allChangelogPosts.sort(
+ const latestPost = allBlogPosts.sort(
(a, b) => Number(new Date(b.publishedAt)) - Number(new Date(a.publishedAt)),
)[0];
return (
<div className="mx-auto mb-10 mt-12 max-w-md px-2.5 text-center sm:max-w-lg sm:px-0">
<Link
- // href={`/changelog/${latestChangelog.slug}`}
- href="/blog/help-center"
+ href={`/${latestPost._raw.sourceFileDir}/${latestPost.slug}`}
className="group mx-auto flex max-w-fit items-center justify-center space-x-2 overflow-hidden rounded-full border border-gray-200 bg-white px-7 py-2 shadow-[inset_10px_-50px_94px_0_rgb(199,199,199,0.1)] backdrop-blur transition-all hover:border-gray-300 hover:bg-white/50"
>
<p className="text-sm font-semibold text-gray-700">
- {/* {latestChangelog.title} */}
- Introducing the Dub Help Center
+ {latestPost.title}
</p>
<ExpandingArrow className="-ml-1 h-3.5 w-3.5" />
</Link>
diff --git a/content/blog/migration-assistants.mdx b/content/blog/migration-assistants.mdx
index 8cd1f896a5..1876097cbc 100644
--- a/content/blog/migration-assistants.mdx
+++ b/content/blog/migration-assistants.mdx
@@ -11,7 +11,7 @@ related:
- introducing-dub
---
-Today, we're excited to announce that we've added migration assistants for Bitly and Short.io to help you migrate your links to Dub in a few clicks.
+Today, we're excited to launch migration assistants for Bitly and Short.io to help you migrate your links to Dub in a few clicks.
## What is Dub?