diff --git a/src/components/GenerateRoadmap/GenerateRoadmap.tsx b/src/components/GenerateRoadmap/GenerateRoadmap.tsx index 5e492dc7e..621150ace 100644 --- a/src/components/GenerateRoadmap/GenerateRoadmap.tsx +++ b/src/components/GenerateRoadmap/GenerateRoadmap.tsx @@ -113,7 +113,9 @@ export function GenerateRoadmap() { const [roadmapTopicLimitUsed, setRoadmapTopicLimitUsed] = useState(0); const [isConfiguring, setIsConfiguring] = useState(false); - const [openAPIKey, setOpenAPIKey] = useState(getOpenAIKey()); + const [openAPIKey, setOpenAPIKey] = useState( + getOpenAIKey(), + ); const isKeyOnly = IS_KEY_ONLY_ROADMAP_GENERATION; const isAuthenticatedUser = isLoggedIn(); @@ -658,7 +660,7 @@ export function GenerateRoadmap() {
@@ -666,18 +668,18 @@ export function GenerateRoadmap() { ref={roadmapContainerRef} id="roadmap-container" onClick={handleNodeClick} - className="relative px-4 py-5 [&>svg]:mx-auto [&>svg]:max-w-[1300px]" + className="relative min-h-[400px] px-4 py-5 [&>svg]:mx-auto [&>svg]:max-w-[1300px]" /> {!isAuthenticatedUser && (
-
+
-

+

Sign up to View the full roadmap

-

+

You must be logged in to view the complete roadmap

diff --git a/src/components/GenerateRoadmap/RoadmapSearch.tsx b/src/components/GenerateRoadmap/RoadmapSearch.tsx index 67ddc4884..5043b7d4d 100644 --- a/src/components/GenerateRoadmap/RoadmapSearch.tsx +++ b/src/components/GenerateRoadmap/RoadmapSearch.tsx @@ -45,7 +45,7 @@ export function RoadmapSearch(props: RoadmapSearchProps) { const randomTerms = ['OAuth', 'APIs', 'UX Design', 'gRPC']; return ( -
+
{isConfiguring && ( { @@ -55,7 +55,7 @@ export function RoadmapSearch(props: RoadmapSearchProps) { }} /> )} -
+

Generate roadmaps with AI AI Roadmap Generator diff --git a/src/pages/ai/index.astro b/src/pages/ai/index.astro index 149e2064a..78e003282 100644 --- a/src/pages/ai/index.astro +++ b/src/pages/ai/index.astro @@ -1,10 +1,8 @@ --- -import LoginPopup from '../../components/AuthenticationFlow/LoginPopup.astro'; import { GenerateRoadmap } from '../../components/GenerateRoadmap/GenerateRoadmap'; -import AccountLayout from '../../layouts/AccountLayout.astro'; +import BaseLayout from '../../layouts/BaseLayout.astro'; --- - + - - +