diff --git a/src/components/GenerateRoadmap/RoadmapSearch.tsx b/src/components/GenerateRoadmap/RoadmapSearch.tsx index 60876ee4b..944c2fb67 100644 --- a/src/components/GenerateRoadmap/RoadmapSearch.tsx +++ b/src/components/GenerateRoadmap/RoadmapSearch.tsx @@ -1,4 +1,10 @@ -import { Ban, CircleFadingPlus, Telescope, Wand } from 'lucide-react'; +import { + ArrowUpRight, + Ban, + CircleFadingPlus, + Telescope, + Wand, +} from 'lucide-react'; import type { FormEvent } from 'react'; import { isLoggedIn } from '../../lib/jwt'; import { showLoginPopup } from '../../lib/popup'; @@ -23,6 +29,8 @@ export function RoadmapSearch(props: RoadmapSearchProps) { const canGenerateMore = limitUsed < limit; + const randomTopics = ['Linux', 'Prometheus', 'gRPC']; + return (
@@ -39,53 +47,72 @@ export function RoadmapSearch(props: RoadmapSearchProps) {

-
{ - if (limit > 0 && canGenerateMore) { - handleSubmit(e); - } else { - e.preventDefault(); - } - }} - className="my-3 flex w-full max-w-[600px] flex-col gap-2 sm:my-5 sm:flex-row" - > - setRoadmapTopic((e.target as HTMLInputElement).value)} - /> - -
-
+ {limit > 0 && !canGenerateMore && ( + + + Limit reached + + )} + + +
+ {randomTopics.map((topic) => ( + + ))} + + Explore AI Roadmaps + +
+
+

You have generated{' '}