From a62ed919c133f27992d434ad0324849e399036f6 Mon Sep 17 00:00:00 2001
From: Kamran Ahmed
Date: Fri, 28 Jun 2024 12:36:29 +0100
Subject: [PATCH] Add github URL in redirect
---
src/components/OpenSourceBanner.astro | 2 +-
src/components/OpenSourceStat.astro | 4 ++--
src/pages/github.astro | 6 ++++++
3 files changed, 9 insertions(+), 3 deletions(-)
create mode 100644 src/pages/github.astro
diff --git a/src/components/OpenSourceBanner.astro b/src/components/OpenSourceBanner.astro
index 5eaf71da9..b04427c88 100644
--- a/src/components/OpenSourceBanner.astro
+++ b/src/components/OpenSourceBanner.astro
@@ -24,7 +24,7 @@ const discordInfo = await getDiscordInfo();
class='mt-5 grid grid-cols-1 justify-between gap-2 divide-x-0 sm:my-11 sm:grid-cols-3 sm:gap-0 sm:divide-x mb-4 sm:mb-0'
>
-
+
- +55k
+ +75k
every month
)
@@ -44,7 +44,7 @@ const isDiscordMembers = text.toLowerCase() === 'discord members';
}
{value}
diff --git a/src/pages/github.astro b/src/pages/github.astro
new file mode 100644
index 000000000..fd302604f
--- /dev/null
+++ b/src/pages/github.astro
@@ -0,0 +1,6 @@
+---
+export const prerender = false;
+const githubLink = 'https://github.com/kamranahmedse/developer-roadmap';
+
+return Astro.redirect(githubLink);
+---