文章详情按钮

This commit is contained in:
tangly1024
2022-02-18 11:15:13 +08:00
parent 386126c77c
commit 6ff655f689
2 changed files with 6 additions and 7 deletions

View File

@@ -59,9 +59,9 @@ const BlogPostCard = ({ post, showSummary }) => {
/>
</div> }
<div className='article-cover pointer-events-none'>
<Link href={`${BLOG.PATH}/article/${post.slug}`} passHref>
<a className='hover:bg-opacity-100 hover:scale-105 pointer-events-auto transform duration-300 rounded-md p-2 text-red-500 cursor-pointer'>
<div className='article-cover pointer-events-none text-right'>
<Link href={`${BLOG.PATH}/article/${post.slug}`}>
<a className='hover:bg-opacity-100 hover:scale-105 hover:underline pointer-events-auto transform duration-300 p-3 text-white bg-gray-800 cursor-pointer'>
{locale.COMMON.ARTICLE_DETAIL}
<FontAwesomeIcon className='ml-1' icon={faAngleRight} /></a>
</Link>