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.

add changelog popup

Steven Tey8732056b27a6
diff --git a/apps/web/app/app.dub.co/(dashboard)/layout.tsx b/apps/web/app/app.dub.co/(dashboard)/layout.tsx
index a7c2ccb571..7c85a04bb7 100644
--- a/apps/web/app/app.dub.co/(dashboard)/layout.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/layout.tsx
@@ -1,3 +1,4 @@
+import ChangelogPopup from "@/ui/layout/changelog-popup";
import HelpPortal from "@/ui/layout/help";
import { MainNav } from "@/ui/layout/main-nav";
import NavTabs from "@/ui/layout/nav-tabs";
@@ -24,7 +25,7 @@ export default function Layout({ children }: { children: ReactNode }) {
{children}
</div>
{/* <UserSurveyPopup /> */}
- {/* <ChangelogPopup /> */}
+ <ChangelogPopup />
<HelpPortal />
</Providers>
);
diff --git a/apps/web/ui/layout/changelog-popup.tsx b/apps/web/ui/layout/changelog-popup.tsx
index 8b784298a7..5bdede1229 100644
--- a/apps/web/ui/layout/changelog-popup.tsx
+++ b/apps/web/ui/layout/changelog-popup.tsx
@@ -6,12 +6,13 @@ import { X } from "lucide-react";
import Link from "next/link";
import { useContext } from "react";
-const CHANGELOG_URL = "https://dub.co/blog/announcing-dub-api";
-const CHANGELOG_IMAGE_URL = "https://assets.dub.co/blog/dub-api.jpg";
-const CHANGELOG_TITLE = "Announcing the Dub API GA";
+const CHANGELOG_URL = "https://dub.co/blog/new-links-dashboard";
+const CHANGELOG_IMAGE_URL =
+ "https://assets.dub.co/blog/new-links-dashboard.jpg";
+const CHANGELOG_TITLE = "Introducing the new Dub links dashboard";
const CHANGELOG_DESCRIPTION =
- "We're excited to announce that the Dub API is now generally available, with native SDKs in the languages you love.";
-const CHANGELOG_ID = "hideChangelogPopup07092024";
+ "Today, we're launching our new links dashboard – redesigned from the ground up – to help you better manage your links.";
+const CHANGELOG_ID = "hideChangelogPopup07252024";
export default function ChangelogPopup() {
return (
@@ -50,12 +51,12 @@ export function ChangelogPopupInner() {
<BlurImage
src={CHANGELOG_IMAGE_URL}
alt="Root Domain Links"
- className="aspect-video object-cover"
- width={1600}
- height={900}
+ className="aspect-[1200/630] object-cover"
+ width={1200}
+ height={630}
/>
</div>
- <div className="grid max-w-xs gap-1.5 p-4 text-center">
+ <div className="grid max-w-sm gap-1.5 p-4 text-center">
<p className="text-center font-semibold text-gray-800 underline-offset-4 group-hover:underline">
{CHANGELOG_TITLE}
</p>