From abae4d33612e1c7a7f47284570abb5e18e954cc9 Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Tue, 27 May 2025 21:08:59 +0100 Subject: [PATCH] Hide roadmap courses tab on mobile --- .astro/types.d.ts | 1 + src/components/RoadmapHeader.astro | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.astro/types.d.ts b/.astro/types.d.ts index f964fe0cf..03d7cc43f 100644 --- a/.astro/types.d.ts +++ b/.astro/types.d.ts @@ -1 +1,2 @@ /// +/// \ No newline at end of file diff --git a/src/components/RoadmapHeader.astro b/src/components/RoadmapHeader.astro index a4266e2da..39fff9fb9 100644 --- a/src/components/RoadmapHeader.astro +++ b/src/components/RoadmapHeader.astro @@ -150,7 +150,7 @@ const hasProjects = projectCount > 0; icon={BookOpenIcon} text='Courses' isActive={activeTab === 'courses'} - badgeText='New' + className='hidden md:flex' /> )} {hasAIChat && ( @@ -158,7 +158,7 @@ const hasProjects = projectCount > 0; url={`/${roadmapId}/ai`} icon={Bot} text='Chat with AI' - mobileText="AI" + mobileText='AI' isActive={false} badgeText='New' />