Skip to content

Commit fddb661

Browse files
committed
adding spacing
1 parent 60f2d6a commit fddb661

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

pages/blog/index.page.tsx

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -134,15 +134,12 @@ export default function StaticMarkdownPage({
134134
alt='hero image example'
135135
/>
136136
</div>
137-
<div className='absolute text-white w-full h-full mt-custom ml-14'>
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'>
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-
<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'>
142+
<div className='flex ml-2 gap-2 md:pb-3'>
146143
<div
147144
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'
148145
style={{
@@ -154,14 +151,18 @@ export default function StaticMarkdownPage({
154151
<p className='text-sm font-semibold text-stroke-1'>
155152
{recentBlog[0].frontmatter.authors[0].name}
156153
</p>
157-
<div className='mb-6 text-sm text-stroke-1'>
154+
<div className='mb-1 text-sm text-stroke-1'>
158155
<span>
159156
{recentBlog[0].frontmatter.date} &middot; {timeToRead}{' '}
160157
min read
161158
</span>
162159
</div>
163160
</div>
164161
</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+
165166
</Link>
166167
</div>
167168
</div>

0 commit comments

Comments
 (0)