import {GetStaticProps} from 'next' import Head from 'next/head' import {Card} from '@/components/Card' import {SimpleLayout} from '@/components/layouts/SimpleLayout' import {SocialLink} from '@/components/SocialLink' import {StarIcon} from '@/components/icons/StarIcon' import {ForkIcon} from '@/components/icons/ForkIcon' import {getPinnedRepos} from '@/lib/github' import {numberFormat} from '@/lib/numberFormat' import type {Repo} from '@/types' export default function Projects({pinnedRepos}: { pinnedRepos: Repo[] }) { return ( <>
{repo.primaryLanguage.name}
{numberFormat(repo.stargazerCount)}
{numberFormat(repo.forkCount)}