acmcsuf.com icon indicating copy to clipboard operation
acmcsuf.com copied to clipboard

Blog post preview component

Open mattulau opened this issue 2 years ago • 1 comments

Creating blog component

Fix #928 image

mattulau avatar Oct 12 '23 03:10 mattulau

Deploy Preview for acmcsuf ready!

Name Link
Latest commit e183902d1f16f3801ac77ab89e9e9b62967a8986
Latest deploy log https://app.netlify.com/sites/acmcsuf/deploys/67e0f9145bd1190008da1faf
Deploy Preview https://deploy-preview-935--acmcsuf.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] avatar Oct 12 '23 03:10 netlify[bot]

Refactor layout: rearranged events into 3-column grid, added hover effect & shadow to cards

image image

isliese avatar Mar 12 '25 03:03 isliese

Hi @isliese . It looks amazing! It seems to be responsive across all devices. Just a small note, we could change how many posts show per row on Tablet view. As seen below, it's not formatted as cleanly. We could display one post per row for mobile and tablet view. For example:

  • Display 1 post per row for screen sizes that are less than 850px
  • Display 2 posts per row for screen sizes that are between 851px and 1280px
  • Display 3 posts per row for screen sizes that are greater than 1280px

Feel free to test and see how to adjust based on screen size. Ultimately, we want to avoid having the posts appear long because there's a lot to display on the front or because there's not enough width to display the information cleanly. Screenshot 2025-03-23 164229

Pictures below show the difference I'm talking about. If posts appear as in the first picture, I suggest displaying less posts per row so the post can have a bigger width. Screenshot 2025-03-23 164708 Screenshot 2025-03-23 164721

26samaahmed avatar Mar 23 '25 23:03 26samaahmed

The previous version adjusted the number of posts per row dynamically based on screen size, reducing the number of posts per row as the screen width decreased. However, this approach did not account for device characteristics properly.

In this version, I have implemented the following layout adjustments: • Display 1 post per row for screen sizes less than 850px • Display 2 posts per row for screen sizes between 851px and 1280px • Display 3 posts per row for screen sizes greater than 1280px

Additionally, while addressing this issue, I also resolved problems such as posts being cut off on certain screen sizes.

Results:

Below is the image for iPhone 14 Pro Max: 스크린샷 2025-03-23 오후 10 56 02

Below is the image for iPad Pro: 스크린샷 2025-03-23 오후 11 01 10

Below is the image for MacBook Pro: 스크린샷 2025-03-23 오후 11 01 41

isliese avatar Mar 24 '25 06:03 isliese