refactor: use image component

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

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' }}>