Skip to content

Commit

Permalink
add changelog post
Browse files Browse the repository at this point in the history
  • Loading branch information
steven-tey committed Oct 3, 2024
1 parent 018937c commit d54966c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
6 changes: 3 additions & 3 deletions apps/web/app/app.dub.co/(dashboard)/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import ChangelogPopup from "@/ui/layout/changelog-popup";
import { MainNav } from "@/ui/layout/main-nav";
import NavTabs from "@/ui/layout/nav-tabs";
import Toolbar from "@/ui/layout/toolbar/toolbar";
import UserSurveyPopup from "@/ui/layout/user-survey";
import { MaxWidthWrapper } from "@dub/ui";
import { constructMetadata } from "@dub/utils";
import { ReactNode, Suspense } from "react";
Expand All @@ -24,8 +24,8 @@ export default function Layout({ children }: { children: ReactNode }) {
</div>
{children}
</div>
<UserSurveyPopup />
{/* <ChangelogPopup /> */}
{/* <UserSurveyPopup /> */}
<ChangelogPopup />
<Toolbar />
</Providers>
);
Expand Down
11 changes: 5 additions & 6 deletions apps/web/ui/layout/changelog-popup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,12 @@ import { X } from "lucide-react";
import Link from "next/link";
import { useContext } from "react";

const CHANGELOG_URL = "https://dub.link/free";
const CHANGELOG_IMAGE_URL =
"https://assets.dub.co/blog/introducing-free-domains.jpg";
const CHANGELOG_TITLE = "Introducing 1-year Free .Link Domains";
const CHANGELOG_URL = "https://dub.link/builder";
const CHANGELOG_IMAGE_URL = "https://assets.dub.co/blog/new-link-builder.jpg";
const CHANGELOG_TITLE = "Introducing the new Dub Link Builder";
const CHANGELOG_DESCRIPTION =
"Today, we're excited to launch 1-year complimentary .link domains on all paid plans + a new premium domain: dub.link.";
const CHANGELOG_ID = "hideChangelogPopup09172024";
"Today, we're launching our new Link Builder to help you manage your links better.";
const CHANGELOG_ID = "hideChangelogPopup10032024";

export default function ChangelogPopup() {
return (
Expand Down

0 comments on commit d54966c

Please sign in to comment.