* updating sublanding to guides page and using DropdownMenu primer component * fix linting error * remove unnecessary import * updating translation files * move data-testid * trying to fix test * fix browser tests * Update content/README.md Co-authored-by: Francis <15894826+francisfuzz@users.noreply.github.com> Co-authored-by: Francis <15894826+francisfuzz@users.noreply.github.com>
15 lines
460 B
TypeScript
15 lines
460 B
TypeScript
import { useProductGuidesContext } from 'components/context/ProductGuidesContext'
|
|
import { LearningTrack } from 'components/guides/LearningTrack'
|
|
|
|
export const LearningTracks = () => {
|
|
const { learningTracks } = useProductGuidesContext()
|
|
|
|
return (
|
|
<div className="d-flex flex-wrap flex-items-start my-5 gutter">
|
|
{(learningTracks || []).map((track) => {
|
|
return <LearningTrack key={track?.title} track={track} />
|
|
})}
|
|
</div>
|
|
)
|
|
}
|