From b9a29bda0714a4fa7b76ceda483c35a2f4c56b10 Mon Sep 17 00:00:00 2001 From: Arik Chakma Date: Sat, 11 Jan 2025 01:16:04 +0600 Subject: [PATCH] feat: add subscribe to changelog --- src/components/ChangelogBanner.astro | 24 +++++++++++++++--------- src/components/SubscribeToChangelog.tsx | 15 +++++++++++++++ 2 files changed, 30 insertions(+), 9 deletions(-) create mode 100644 src/components/SubscribeToChangelog.tsx diff --git a/src/components/ChangelogBanner.astro b/src/components/ChangelogBanner.astro index c6a8d25a8..c1d563ac9 100644 --- a/src/components/ChangelogBanner.astro +++ b/src/components/ChangelogBanner.astro @@ -1,6 +1,7 @@ --- import { getAllChangelogs } from '../lib/changelog'; import { DateTime } from 'luxon'; +import { SubscribeToChangelog } from './SubscribeToChangelog'; const allChangelogs = await getAllChangelogs(); const top10Changelogs = allChangelogs.slice(0, 10); @@ -12,16 +13,18 @@ const top10Changelogs = allChangelogs.slice(0, 10); Actively Maintained

-

+

We are always improving our content, adding new resources and adding features to enhance your learning experience.

-
+
-
diff --git a/src/components/SubscribeToChangelog.tsx b/src/components/SubscribeToChangelog.tsx new file mode 100644 index 000000000..c010b76bc --- /dev/null +++ b/src/components/SubscribeToChangelog.tsx @@ -0,0 +1,15 @@ +import { showLoginPopup } from '../lib/popup'; + +export function SubscribeToChangelog() { + return ( + + ); +}