mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-08-22 08:53:01 +02:00
fix: ai course generate url (#9023)
This commit is contained in:
@@ -197,7 +197,7 @@ export function TopicDetailAI(props: TopicDetailAIProps) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
href={`/ai/course?term=${subject}&difficulty=beginner&src=topic`}
|
href={`/ai/course/search?term=${subject}&difficulty=beginner&src=topic`}
|
||||||
className="flex items-center gap-1 rounded-md border border-gray-300 bg-gray-100 px-2 py-1 hover:bg-gray-200 hover:text-black"
|
className="flex items-center gap-1 rounded-md border border-gray-300 bg-gray-100 px-2 py-1 hover:bg-gray-200 hover:text-black"
|
||||||
>
|
>
|
||||||
{subject}
|
{subject}
|
||||||
@@ -208,7 +208,7 @@ export function TopicDetailAI(props: TopicDetailAIProps) {
|
|||||||
{roadmapTreeMapping?.subjects?.length === 0 && (
|
{roadmapTreeMapping?.subjects?.length === 0 && (
|
||||||
<a
|
<a
|
||||||
target="_blank"
|
target="_blank"
|
||||||
href={`/ai/course?term=${roadmapTreeMapping?.text}&difficulty=beginner&src=topic`}
|
href={`/ai/course/search?term=${roadmapTreeMapping?.text}&difficulty=beginner&src=topic`}
|
||||||
className="flex items-center gap-1 rounded-md border border-gray-300 bg-gray-100 px-2 py-1 hover:bg-gray-200 hover:text-black [&>svg:last-child]:hidden"
|
className="flex items-center gap-1 rounded-md border border-gray-300 bg-gray-100 px-2 py-1 hover:bg-gray-200 hover:text-black [&>svg:last-child]:hidden"
|
||||||
>
|
>
|
||||||
{nodeTextParts.slice(-2).map((text, index) => {
|
{nodeTextParts.slice(-2).map((text, index) => {
|
||||||
|
Reference in New Issue
Block a user