1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-09-02 13:52:46 +02:00

Hide roadmap courses tab on mobile

This commit is contained in:
Kamran Ahmed
2025-05-27 21:08:59 +01:00
parent 62f31a4964
commit abae4d3361
2 changed files with 3 additions and 2 deletions

1
.astro/types.d.ts vendored
View File

@@ -1 +1,2 @@
/// <reference types="astro/client" /> /// <reference types="astro/client" />
/// <reference path="content.d.ts" />

View File

@@ -150,7 +150,7 @@ const hasProjects = projectCount > 0;
icon={BookOpenIcon} icon={BookOpenIcon}
text='Courses' text='Courses'
isActive={activeTab === 'courses'} isActive={activeTab === 'courses'}
badgeText='New' className='hidden md:flex'
/> />
)} )}
{hasAIChat && ( {hasAIChat && (
@@ -158,7 +158,7 @@ const hasProjects = projectCount > 0;
url={`/${roadmapId}/ai`} url={`/${roadmapId}/ai`}
icon={Bot} icon={Bot}
text='Chat with AI' text='Chat with AI'
mobileText="AI" mobileText='AI'
isActive={false} isActive={false}
badgeText='New' badgeText='New'
/> />