Skip to content

Commit 5fa2dad

Browse files
committed
Revert "adding spacing"
This reverts commit fddb661.
1 parent 32cfcab commit 5fa2dad

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

pages/blog/index.page.tsx

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -134,12 +134,15 @@ export default function StaticMarkdownPage({
134134
alt='hero image example'
135135
/>
136136
</div>
137-
<div className='absolute text-white w-full h-full mt-7 ml-14 md:mt-custom md:ml-20 lg:mt-15 lg:ml-20'>
137+
<div className='absolute text-white w-full h-full mt-custom ml-14'>
138138
<div className='bg-blue-100 hover:bg-blue-200 font-semibold text-blue-800 inline-block px-3 py-1 rounded-full my-3 text-sm '>
139139
{recentBlog[0].frontmatter.type}
140140
</div>
141141
<Link href={`/blog/posts/${recentBlog[0].slug}`}>
142-
<div className='flex ml-2 gap-2 md:pb-3'>
142+
<h1 className='text-h1mobile ab1:text-h1 sm:text-h2 font-semibold text-stroke-1 mr-6 dark:slate-300'>
143+
{recentBlog[0].frontmatter.title}
144+
</h1>
145+
<div className='flex ml-2 mb-2 gap-2'>
143146
<div
144147
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'
145148
style={{
@@ -151,18 +154,14 @@ export default function StaticMarkdownPage({
151154
<p className='text-sm font-semibold text-stroke-1'>
152155
{recentBlog[0].frontmatter.authors[0].name}
153156
</p>
154-
<div className='mb-1 text-sm text-stroke-1'>
157+
<div className='mb-6 text-sm text-stroke-1'>
155158
<span>
156159
{recentBlog[0].frontmatter.date} &middot; {timeToRead}{' '}
157160
min read
158161
</span>
159162
</div>
160163
</div>
161164
</div>
162-
<h1 className='text-h1mobile ab1:text-h1 sm:text-h2 font-semibold text-stroke-1 mr-6 dark:slate-300'>
163-
{recentBlog[0].frontmatter.title}
164-
</h1>
165-
166165
</Link>
167166
</div>
168167
</div>

0 commit comments

Comments
 (0)