computer-scienceangular-roadmapbackend-roadmapblockchain-roadmapdba-roadmapdeveloper-roadmapdevops-roadmapfrontend-roadmapgo-roadmaphactoberfestjava-roadmapjavascript-roadmapnodejs-roadmappython-roadmapqa-roadmapreact-roadmaproadmapstudy-planvue-roadmapweb3-roadmap
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
850 B
25 lines
850 B
import Link from 'next/link'; |
|
import { FeaturedContentWrap } from './style'; |
|
import FeaturedGuide from 'components/featured-guide'; |
|
import { getFeaturedGuides } from 'lib/guide'; |
|
|
|
const FeaturedGuides = () => ( |
|
<FeaturedContentWrap className="featured-content-wrap"> |
|
<div className="container"> |
|
<p className='border-through featured-separator'> |
|
<span> |
|
Guides mostly visited by the community |
|
<Link href="/guides"><a className="dark-link d-none d-sm-none d-md-inline d-xl-inline">View all Guides →</a></Link> |
|
</span> |
|
</p> |
|
<div className="swim-lane row"> |
|
{ getFeaturedGuides() |
|
.map(guide => ( |
|
<FeaturedGuide guide={ guide } key={ guide.url } /> |
|
)) } |
|
</div> |
|
</div> |
|
</FeaturedContentWrap> |
|
); |
|
|
|
export default FeaturedGuides;
|
|
|