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

View File

@ -1,5 +1,6 @@
import siteMetadata from '@/data/siteMetadata'
import SocialIcon from '@/components/social-icons'
import Image from '@/components/Image'
import { PageSeo } from '@/components/SEO'
export default function About() {
@ -18,7 +19,13 @@ export default function About() {
</div>
<div className="items-start space-y-2 xl:grid xl:grid-cols-3 xl:gap-x-8 xl:space-y-0">
<div className="flex flex-col items-center pt-8 space-x-2">
<img src={siteMetadata.image} alt="avatar" className="w-48 h-48 rounded-full" />
<Image
src={siteMetadata.image}
alt="avatar"
width="192px"
height="192px"
className="w-48 h-48 rounded-full"
/>
<h3 className="pt-4 pb-2 text-2xl font-bold leading-8 tracking-tight">
{siteMetadata.author}
</h3>