import {GetStaticProps} from 'next' import Head from 'next/head' import {Card} from '@/components/ui/Card' import {SimpleLayout} from '@/components/layouts/SimpleLayout' import {SparklesIcon} from '@/components/icons/SparklesIcon' import {ShareIcon} from '@/components/icons/ShareIcon' 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)}