Skip to content

Fixed PostCard & HeroPost Layout Consistency in Blog Website #110

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ayushman31
Copy link

Consistent Sizing for PostCard and HeroPost Components

Summary

This pull request addresses inconsistent sizing and alignment issues in the PostCard and HeroPost components by enforcing fixed dimensions and uniform spacing. It ensures a cleaner and more professional UI across all devices.

Fixes

Changes Made

Layout Enhancements

  • Fixed Dimensions: All PostCard and HeroPost components now have a consistent width and height, regardless of the image dimensions.
  • Content Spacing: Ensured titles, excerpts, author, and date are evenly spaced and aligned across cards.
  • Mobile Responsive: Verified and adjusted responsive behavior to ensure the layout remains clean on smaller screens.

Code Improvements

  • Flex/Grid Usage: Refactored layouts using utility-first CSS (flex/grid) for better maintainability and alignment.
  • Style Consistency: Improved visual coherence between components used side-by-side or in grid layouts.

Screenshots

2025-04-16.15-42-12.mp4

Notes

  • The changes have been thoroughly tested across screen sizes and align with the acceptance criteria mentioned in the issue.
  • Please review the component structure and layout behavior for any further refinements.

PR for this issue

Thankyou. 😊

Signed-off-by: Ayushman Singh <ayushmans012@gmail.com>
Copy link

keploy bot commented Apr 16, 2025

Nice Pr 😄. We currently support Unit Test Generation only for Go projects.
Stay tuned – support for more languages is coming soon! 🚀

Copy link

Nice Pr 😄. We currently support Unit Test Generation only for Go projects.
Stay tuned – support for more languages is coming soon! 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant