From 12da4018a68537cbfc4f785fff16b77a023ba2fe Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Sun, 10 Mar 2024 12:32:31 +0000 Subject: [PATCH] Add alert on generate roadmap --- .../GenerateRoadmap/GenerateRoadmap.tsx | 65 +++++++++++++++---- 1 file changed, 54 insertions(+), 11 deletions(-) diff --git a/src/components/GenerateRoadmap/GenerateRoadmap.tsx b/src/components/GenerateRoadmap/GenerateRoadmap.tsx index 83fe9ee68..681a373d0 100644 --- a/src/components/GenerateRoadmap/GenerateRoadmap.tsx +++ b/src/components/GenerateRoadmap/GenerateRoadmap.tsx @@ -15,7 +15,16 @@ import { readAIRoadmapStream } from '../../helper/read-stream'; import { isLoggedIn, removeAuthToken, visitAIRoadmap } from '../../lib/jwt'; import { RoadmapSearch } from './RoadmapSearch.tsx'; import { Spinner } from '../ReactIcons/Spinner.tsx'; -import {Ban, Download, PenSquare, Save, Wand} from 'lucide-react'; +import { + BadgeCheck, + Ban, + Download, + PencilRuler, + PenSquare, + Save, + Telescope, + Wand, +} from 'lucide-react'; import { ShareRoadmapButton } from '../ShareRoadmapButton.tsx'; import { httpGet, httpPost } from '../../lib/http.ts'; import { pageProgressMessage } from '../../stores/page.ts'; @@ -372,11 +381,38 @@ export function GenerateRoadmap() { )} {!isLoading && ( -
-

- AI Roadmap Generator -

-
+
+
+

+ AI Generated Roadmap{' '} + + Beta + +

+

+ This is an AI generated roadmap and is not verified by{' '} + roadmap.sh. We are + currently in beta and working hard to improve the quality of + the generated roadmaps. +

+

+ + + Explore other AI Roadmaps + + + + Visit Official Roadmaps + +

+
+
{!isLoggedIn() && ( )}
@@ -451,6 +491,7 @@ export function GenerateRoadmap() { onClick={downloadGeneratedRoadmapContent} > + Download {roadmapId && ( - Track your Progress on this Roadmap - Track Progress + + Save and Start Learning + + Start Learning