File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -33,16 +33,16 @@ export const Blog = ({ posts }) => {
33
33
return (
34
34
< div key = { index } className = 'w-full px-4' >
35
35
< div
36
- className = 'wow fadeInUp group mb-10 relative overflow-hidden rounded-[10px] '
36
+ className = 'wow fadeInUp group mb-10 relative overflow-hidden'
37
37
data-wow-delay = '.1s' >
38
38
{ /* 图片部分 */ }
39
- < div className = 'relative' >
39
+ < div className = 'relative rounded-xl border overflow-hidden shadow-md dark:border-gray-700 dark:bg-gray-800 ' >
40
40
{ item . pageCoverThumbnail && (
41
41
< Link href = { item ?. href } className = 'block' >
42
42
< LazyImage
43
43
src = { item . pageCoverThumbnail }
44
44
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 '
46
46
/>
47
47
</ Link >
48
48
) }
@@ -51,7 +51,7 @@ export const Blog = ({ posts }) => {
51
51
</ div >
52
52
{ /* 内容部分 */ }
53
53
< 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' >
55
55
{ item . publishDay }
56
56
</ span >
57
57
< h3 >
You can’t perform that action at this time.
0 commit comments