import {ShareIcon} from '@/components/icons/ShareIcon' import {SparklesIcon} from '@/components/icons/SparklesIcon' import {SimpleLayout} from '@/components/layouts/SimpleLayout' import {Card} from '@/components/ui/Card' import {getPinnedRepos} from '@/lib/github' import {numberFormat} from '@/lib/numberFormat' import {metadata as _metadata} from '@/lib/generateMetadata' import React from 'react' const meta = { title: 'Projects', heading: 'Things I\'ve made and projects I\'ve worked on.', description: 'Here\'s a selection of academic and personal projects that I have worked on. Many of them are open-source, so if you see something that piques your interest, check out the code and contribute if you have ideas for how it can be improved.', type: 'website', alternates: { canonical: '/projects' } } export let metadata: { [p: string]: string | Object heading: string description: string title: string type: string openGraph: { images: string | Object description: string title: string type: string } } metadata = _metadata({...meta, heading: meta.heading}) export const revalidate = 0 export default async function Projects() { const pinnedRepos = (await getPinnedRepos()).sort((a, b) => b.stargazerCount - a.stargazerCount) return ( ) }