import { Fragment } from 'react'; import { AiOutlineFork, AiOutlineStar, AiOutlineGithub } from 'react-icons/ai'; import { MdInsertLink } from 'react-icons/md'; import { ga, getLanguageColor, skeleton } from '../../utils'; import { GithubProject } from '../../interfaces/github-project'; const GithubProjectCard = ({ header, githubProjects, loading, limit, googleAnalyticsId, }: { header: string; githubProjects: GithubProject[]; loading: boolean; limit: number; googleAnalyticsId?: string; }) => { if (!loading && githubProjects.length === 0) { return; } const renderSkeleton = () => { const array = []; for (let index = 0; index < limit; index++) { array.push(
{item.description}