chore: update to next 11 and tailwind 2.2

This commit is contained in:
Timothy Lin
2021-06-23 18:32:29 +08:00
parent 1bfd8c0da4
commit c479867650
9 changed files with 2012 additions and 11789 deletions

6
components/Image.js Normal file
View File

@ -0,0 +1,6 @@
import NextImage from 'next/image'
// eslint-disable-next-line jsx-a11y/alt-text
const Image = ({ ...rest }) => <NextImage {...rest} />
export default Image

View File

@ -1,4 +1,4 @@
import Image from 'next/image'
import Image from './Image'
import CustomLink from './Link'
const MDXComponents = {