Skip to content

Commit 610550e

Browse files
committed
Blog Card 样式微调
1 parent 2d3a3ac commit 610550e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

themes/proxio/components/Blog.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,16 @@ export const Blog = ({ posts }) => {
3333
return (
3434
<div key={index} className='w-full px-4'>
3535
<div
36-
className='wow fadeInUp group mb-10 relative overflow-hidden rounded-[10px]'
36+
className='wow fadeInUp group mb-10 relative overflow-hidden'
3737
data-wow-delay='.1s'>
3838
{/* 图片部分 */}
39-
<div className='relative'>
39+
<div className='relative rounded-xl border overflow-hidden shadow-md dark:border-gray-700 dark:bg-gray-800'>
4040
{item.pageCoverThumbnail && (
4141
<Link href={item?.href} className='block'>
4242
<LazyImage
4343
src={item.pageCoverThumbnail}
4444
alt={item.title}
45-
className='w-full h-80 object-cover transition-transform duration-500'
45+
className='w-full h-80 object-cover transition-transform duration-500 rounded-xl'
4646
/>
4747
</Link>
4848
)}
@@ -51,7 +51,7 @@ export const Blog = ({ posts }) => {
5151
</div>
5252
{/* 内容部分 */}
5353
<div className='relative z-10 p-4'>
54-
<span className='mb-6 inline-block rounded-[10px] bg-primary px-4 py-0.5 text-center text-xs font-medium leading-loose text-white'>
54+
<span className='mb-6 inline-block bg-primary px-4 py-0.5 text-center text-xs font-medium leading-loose text-white'>
5555
{item.publishDay}
5656
</span>
5757
<h3>

0 commit comments

Comments
 (0)