diff --git a/src/components/GenerateRoadmap/GenerateRoadmap.tsx b/src/components/GenerateRoadmap/GenerateRoadmap.tsx index 7d92323d6..b9c1c0be3 100644 --- a/src/components/GenerateRoadmap/GenerateRoadmap.tsx +++ b/src/components/GenerateRoadmap/GenerateRoadmap.tsx @@ -38,6 +38,7 @@ import { OpenAISettings } from './OpenAISettings.tsx'; import { IS_KEY_ONLY_ROADMAP_GENERATION } from '../../lib/ai.ts'; import { AITermSuggestionInput } from './AITermSuggestionInput.tsx'; import { useParams } from '../../hooks/use-params.ts'; +import { AuthenticationForm } from '../AuthenticationFlow/AuthenticationForm.tsx'; export type GetAIRoadmapLimitResponse = { used: number; @@ -642,11 +643,48 @@ export function GenerateRoadmap() { )}
+ className={cn({ + 'relative mb-20 max-h-[800px] min-h-[800px] sm:max-h-[1000px] md:min-h-[1000px] lg:max-h-[1200px] lg:min-h-[1200px] overflow-hidden': + !isAuthenticatedUser, + })} + > + + {!isAuthenticatedUser && ( ++ You must be logged in to view the complete roadmap +
+