next文字居中

This commit is contained in:
tangly
2022-11-08 12:37:04 +08:00
parent a2ed643d24
commit 3d2ebb5b94
2 changed files with 2 additions and 2 deletions

View File

@@ -12,7 +12,7 @@ const InfoCard = (props) => {
<img src={siteInfo?.icon} className='rounded-full' width={120}/>
</div>
<div className='text-2xl font-serif dark:text-white py-2 hover:scale-105 transform duration-200'>{BLOG.AUTHOR}</div>
<div className='font-light dark:text-white py-2 hover:scale-105 transform duration-200'>{BLOG.BIO}</div>
<div className='font-light dark:text-white py-2 hover:scale-105 transform duration-200 text-center'>{BLOG.BIO}</div>
<SocialButton/>
</div>
</>

View File

@@ -6,7 +6,7 @@ const Logo = props => {
return <Link href='/' passHref>
<div className={'flex flex-col justify-center items-center cursor-pointer bg-black space-y-3 font-bold ' + className}>
<div className='font-serif text-xl text-white'> {siteInfo?.title}</div>
<div className='text-sm text-gray-300 font-light'> {siteInfo?.description}</div>
<div className='text-sm text-gray-300 font-light text-center'> {siteInfo?.description}</div>
</div>
</Link>
}