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 Found a typo CTA

Steven Teycfe41b0b6f94
diff --git a/app/(marketing)/changelog/[slug]/page.tsx b/app/(marketing)/changelog/[slug]/page.tsx
index 3485ec9040..8145417db2 100644
--- a/app/(marketing)/changelog/[slug]/page.tsx
+++ b/app/(marketing)/changelog/[slug]/page.tsx
@@ -8,6 +8,7 @@ import { getBlurDataURL, getImages } from "@/lib/images";
import BlurImage from "@/components/shared/blur-image";
import Author from "app/(marketing)/components/author";
import { Facebook, LinkedIn, Twitter } from "@/components/shared/icons";
+import { Edit3 } from "lucide-react";
export async function generateStaticParams() {
return allChangelogPosts.map((post) => ({
@@ -139,6 +140,16 @@ export default async function ChangelogPost({
</div>
</div>
<MDX code={post.body.code} />
+ <div className="mt-10 flex justify-end border-t border-gray-200 pt-5">
+ <Link
+ href={`https://github.com/steven-tey/dub/blob/main/posts/changelog/${params.slug}.mdx`}
+ target="_blank"
+ rel="noopener noreferrer"
+ className="text-sm text-gray-500 transition-colors hover:text-gray-800"
+ >
+ <p>Found a typo? Edit this page →</p>
+ </Link>
+ </div>
</div>
</div>
);
diff --git a/posts/changelog/keyboard-shortcuts.mdx b/posts/changelog/keyboard-shortcuts.mdx
index 518afabe77..6e06229351 100644
--- a/posts/changelog/keyboard-shortcuts.mdx
+++ b/posts/changelog/keyboard-shortcuts.mdx
@@ -6,7 +6,7 @@ image: "https://d2vwwcvoksz7ty.cloudfront.net/changelog/keyboard-shortcuts.png"
author: "steventey"
---
-Introducing keyboard shortcuts on Dub.
+Introducing keyboard shortcuts on Dub. With shortcuts, you'll be able to speed up your workflow and navigate around Dub faster.
Here's a list of all the shortcuts to get you started:
@@ -19,4 +19,6 @@ Here's a list of all the shortcuts to get you started:
| `a` | Archive the selected short link | Yes |
| `x` | Delete the selected short link | Yes |
+Have any suggestions for new shortcuts? Let us know by creating a [new issue](https://github.com/steven-tey/dub/issues/new?title=Shortcut%20Request&labels=enhancement).
+
Shoutout to Flo for this [feature request](https://github.com/steven-tey/dub/issues/164)!