卡牌article-cover样式调整

This commit is contained in:
tangly1024
2022-02-28 17:46:31 +08:00
parent 6c91e68ff9
commit 9e3bcb75e5
3 changed files with 7 additions and 8 deletions

View File

@@ -45,10 +45,10 @@ const BlogPostCard = ({ post, showSummary }) => {
collection: Collection
}}
/>
<div className='article-cover pointer-events-none'>
<div className='pointer-events-none border-t pt-8 border-dashed'>
<div className='w-full justify-start flex'>
<Link href={`${BLOG.PATH}/article/${post.slug}`} passHref>
<a className='hover:bg-opacity-100 hover:scale-105 duration-200 pointer-events-auto transform text-red-500 cursor-pointer'>
<a className='hover:bg-opacity-100 hover:scale-105 duration-200 pointer-events-auto transform font-bold text-green-500 cursor-pointer'>
{locale.COMMON.ARTICLE_DETAIL}
<i className='ml-1 fas fa-angle-right'/></a>
@@ -58,7 +58,6 @@ const BlogPostCard = ({ post, showSummary }) => {
</div> }
</div>
<hr className='w-full'/>
</div>
)

View File

@@ -59,9 +59,9 @@ const BlogPostCard = ({ post, showSummary }) => {
/>
</div> }
<div className='article-cover pointer-events-none text-right'>
<div className='text-right border-t pt-8 border-dashed'>
<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'>
<a className='hover:bg-opacity-100 hover:underline transform duration-300 p-3 text-white bg-gray-800 dark:bg-black cursor-pointer'>
{locale.COMMON.ARTICLE_DETAIL}
<i className='ml-1 fas fa-angle-right' /></a>
</Link>

View File

@@ -3,7 +3,7 @@
*/
// export * from './Empty' // 空主题
// export * from './NEXT'
export * from './Fukasawa'
// export * from './Hexo'
export * from './NEXT'
// export * from './Fukasawa'
// export * from './Hexo'
// export * from './Medium'