diff --git a/src/components/FeaturedGuides.astro b/src/components/FeaturedGuides.astro index a9c5ec032..704850adf 100644 --- a/src/components/FeaturedGuides.astro +++ b/src/components/FeaturedGuides.astro @@ -11,7 +11,7 @@ const { heading, guides } = Astro.props; ---
-

{heading}

+

{heading}

{guides.map((guide) => )} diff --git a/src/components/FeaturedVideos.astro b/src/components/FeaturedVideos.astro index 267e9b217..dbd70b792 100644 --- a/src/components/FeaturedVideos.astro +++ b/src/components/FeaturedVideos.astro @@ -11,7 +11,7 @@ const { heading, videos } = Astro.props; ---
-

{heading}

+

{heading}

{videos.map((video) => )} diff --git a/src/components/GenerateRoadmap/AITermSuggestionInput.tsx b/src/components/GenerateRoadmap/AITermSuggestionInput.tsx index f6670e264..1d183534a 100644 --- a/src/components/GenerateRoadmap/AITermSuggestionInput.tsx +++ b/src/components/GenerateRoadmap/AITermSuggestionInput.tsx @@ -69,6 +69,10 @@ export function AITermSuggestionInput(props: AITermSuggestionInputProps) { return []; } + if (trimmedValue.length < 3) { + return []; + } + if (termCache.has(trimmedValue)) { const cachedData = termCache.get(trimmedValue); return cachedData || []; diff --git a/src/components/Navigation/AccountDropdownList.tsx b/src/components/Navigation/AccountDropdownList.tsx index fcace5119..d0d9b55ce 100644 --- a/src/components/Navigation/AccountDropdownList.tsx +++ b/src/components/Navigation/AccountDropdownList.tsx @@ -1,4 +1,12 @@ -import { ChevronRight, LogOut, Map, Plus, User2, Users2 } from 'lucide-react'; +import { + ChevronRight, + LogOut, + Map, + Plus, + SquareUserRound, + User2, + Users2, +} from 'lucide-react'; import { logout } from './navigation'; import { CreateRoadmapModal } from '../CustomRoadmap/CreateRoadmap/CreateRoadmapModal.tsx'; import { useState } from 'react'; @@ -23,6 +31,20 @@ export function AccountDropdownList(props: AccountDropdownListProps) { Account +
  • + + + + My Profile + + + New + + +
  • ) } - - -