mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-18 15:09:34 +00:00
卡牌article-cover样式调整
This commit is contained in:
@@ -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>
|
||||
|
||||
)
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user