图标大小
This commit is contained in:
tangly1024
2021-12-06 11:15:56 +08:00
parent 460f5fd262
commit 23f143bdd8
2 changed files with 6 additions and 6 deletions

View File

@@ -17,10 +17,10 @@ const BlogPostCard = ({ post, tags }) => {
</Link>
<div className='px-4 py-4 col-span-3'>
<div>
<div className='w-52'>
<Link href={`/category/${post.category}`} passHref>
<span className='cursor-pointer dark:text-gray-200 text-gray-400 text-sm py-1.5 mr-1 hover:underline hover:text-blue-500 transform'>
<FontAwesomeIcon icon={faFolder} className='mr-1' />{post.category}
<FontAwesomeIcon icon={faFolder} size='sm' className='mr-1 text-sm' />{post.category}
</span>
</Link>
<span className='mx-1 dark:text-gray-400'>|</span>

View File

@@ -10,16 +10,16 @@ const Footer = ({ fullWidth = true }) => {
<footer
className='bg-gray-800 dark:bg-black dark:border-gray-900 border-t flex-shrink-0 justify-center text-center m-auto w-full text-gray-400 text-sm p-6'
>
<FontAwesomeIcon icon={faCopyright} /> {` ${y}`} <span> <a href='https://www.tangly1024.com/article/about' className='underline font-bold text-gray-100'>tangly1024.com</a>. Powered by <a href='https://notion.so' className='underline font-bold text-gray-100'>Notion</a> & <a href='https://github.com/tangly1024/NotionNext' className='underline font-bold text-gray-100'>NotionNext</a>.</span>
<FontAwesomeIcon size='sm' className='text-sm' icon={faCopyright} /> {` ${y}`} <span> <a href='https://www.tangly1024.com/article/about' className='underline font-bold text-gray-100'>tangly1024.com</a>. Powered by <a href='https://notion.so' className='underline font-bold text-gray-100'>Notion</a> & <a href='https://github.com/tangly1024/NotionNext' className='underline font-bold text-gray-100'>NotionNext</a>.</span>
<br />
<FontAwesomeIcon icon={faShieldAlt} /> <a href='https://beian.miit.gov.cn/' className='ml-1 font-bold'>闽ICP备20010331号</a>
<FontAwesomeIcon size='sm' className='text-sm' icon={faShieldAlt} /> <a href='https://beian.miit.gov.cn/' className='ml-1 font-bold'>闽ICP备20010331号</a>
<span > <Link href='/article/privacy-policy' ><a className='ml-1 font-bold underline'>隐私政策</a></Link></span>
<span id='busuanzi_container_site_pv' className='hidden'>
<FontAwesomeIcon icon={faEye}/><span id='busuanzi_value_site_pv' className='px-1'> </span>pv
<FontAwesomeIcon size='sm' className='text-sm' icon={faEye}/><span id='busuanzi_value_site_pv' className='px-1'> </span>pv
</span>
<span id='busuanzi_container_site_uv' className='pl-2 hidden'>
<FontAwesomeIcon icon={faUser}/> <span id='busuanzi_value_site_uv' className='px-1'> </span>uv </span>
<FontAwesomeIcon size='sm' className='text-sm' icon={faUser}/> <span id='busuanzi_value_site_uv' className='px-1'> </span>uv </span>
</footer>
)
}