diff --git a/src/components/blog-card/index.tsx b/src/components/blog-card/index.tsx index 4c380df..e30dc9c 100644 --- a/src/components/blog-card/index.tsx +++ b/src/components/blog-card/index.tsx @@ -1,6 +1,6 @@ import { useEffect, useState } from 'react'; import LazyImage from '../lazy-image'; -import { AiOutlineContainer } from 'react-icons/ai'; +import { PiNewspaper } from 'react-icons/pi'; import { getDevPost, getMediumPost } from '@arifszn/blog-js'; import { formatDistance } from 'date-fns'; import { SanitizedBlog } from '../../interfaces/sanitized-config'; @@ -38,7 +38,7 @@ const BlogCard = ({ const array = []; for (let index = 0; index < blog.limit; index++) { array.push( -
No recent post
@@ -172,34 +172,38 @@ const BlogCard = ({ return (+ {loading + ? skeleton({ widthCls: 'w-32', heightCls: 'h-4' }) + : 'Recent posts'} +
+ {loading + ? skeleton({ widthCls: 'w-32', heightCls: 'h-4' }) + : `Showcasing ${externalProjects.length} external projects`} +
+ {loading + ? skeleton({ widthCls: 'w-32', heightCls: 'h-4' }) + : `Showcasing ${githubProjects.length} featured repositories`} +