diff --git a/src/components/Blog.js b/src/components/Blog.js index 5ee0376..4194fd9 100644 --- a/src/components/Blog.js +++ b/src/components/Blog.js @@ -39,7 +39,7 @@ const Blog = () => { const renderSkeleton = () => { let array = []; - for (let index = 0; index < 2; index++) { + for (let index = 0; index < config.blog.limit; index++) { array.push((
@@ -81,8 +81,14 @@ const Blog = () => { } const renderArticles = () => { - return articles && articles.slice(0, 5).map((article, index) => ( - + return articles && articles.slice(0, config.blog.limit).map((article, index) => ( +
{ + window.open(article.link, '_blank') + }} + >
)) } diff --git a/src/components/Details.js b/src/components/Details.js index 73086a9..0c78fc0 100644 --- a/src/components/Details.js +++ b/src/components/Details.js @@ -59,12 +59,12 @@ const Details = () => { - {config.githubUsername} + {config.github.username}