From 43f351a94395584e475fdb00d045b5480424a4b4 Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Tue, 13 Jun 2023 03:16:18 +0100 Subject: [PATCH 01/14] Add progress loading on homepage roadmaps --- .../FeaturedItems/FeaturedItem.astro | 4 +- src/components/Navigation/Navigation.astro | 20 ++++--- src/layouts/BaseLayout.astro | 2 +- src/lib/home-progress.ts | 57 +++++++++++++++++++ src/pages/404.astro | 2 +- src/pages/index.astro | 27 ++++++--- 6 files changed, 91 insertions(+), 21 deletions(-) create mode 100644 src/lib/home-progress.ts diff --git a/src/components/FeaturedItems/FeaturedItem.astro b/src/components/FeaturedItems/FeaturedItem.astro index e4afd2332..d238ebacc 100644 --- a/src/components/FeaturedItems/FeaturedItem.astro +++ b/src/components/FeaturedItems/FeaturedItem.astro @@ -13,14 +13,14 @@ const { isUpcoming = false, isNew = false, text, url } = Astro.props; - + {text} diff --git a/src/components/Navigation/Navigation.astro b/src/components/Navigation/Navigation.astro index 845c8ad1c..a87b1d361 100644 --- a/src/components/Navigation/Navigation.astro +++ b/src/components/Navigation/Navigation.astro @@ -5,7 +5,11 @@ import AccountDropdown from './AccountDropdown.astro';