mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-09-25 08:35:42 +02:00
Add AI mentor to roadmap
This commit is contained in:
@@ -135,6 +135,16 @@ const hasProjects = projectCount > 0;
|
|||||||
isActive={activeTab === 'roadmap'}
|
isActive={activeTab === 'roadmap'}
|
||||||
text='Roadmap'
|
text='Roadmap'
|
||||||
/>
|
/>
|
||||||
|
{hasAIChat && (
|
||||||
|
<TabLink
|
||||||
|
url={`/${roadmapId}/ai`}
|
||||||
|
icon={Bot}
|
||||||
|
text='AI Mentor'
|
||||||
|
mobileText='AI'
|
||||||
|
isActive={false}
|
||||||
|
badgeText='New'
|
||||||
|
/>
|
||||||
|
)}
|
||||||
{hasProjects && (
|
{hasProjects && (
|
||||||
<TabLink
|
<TabLink
|
||||||
url={`/${roadmapId}/projects`}
|
url={`/${roadmapId}/projects`}
|
||||||
@@ -153,16 +163,6 @@ const hasProjects = projectCount > 0;
|
|||||||
className='hidden md:flex'
|
className='hidden md:flex'
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
{hasAIChat && (
|
|
||||||
<TabLink
|
|
||||||
url={`/${roadmapId}/ai`}
|
|
||||||
icon={Bot}
|
|
||||||
text='Chat with AI'
|
|
||||||
mobileText='AI'
|
|
||||||
isActive={false}
|
|
||||||
badgeText='New'
|
|
||||||
/>
|
|
||||||
)}
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<TabLink
|
<TabLink
|
||||||
|
@@ -18,7 +18,7 @@ const roadmapBriefTitle = roadmapDetail.frontmatter.briefTitle;
|
|||||||
---
|
---
|
||||||
|
|
||||||
<SkeletonLayout
|
<SkeletonLayout
|
||||||
title={`${roadmapBriefTitle} AI Tutor`}
|
title={`${roadmapBriefTitle} AI Mentor`}
|
||||||
description=`Learn anything ${roadmapBriefTitle} with AI Tutor. Pick a topic, choose a difficulty level and the AI will guide you through the learning process.`
|
description=`Learn anything ${roadmapBriefTitle} with AI Tutor. Pick a topic, choose a difficulty level and the AI will guide you through the learning process.`
|
||||||
canonicalUrl={canonicalUrl}
|
canonicalUrl={canonicalUrl}
|
||||||
>
|
>
|
||||||
|
Reference in New Issue
Block a user