mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-08-24 18:03:06 +02:00
Add github URL in redirect
This commit is contained in:
@@ -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'
|
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'
|
||||||
>
|
>
|
||||||
<OpenSourceStat text='GitHub Stars' value={starCount} />
|
<OpenSourceStat text='GitHub Stars' value={starCount} />
|
||||||
<OpenSourceStat text='Registered Users' value={'850k'} />
|
<OpenSourceStat text='Registered Users' value={'+1M'} />
|
||||||
<OpenSourceStat
|
<OpenSourceStat
|
||||||
text='Discord Members'
|
text='Discord Members'
|
||||||
value={discordInfo.totalFormatted}
|
value={discordInfo.totalFormatted}
|
||||||
|
@@ -28,7 +28,7 @@ const isDiscordMembers = text.toLowerCase() === 'discord members';
|
|||||||
{
|
{
|
||||||
isRegistered && (
|
isRegistered && (
|
||||||
<p class='flex items-center text-sm text-blue-500 sm:flex'>
|
<p class='flex items-center text-sm text-blue-500 sm:flex'>
|
||||||
<span class='mr-1.5 rounded-md bg-blue-500 px-1 text-white'>+55k</span>
|
<span class='mr-1.5 rounded-md bg-blue-500 px-1 text-white'>+75k</span>
|
||||||
every month
|
every month
|
||||||
</p>
|
</p>
|
||||||
)
|
)
|
||||||
@@ -44,7 +44,7 @@ const isDiscordMembers = text.toLowerCase() === 'discord members';
|
|||||||
}
|
}
|
||||||
<div class="flex flex-row items-center sm:flex-col my-1 sm:my-0">
|
<div class="flex flex-row items-center sm:flex-col my-1 sm:my-0">
|
||||||
<p
|
<p
|
||||||
class='relative my-0 sm:my-4 mr-1 sm:mr-0 text-base font-bold lowercase sm:w-auto sm:text-5xl'
|
class='relative my-0 sm:my-4 mr-1 sm:mr-0 text-base font-bold sm:w-auto sm:text-5xl'
|
||||||
>
|
>
|
||||||
{value}
|
{value}
|
||||||
</p>
|
</p>
|
||||||
|
6
src/pages/github.astro
Normal file
6
src/pages/github.astro
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
export const prerender = false;
|
||||||
|
const githubLink = 'https://github.com/kamranahmedse/developer-roadmap';
|
||||||
|
|
||||||
|
return Astro.redirect(githubLink);
|
||||||
|
---
|
Reference in New Issue
Block a user