chore: sync with master v0.4.0

This commit is contained in:
Timothy Lin
2021-06-24 00:02:00 +08:00
12 changed files with 2041 additions and 1206 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,5 +1,5 @@
import { MDXRemote } from 'next-mdx-remote'
import Image from 'next/image'
import Image from './Image'
import CustomLink from './Link'
import Pre from './Pre'