1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-10-01 03:16:51 +02:00

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,6 +1,6 @@
import Link from 'next/link';
import { Author, AuthorImage, AuthorName, BlockLink, BlockMeta, BlockSubtitle, BlockTitle, PublishDate } from './style';
import { findByUsername } from '../../lib/author';
import { findByUsername } from 'lib/author';
const GuideBlock = ({ guide }) => {
const author = findByUsername(guide.author) || {};
@@ -23,4 +23,4 @@ const GuideBlock = ({ guide }) => {
)
};
export default GuideBlock;
export default GuideBlock;