Add module resolver and refactor guide loading

This commit is contained in:
Kamran Ahmed
2019-11-06 18:20:09 +04:00
parent a4338eb00c
commit 2cf22c1777
23 changed files with 116 additions and 79 deletions

View File

@@ -1,7 +1,7 @@
import Link from 'next/link';
import { FeaturedContentWrap } from './style';
import guides from '../../data/guides';
import GuideBlock from '../guide-block';
import guides from 'data/guides';
import GuideBlock from 'components/guide-block';
const FeaturedGuides = () => (
<FeaturedContentWrap className="featured-content-wrap">
@@ -23,4 +23,4 @@ const FeaturedGuides = () => (
</FeaturedContentWrap>
);
export default FeaturedGuides;
export default FeaturedGuides;