Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Made the blog images and description uniform in height #1435

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions pages/blog/index.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -246,15 +246,17 @@

return (
<section key={blogPost.slug}>
<div className='h-[498px] flex border rounded-lg shadow-sm hover:shadow-lg transition-all overflow-hidden dark:border-slate-500'>
<div className='h-[510px] flex border rounded-lg shadow-sm hover:shadow-lg transition-all overflow-hidden dark:border-slate-500'>
<Link
href={`/blog/posts/${blogPost.slug}`}
className='inline-flex flex-col flex-1 w-full'
>
<div className=' h-max-[200px] w-full object-cover'>

Check failure on line 254 in pages/blog/index.page.tsx

View workflow job for this annotation

GitHub Actions / Code Quality Checks

Replace `↹↹↹` with `··················`
<div

Check failure on line 255 in pages/blog/index.page.tsx

View workflow job for this annotation

GitHub Actions / Code Quality Checks

Expected indentation of 24 spaces but found 22

Check failure on line 255 in pages/blog/index.page.tsx

View workflow job for this annotation

GitHub Actions / Code Quality Checks

Insert `··`
className='bg-slate-50 h-[160px] w-full self-stretch mr-3 bg-cover bg-center'

Check failure on line 256 in pages/blog/index.page.tsx

View workflow job for this annotation

GitHub Actions / Code Quality Checks

Insert `··`

Check failure on line 256 in pages/blog/index.page.tsx

View workflow job for this annotation

GitHub Actions / Code Quality Checks

Expected indentation of 26 spaces but found 24
style={{ backgroundImage: `url(${frontmatter.cover})` }}

Check failure on line 257 in pages/blog/index.page.tsx

View workflow job for this annotation

GitHub Actions / Code Quality Checks

Replace `························style={{·backgroundImage:·`url(${frontmatter.cover})`` with `··························style={{⏎····························backgroundImage:·`url(${frontmatter.cover})`,⏎·························`

Check failure on line 257 in pages/blog/index.page.tsx

View workflow job for this annotation

GitHub Actions / Code Quality Checks

Expected indentation of 26 spaces but found 24
/>

Check failure on line 258 in pages/blog/index.page.tsx

View workflow job for this annotation

GitHub Actions / Code Quality Checks

Insert `··`

Check failure on line 258 in pages/blog/index.page.tsx

View workflow job for this annotation

GitHub Actions / Code Quality Checks

Expected indentation of 24 spaces but found 22
</div>

Check failure on line 259 in pages/blog/index.page.tsx

View workflow job for this annotation

GitHub Actions / Code Quality Checks

Replace `↹↹↹` with `··················`
<div className=' p-4 flex flex-col flex-1 justify-between'>
<div>
<div>
Expand All @@ -277,7 +279,7 @@
{frontmatter.type || 'Unknown Type'}
</div>
</div>
<div className='text-lg font-semibold'>
<div className='text-lg h-[80px] font-semibold'>
{frontmatter.title}
</div>

Expand Down
Loading