fix: navigate next13.x upgrade

This commit is contained in:
Cory Dransfeldt 2023-06-17 11:36:33 -07:00
parent f2029bf4a1
commit 5a7a14da50
No known key found for this signature in database
23 changed files with 7959 additions and 101 deletions

View file

@ -1,4 +1,4 @@
import Link from '@/components/Link'
import Link from 'next/link'
import PageTitle from '@/components/PageTitle'
import SectionContainer from '@/components/SectionContainer'
import { BlogSEO } from '@/components/SEO'
@ -45,7 +45,7 @@ export default function PostLayout({ frontMatter, next, prev, children }: Props)
style={{ gridTemplateRows: 'auto 1fr' }}
>
<div className="divide-y divide-gray-200 dark:divide-gray-700 xl:col-span-3 xl:row-span-2 xl:pb-0">
<div className="prose max-w-none pt-10 pb-8 dark:prose-dark">{children}</div>
<div className="prose max-w-none pb-8 pt-10 dark:prose-dark">{children}</div>
</div>
<Comments frontMatter={frontMatter} />
<footer>