mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-09-15 05:25:33 -04:00
generate /projects page with ISR instead of calling the API on every single request (closes #715)
https://nextjs.org/docs/basic-features/data-fetching#incremental-static-regeneration
This commit is contained in:
@@ -71,7 +71,7 @@ const mdxComponents = {
|
||||
/>
|
||||
),
|
||||
gist: (props: { id: string; file?: string }) => <Gist {...props} />,
|
||||
octocat: (props) => (
|
||||
octocat: (props: { repo: string }) => (
|
||||
<a className="no-underline" href={`https://github.com/${props.repo}`} target="_blank" rel="noopener noreferrer">
|
||||
<MarkGithubIcon size={24} verticalAlign="text-top" />
|
||||
<style jsx>{`
|
||||
|
Reference in New Issue
Block a user