diff --git a/src/components/GenerateRoadmap/RoadmapSearch.tsx b/src/components/GenerateRoadmap/RoadmapSearch.tsx index 0473d5fe2..5c84d1034 100644 --- a/src/components/GenerateRoadmap/RoadmapSearch.tsx +++ b/src/components/GenerateRoadmap/RoadmapSearch.tsx @@ -1,4 +1,4 @@ -import { Ban, Wand } from 'lucide-react'; +import { Ban, CircleFadingPlus, Wand } from 'lucide-react'; import type { FormEvent } from 'react'; import { isLoggedIn } from '../../lib/jwt'; import { showLoginPopup } from '../../lib/popup'; @@ -52,7 +52,7 @@ export function RoadmapSearch(props: RoadmapSearchProps) { setRoadmapTopic((e.target as HTMLInputElement).value)} @@ -85,13 +85,12 @@ export function RoadmapSearch(props: RoadmapSearchProps) { )} -
+

- Generated - You have generated + You have generated{' '} {' '} roadmaps. - {!isLoggedIn && ( - <> - {' '} - - +

+

+ {limit > 0 && !isLoggedIn() && ( + )}