refactor: use image component

This commit is contained in:
Timothy Lin committed 2021-06-25 11:02:33 +08:00
1 parent cbaade5c7e
commit 0f844ff636
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -1,5 +1,5 @@
import Image from 'next/image'
import Link from '@/components/Link'
import Image from './Image'
import Link from './Link'
const Card = ({ title, description, imgSrc, href }) => (
<div className="p-4 md:w-1/2 md" style={{ maxWidth: '544px' }}>