import Head from 'next/head' import {Card} from '@/components/Card' import {SimpleLayout} from '@/components/SimpleLayout' import {GitHubIcon} from '@/components/SocialIcons' import {SocialLink} from '@/components/SocialLink' import {GetStaticProps} from 'next' import {getPinnedRepos} from '@/lib/github' import type {Repo} from '@/types' export default function Projects({pinnedRepos}: { pinnedRepos: Repo[] }) { return ( <> Projects - Ryan Freeman ) } export const getStaticProps: GetStaticProps = async () => { const pinnedRepos = await getPinnedRepos() return { props: { pinnedRepos } } }