Skip to content

Commit f081829

Browse files
committed
Resolved merge conflict
2 parents bbcffe8 + 60f2d6a commit f081829

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

pages/blog/index.page.tsx

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ export default function StaticMarkdownPage({
130130
src={recentBlog[0].frontmatter.cover}
131131
width={800}
132132
height={450}
133-
className='object-cover w-full h-full opacity-70'
133+
className='object-cover w-full h-full opacity-70 blur-[5px]'
134134
alt='hero image example'
135135
/>
136136
</div>
@@ -142,7 +142,7 @@ export default function StaticMarkdownPage({
142142
<h1 className='text-h1mobile ab1:text-h1 sm:text-h2 font-semibold text-stroke-1 mr-6 dark:slate-300'>
143143
{recentBlog[0].frontmatter.title}
144144
</h1>
145-
<div className='flex ml-2 mb-2 '>
145+
<div className='flex ml-2 mb-2 gap-2'>
146146
<div
147147
className='bg-slate-50 h-10 w-10 lg:h-[44px] lg:w-[44px] rounded-full -ml-3 bg-cover bg-center border-2 border-white'
148148
style={{
@@ -246,7 +246,10 @@ export default function StaticMarkdownPage({
246246
return (
247247
<section key={blogPost.slug}>
248248
<div className='h-[520px] flex border rounded-lg shadow-sm hover:shadow-xl transition-all duration-300 overflow-hidden dark:border-slate-500 group relative'>
249-
<div className='inline-flex flex-col flex-1 w-full'>
249+
<Link
250+
href={`/blog/posts/${blogPost.slug}`}
251+
className='inline-flex flex-col flex-1 w-full'
252+
>
250253
<div className='relative w-full h-[240px] overflow-hidden'>
251254
<Image
252255
src={frontmatter.cover}
@@ -355,7 +358,7 @@ export default function StaticMarkdownPage({
355358
</Link>
356359
</div>
357360
</div>
358-
</div>
361+
</Link>
359362
</div>
360363
</section>
361364
);

0 commit comments

Comments
 (0)