From 82359f89a00dc375f9f8778dcdfef4d4a393b637 Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Mon, 23 Sep 2024 19:10:21 +0100 Subject: [PATCH] Update account streak UI and changelog banner design --- .../AccountStreak/AccountStreak.tsx | 6 +++--- src/components/ChangelogBanner.astro | 21 +++++++++---------- 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/src/components/AccountStreak/AccountStreak.tsx b/src/components/AccountStreak/AccountStreak.tsx index 60f602d99..750d966c4 100644 --- a/src/components/AccountStreak/AccountStreak.tsx +++ b/src/components/AccountStreak/AccountStreak.tsx @@ -111,7 +111,7 @@ export function AccountStreak(props: AccountStreakProps) { ref={dropdownRef} className="absolute right-0 top-full z-50 w-[335px] translate-y-1 rounded-lg bg-slate-800 shadow-xl" > -
+

Current Streak @@ -127,7 +127,7 @@ export function AccountStreak(props: AccountStreakProps) {

-
+
{Array.from({ length: totalCircles }).map((_, index) => { let dayCount, @@ -181,7 +181,7 @@ export function AccountStreak(props: AccountStreakProps) {
-

+

Visit every day to keep your streak going!

diff --git a/src/components/ChangelogBanner.astro b/src/components/ChangelogBanner.astro index e1ea7cf46..af2cd1b64 100644 --- a/src/components/ChangelogBanner.astro +++ b/src/components/ChangelogBanner.astro @@ -6,23 +6,22 @@ const allChangelogs = await getAllChangelogs(); const top10Changelogs = allChangelogs.slice(0, 10); --- -

+

Rocket Actively Maintained

-

+

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

- -
+
-